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

[linker] Remove C#8 Nullable attributes #4056

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

radekdoulik
Copy link
Member

Implements #3911
Context: https://github.com/dotnet/roslyn/blob/7bc44488c661fd6bbb6c53f39512a6fe0cc5ef84/docs/features/nullable-metadata.md

C#8 non-null reference uses custom attributes to let compiler know
more information related to non-null reference.

These shouldn't be needed when running on device, as the C# language
feature doesn't require modifications to the runtime. Thus it should
be safe to remove them.

Implements dotnet#3911
Context: https://github.com/dotnet/roslyn/blob/7bc44488c661fd6bbb6c53f39512a6fe0cc5ef84/docs/features/nullable-metadata.md

C#8 non-null reference uses custom attributes to let compiler know
more information related to non-null reference.

These shouldn't be needed when running on device, as the C# language
feature doesn't require modifications to the runtime. Thus it should
be safe to remove them.
@radekdoulik radekdoulik requested a review from jonpryor December 19, 2019 13:15
@jonpryor jonpryor merged commit 7ff7cb8 into dotnet:master Dec 20, 2019
jonpryor pushed a commit that referenced this pull request Jan 6, 2020
Fixes: #3911
Context: https://github.com/dotnet/roslyn/blob/7bc44488c661fd6bbb6c53f39512a6fe0cc5ef84/docs/features/nullable-metadata.md

C#8 [nullable reference types][0] use custom attributes to inform the
compiler about nullability information in the assembly.

These custom attributes shouldn't be needed when running on device,
as the C# language feature doesn't require modifications to the
runtime. Thus it should be safe to remove them.

[0]: https://docs.microsoft.com/en-us/dotnet/csharp/nullable-references
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants