You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)).
ericstj
changed the title
[API Compat] Add rule to make sure nullable annotations match
[API Compat] Add rule to make sure nullable annotations are compatible
Sep 22, 2023
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
The text was updated successfully, but these errors were encountered: