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
If an implementation of an interface member has UnsupportedOSPlatform, while the interface member itself doesn't, this should be a warning. For example:
It's possible that different implementations have different constraints so we may have different expectations but it might still be a good option for users.
Analyzer
Diagnostic ID: CA1416:
Validate platform compatibility
Describe the bug
If an implementation of an interface member has
UnsupportedOSPlatform
, while the interface member itself doesn't, this should be a warning. For example:Because, MyProperty can still be accessed via the interface without a warning, masking an issue.
The text was updated successfully, but these errors were encountered: