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
As a note when this is addressed: the fix is not simply to add an await. The existing syntax would have to properly handle the null case in order to avoid a NRE:
Bug description
If the async method is called using null-conditional member access, no warning (neither VSTHRD110 nor CS4014) is raised.
Repro steps
Expected behavior
VSTHRD110 raised on all three lines in
Foo
methodActual behavior
VSTHRD110 raised on first two lines in
Foo
method only, not onmayBeNull?.DoStuffAsync()
The text was updated successfully, but these errors were encountered: