Skip to content

Annotate core symbol types#39185

Merged
sharwell merged 1 commit intodotnet:masterfrom
sharwell:symbol-annotations-3
Oct 11, 2019
Merged

Annotate core symbol types#39185
sharwell merged 1 commit intodotnet:masterfrom
sharwell:symbol-annotations-3

Conversation

@sharwell
Copy link
Contributor

No description provided.

@sharwell sharwell requested review from a team as code owners October 10, 2019 00:31
@333fred
Copy link
Member

333fred commented Oct 10, 2019

Done review pass (commit 1)

{
#pragma warning disable CS8717 // A member returning a [MaybeNull] value introduces a null value when 'T' is a non-nullable reference type.
TryDecodeValue(specialType, out T value);
#pragma warning restore CS8717 // A member returning a [MaybeNull] value introduces a null value when 'T' is a non-nullable reference type.
Copy link
Member

Choose a reason for hiding this comment

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

What motivates the usage of pragma warning disable versus !?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both approaches have merits. This one was chosen as a means to highlight the negative impact this warning is having on the overall NRT development experience.

@sharwell sharwell merged commit 077df2a into dotnet:master Oct 11, 2019
@sharwell sharwell deleted the symbol-annotations-3 branch October 11, 2019 17:40
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.

4 participants