[asyncreview] - Applied legacy thread switching methods replacement rule
[asyncreview] - Applied legacy thread switching methods replacement rule

Since the existence of JoinableTaskFactory, all the legacy thread switching calls like ThreadHelper.Invoke or Dispatcher.Invoke should be replaced by JoinableTaskFactory.SwitchToMainThreadAsync

More details on this threading analyzer rule: https://github.com/Microsoft/vs-threading/blob/master/doc/analyzers/VSTHRD001.md

tondat/clide,tondat/clide,clariuslabs/clide,clariuslabs/clide,tondat/clide,clariuslabs/clide