Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After I have used
IsNotNull
to assert that a variable is notnull
, I still have to treat it as if it could benull
later on in the test:The use of
?.
here feels unnecessary. Could it be annotated somehow? Or is it possible to use Roslyn analyzers to affect nullability checks?Beta Was this translation helpful? Give feedback.
All reactions