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
CSC : warning AD0001: Analyzer 'Microsoft.VisualStudio.Threading.Analyzers.VSTHRD002UseJtfRunAnalyzer'
threw an exception of type 'System.Exception' with message 'Analyzer failure while processing syntax at [...]:
System.InvalidCastException Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax'
to type 'Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax'.. Syntax: Task.WhenAll(task).Result'.
Bug description
VSTHRD002UseJtfRunAnalyzer throws for the following code:
The exception is:
Repro steps
Code to reproduce the behavior.
Expected behavior
The analyzer should not throw.
Actual behavior
The analyzer throws an exception.
Additional context
N/A
The text was updated successfully, but these errors were encountered: