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
The VSTHRD010 analyzer will misfire on ShowToolWindow in the sample below when adding the call to the async method that switches itself to the main thread:
privatevoidShowToolWindow(objectsender,EventArgse){ThreadHelper.JoinableTaskFactory.RunAsync(asyncdelegate{awaitFooAsync();// this line is what adds the VSTHRD010 diagnostic});}privateasyncTaskFooAsync(){awaitThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();}
This would be a regression from #220 which merged into master and even 9869911 which merged the same into v15.7
The text was updated successfully, but these errors were encountered:
The VSTHRD010 analyzer will misfire on
ShowToolWindow
in the sample below when adding the call to the async method that switches itself to the main thread:This would be a regression from #220 which merged into master and even 9869911 which merged the same into v15.7
The text was updated successfully, but these errors were encountered: