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

Remove AttributeTargets.Module from NullableContextAttribute #37610

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

cston
Copy link
Member

@cston cston commented Jul 31, 2019

The C# compiler does not support module-level NullableContextAttribute. This change updates the spec-let and the AttributeTargets on the embedded attribute definition to reflect that.

@cston cston requested a review from a team as a code owner July 31, 2019 04:29
@cston cston added this to the 16.4 milestone Jul 31, 2019
@roji
Copy link
Member

roji commented Jul 31, 2019

/cc @rynowak

@cston
Copy link
Member Author

cston commented Jul 31, 2019

@dotnet/roslyn-compiler, please review minor changes to the metadata spec-let and the synthesized attribute definition to match the implementation.

@cston cston merged commit 0a24561 into dotnet:release/dev16.4-preview1 Jul 31, 2019
@cston cston deleted the no-module-attribute branch July 31, 2019 17:14
roji added a commit to dotnet/efcore that referenced this pull request Jul 31, 2019
As per dotnet/roslyn#37610, the compiler will
no longer emit nullability context attributes at the module level,
only at the type and method level.

Simplify our non-nullability detection convention.

Part of #16440
roji added a commit to roji/efcore that referenced this pull request Aug 1, 2019
As per dotnet/roslyn#37610, the compiler will
no longer emit nullability context attributes at the module level,
only at the type and method level.

Simplify our non-nullability detection convention.

Part of dotnet#16440
roji added a commit to roji/roslyn that referenced this pull request Aug 6, 2019
roji added a commit to dotnet/efcore that referenced this pull request Aug 6, 2019
As per dotnet/roslyn#37610, the compiler will
no longer emit nullability context attributes at the module level,
only at the type and method level.

Simplify our non-nullability detection convention.

Part of #16440
roji added a commit to dotnet/efcore that referenced this pull request Aug 7, 2019
As per dotnet/roslyn#37610, the compiler will
no longer emit nullability context attributes at the module level,
only at the type and method level.

Simplify our non-nullability detection convention.

Part of #16440
@jcouv jcouv modified the milestones: 16.4, 16.4.P1 Sep 6, 2019
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.

5 participants