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

[API Compat] Add rule to make sure nullable annotations are compatible #18681

Open
Tracked by #23910
safern opened this issue Jul 1, 2021 · 1 comment
Open
Tracked by #23910

Comments

@safern
Copy link
Member

safern commented Jul 1, 2021

This rule should make sure that nullable annotations match in between the implementation and the contract.

Also, when not running on strict mode, this rule should allow differences in nullable annotations that are not breaking, for example, relaxing a nullable reference type annotation on an in parameter (i.e public string Foo(string a) -> public string Foo(string? a)).

cc: @ericstj @Anipik

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Jul 1, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants