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
Is your feature request related to a problem? Please describe.
The following code should produce a warning. Currently Roslyn is using discards in a few places to address CS4014 prior to updating the code to enforce VSTHRD110 (a more strict analyzer with the same intent). We should ensure that VSTHRD110 is reported for this scenario.
asyncTaskMethod(){_=Task.Run(()=>3);// VSTHRD110: Observe result of async calls}
The text was updated successfully, but these errors were encountered:
As that is a common way for folks to suppress the warning when they really don't want it tracked, I'm not sure why we want to defeat it. We offer a .Forget() extension method for this purpose as well.
Is your feature request related to a problem? Please describe.
The following code should produce a warning. Currently Roslyn is using discards in a few places to address CS4014 prior to updating the code to enforce VSTHRD110 (a more strict analyzer with the same intent). We should ensure that VSTHRD110 is reported for this scenario.
The text was updated successfully, but these errors were encountered: