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 string ctor to MemberNotNull #33864

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Mar 20, 2020

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

@jcouv
Copy link
Member

jcouv commented Mar 20, 2020

Let’s vet with LDM. We’ll need a compiler change to recognize these new constructors.

@dotnet dotnet deleted a comment from Dotnet-GitSync-Bot Mar 20, 2020
@stephentoub stephentoub added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 20, 2020
@stephentoub stephentoub reopened this Mar 21, 2020
@jcouv
Copy link
Member

jcouv commented Mar 24, 2020

Corresponding compiler change: dotnet/roslyn#42712

Copy link
Member

@jcouv jcouv left a 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)

@stephentoub stephentoub removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 25, 2020
With only the params string[] ctor, every usage of MemberNotNull{When} in a CLSCompliant(true) assembly needs to have its warning suppressed.
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks

@stephentoub stephentoub merged commit 1926a3c into dotnet:master Mar 26, 2020
@stephentoub stephentoub deleted the membernotnullctor branch March 26, 2020 00:31
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants