Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add not null example #23735

Merged
merged 4 commits into from Apr 13, 2021
Merged

Add not null example #23735

merged 4 commits into from Apr 13, 2021

Conversation

BillWagner
Copy link
Member

See dotnet/csharplang#4623 (reply in thread)

This is a better example.

Use new example in the text. It's a more common scenario.
…ributes.cs

Co-authored-by: Youssef Victor <youssefvictor00@gmail.com>
#nullable disable
public class NullableOblivious
{
// <TryGetExample>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had no idea this was an allowable way of doing code snippets. I'd always used regions.

@BillWagner BillWagner merged commit d71c7df into dotnet:main Apr 13, 2021
@BillWagner BillWagner deleted the add-NotNull-example branch April 13, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants