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
{{ message }}
Repository navigation
VSTHRD010 for callers of method that switches to main thread #993
Thank you for reporting. Looking at the report, I agree no warning should be produced here.
Until this is fixed (and we'd welcome a PR that includes a new test), you might be able to work around it by moving the content of your JTF.Run into its own async method. Then call that async method as the only step inside your JTF.Run.
Activity
AArnott commentedon Mar 9, 2022
Thank you for reporting. Looking at the report, I agree no warning should be produced here.
Until this is fixed (and we'd welcome a PR that includes a new test), you might be able to work around it by moving the content of your JTF.Run into its own async method. Then call that async method as the only step inside your JTF.Run.