-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 string ctor to MemberNotNull #33864
Conversation
Let’s vet with LDM. We’ll need a compiler change to recognize these new constructors. |
98c3de7
to
b933f39
Compare
Corresponding compiler change: dotnet/roslyn#42712 |
src/libraries/System.Private.CoreLib/src/System/Diagnostics/CodeAnalysis/NullableAttributes.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with review pass (iteration 1)
b933f39
to
a57bbd0
Compare
With only the params string[] ctor, every usage of MemberNotNull{When} in a CLSCompliant(true) assembly needs to have its warning suppressed.
a57bbd0
to
8b971d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks
With only the params string[] ctor, every usage of MemberNotNull in a CLSCompliant(true) assembly needs to have its warning suppressed.
cc: @jcouv, @terrajobst
Relates to dotnet/roslyn#41438