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
Diagnostic Id:
IDE0370: Suppression is unnecessary
Expected Behavior:
No diagnostic should be produced, as null assigned to not nullable property.
Actual Behavior:
False positive IDE0370. When proposed fix applied, it result in "CS8625: Cannot convert null literal to non-nullable reference type." warning.
No diagnostic, if constructor removed/commented.
Version Used:
Locally: SDK 10.0.101
lab.razor.fyi: 5.0.0 and 5.3.0-2.25619.2
Steps to Reproduce:
https://lab.razor.fyi/#42pi5OIKKMpPL0rM1UsuFipJzkksLlZw5uWq5uVSUFBQKChNyslMVnDW0FSoVqhFESsuKcrMS1cIVqhWSE8tsVYoBhG1CrYKeaU5OYrWCvr6ni6uBsbmBlYKwaUFBUWpxcWZ-XkKmcUKpXl5qcmpxcWJRZUKvFy1XmypRUX5RcVRnBxvfpw5-SFNgCWBsYIRAA
20260103-1611-05.8100910.mp4
IDE0370 on
!sign.Diagnostic Id:
IDE0370: Suppression is unnecessary
Expected Behavior:
No diagnostic should be produced, as
nullassigned to not nullable property.Actual Behavior:
False positive IDE0370. When proposed fix applied, it result in "CS8625: Cannot convert null literal to non-nullable reference type." warning.
No diagnostic, if constructor removed/commented.