Skip to content

Test turning on analyzer VSTHRD103 in runtime - #48540

Closed
carlossanlop wants to merge 5 commits into
dotnet:masterfrom
carlossanlop:vsthrd103
Closed

carlossanlop wants to merge 5 commits into
dotnet:masterfrom
carlossanlop:vsthrd103

Conversation

@carlossanlop

Copy link
Copy Markdown
Contributor

Do not merge.

The objective of this draft PR is to show the output of turning on the existing VSTHRD103 analyzer in the dotnet/runtime repo, as requested in this comment.

The analyzer was reviewed in the API Proposal meeting, and we determined that we want to see how noisy it would be in our repo, so we can decide what severity to assign to it once we move the code to the dotnet/roslyn-analyzers repo.

In my local machine, it proved to be very noisy:

Result: 259 Errors
D:\runtime> .\build.cmd clr+libs -rc release

...

Build FAILED.

D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(289,46): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(440,29): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(488,40): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(625,23): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(307,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(342,91): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(228,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(634,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(747,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(837,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextReader.cs(256,41): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextReader.cs(290,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(110,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(88,29): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(143,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(132,29): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs(126,46): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(162,85): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(168,131): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(177,86): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(918,36): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(435,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(458,131): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(320,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(269,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(350,44): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(490,100): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(931,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs(156,50): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(582,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(704,19): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(738,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(766,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(802,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(824,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(951,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1057,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(1086,19): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Win32.cs(48,29): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1545,26): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(1288,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs(127,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs(387,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs(393,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilder.cs(84,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs(161,32): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs(658,57): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Progress.cs(73,41): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs(422,73): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(41,32): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(62,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(54,42): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1366,88): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(283,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(312,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(352,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(256,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(377,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(406,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(437,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(479,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCache.cs(27,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(184,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(176,28): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(329,34): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(321,24): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(321,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1133,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1223,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(341,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(628,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(751,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(424,33): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(428,33): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(557,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(583,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(547,24): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(611,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(12,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(644,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(687,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(31,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(694,23): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(744,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(771,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(800,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(834,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(878,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(885,23): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(938,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(276,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(301,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(329,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(967,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(368,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(997,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(393,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1039,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(422,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1092,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(452,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(493,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1099,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1152,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1182,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs(565,38): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1214,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1258,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(868,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1313,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1320,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(552,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(993,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(571,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(578,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1126,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1190,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1322,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1348,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1376,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1410,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1454,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1479,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1508,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1544,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(120,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(126,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs(197,22): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(132,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1590,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(138,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(144,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(173,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(184,26): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6677,22): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6714,45): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6714,73): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(520,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(551,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6759,91): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(583,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(626,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(654,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(687,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(721,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(766,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1596,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1666,41): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1697,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1726,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1760,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1804,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1829,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs(642,30): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(191,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1859,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1895,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1601,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1941,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1969,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2002,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2040,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2088,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2118,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2151,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1645,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2191,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1716,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2241,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1744,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1778,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2336,36): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1822,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1847,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1884,30): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1896,35): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1876,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1912,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1958,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2417,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2445,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1968,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2479,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2523,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2552,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2584,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(2020,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2622,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2670,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2699,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2731,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2771,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2821,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2847,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2876,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2912,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2958,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3397,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3422,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3449,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3482,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3525,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3532,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3581,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3607,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3635,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3669,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3713,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3720,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3772,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3801,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3831,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3867,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3913,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3972,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3920,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4002,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4033,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4070,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4117,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4124,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5052,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5110,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5124,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5063,24): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5137,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5099,28): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5023,53): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5027,77): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5148,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5158,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5172,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5194,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5212,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5226,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5244,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5259,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5277,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5306,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5322,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5356,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5375,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5397,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5416,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5427,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5543,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5604,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5626,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5781,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5845,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5866,40): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6007,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6050,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6151,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6207,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6237,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6258,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6273,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6342,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
  0 Warning(s)
  259 Error(s)

@ghost

ghost commented Feb 20, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

Do not merge.

The objective of this draft PR is to show the output of turning on the existing VSTHRD103 analyzer in the dotnet/runtime repo, as requested in this comment.

The analyzer was reviewed in the API Proposal meeting, and we determined that we want to see how noisy it would be in our repo, so we can decide what severity to assign to it once we move the code to the dotnet/roslyn-analyzers repo.

In my local machine, it proved to be very noisy:

Result: 259 Errors
D:\runtime> .\build.cmd clr+libs -rc release

...

Build FAILED.

D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(289,46): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(440,29): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(488,40): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs(625,23): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(307,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(342,91): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(228,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(634,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(747,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(837,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextReader.cs(256,41): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextReader.cs(290,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(110,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(88,29): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(143,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(132,29): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs(126,46): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(162,85): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(168,131): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs(177,86): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(918,36): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(435,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(458,131): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(320,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(269,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(350,44): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(490,100): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(931,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs(156,50): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(582,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(704,19): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(738,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(766,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(802,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(824,28): error VSTHRD114: Avoid returning null from a Task-returning method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(951,27): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1057,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(1086,19): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Win32.cs(48,29): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1545,26): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(1288,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs(127,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs(387,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs(393,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilder.cs(84,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs(161,32): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs(658,57): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Progress.cs(73,41): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs(422,73): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(41,32): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(62,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToApm.cs(54,42): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1366,88): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(283,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(312,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(352,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(256,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(377,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(406,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(437,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(479,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCache.cs(27,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(184,38): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(176,28): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(329,34): error VSTHRD110: Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs(321,24): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(321,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1133,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1223,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(341,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(628,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(751,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(424,33): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(428,33): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(557,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(583,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs(547,24): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(611,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(12,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(644,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(687,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(31,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(694,23): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(744,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(771,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(800,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(834,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(878,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(885,23): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(938,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(276,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(301,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(329,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(967,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(368,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(997,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(393,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1039,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(422,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1092,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(452,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(493,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1099,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1152,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1182,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs(565,38): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1214,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1258,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(868,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1313,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(1320,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(552,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(993,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(571,35): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(578,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1126,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1190,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1322,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1348,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1376,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1410,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1454,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1479,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1508,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1544,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(120,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(126,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs(197,22): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(132,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1590,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(138,33): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(144,42): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(173,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(184,26): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6677,22): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6714,45): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6714,73): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(520,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(551,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6759,91): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(583,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(626,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(654,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(687,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(721,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(766,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1596,38): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1666,41): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1697,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1726,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1760,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1804,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1829,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs(642,30): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs(191,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1859,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1895,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1601,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1941,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(1969,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2002,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2040,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2088,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2118,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2151,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1645,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2191,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1716,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2241,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1744,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1778,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2336,36): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1822,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1847,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1884,30): error VSTHRD200: Avoid "Async" suffix in names of methods that do not return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1896,35): error VSTHRD001: Await JoinableTaskFactory.SwitchToMainThreadAsync() to switch to the UI thread instead of APIs that can deadlock or require specifying a priority. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1876,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1912,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1958,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2417,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2445,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(1968,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2479,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2523,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2552,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2584,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs(2020,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2622,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2670,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2699,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2731,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2771,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2821,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2847,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2876,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2912,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs(2958,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3397,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3422,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3449,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3482,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3525,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3532,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3581,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3607,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3635,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3669,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3713,21): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3720,22): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3772,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3801,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3831,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3867,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3913,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3972,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(3920,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4002,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4033,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4070,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4117,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4124,31): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5052,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5110,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5124,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5063,24): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5137,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5099,28): error VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to deadlocks. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5023,53): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5027,77): error VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5148,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5158,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5172,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5194,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5212,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5226,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5244,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5259,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5277,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5306,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5322,37): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5356,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5375,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5397,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5416,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5427,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5543,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5604,28): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5626,29): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5781,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5845,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(5866,40): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6007,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6050,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6151,34): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6207,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6237,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6258,43): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6273,39): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(6342,30): error VSTHRD200: Use "Async" suffix in names of methods that return an awaitable type. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
  0 Warning(s)
  259 Error(s)

Author: carlossanlop
Assignees: carlossanlop
Labels:

area-Infrastructure-libraries

Milestone: -

@terrajobst

terrajobst commented Feb 20, 2021 •

Copy link
Copy Markdown
Contributor

Have you spot checked the violations? Are these false positives or are they potential opportunities for improvement in the runtime repo?

Comment thread eng/CodeAnalysis.ruleset Outdated
@@ -1,4 +1,7 @@
<RuleSet Name="Microsoft.Analyzers.ManagedCodeAnalysis" Description="Microsoft.Analyzers.ManagedCodeAnalysis" ToolsVersion="14.0">
<Rules AnalyzerId="Microsoft.VisualStudio.Threading.Analyzers" RuleNamespace="Microsoft.VisualStudio.Threading.Analyzers">
<Rule Id="VSTHRD103" Action="None" />

@stephentoub stephentoub Feb 20, 2021 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't turning on VSTHRD103... it's using the default levels for all the rules in this library but explicitly turning off VSTHRD103. So all the results you posted are for all the other rules and not VSTHRD103.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I got it backwards. Thanks for noticing.

@jkotas

jkotas commented Feb 20, 2021

Copy link
Copy Markdown
Member

259 Errors

All these errors are from CoreLib. It looks like the build just failed early and nothing in libraries got built. If you suppress these errors, I expect there will be many thousands more of these errors in the rest of libraries.

Are any of these errors actual bugs, or are all of them just noise?

@carlossanlop

carlossanlop commented Feb 20, 2021 •

Copy link
Copy Markdown
Contributor Author

My bad, Stephen pointed out that I didn't turn them on correctly.

I disabled all the other VS analyzers and turned on VSTHRD103 as warning. Built again locally and here is the output for clr:

Result: 10 errors
Build FAILED.

D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(77,116): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs(441,40): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(587,32): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(444,36): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(395,40): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(519,28): error VSTHRD103: Write synchronously blocks. Await WriteAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(796,57): error VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1455,33): error VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(24,22): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(43,22): error VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
    0 Warning(s)
    10 Error(s)

I have to fix the CLR ones so I can get Libraries results.

@stephentoub

Copy link
Copy Markdown
Member

You should be able to change the build in your PR to use -warnaserror 0.

@carlossanlop

Copy link
Copy Markdown
Contributor Author

Thanks. I'm building with that argument now.

I noticed the fixer does not work, it crashes. Something to keep in mind when porting it to roslyn-analyzers.

I also noticed there are cases that we will probably have to ignore, like those from Future.cs or TaskExtensions.cs.

@stephentoub

stephentoub commented Feb 20, 2021 •

Copy link
Copy Markdown
Member

I also noticed there are cases that we will probably have to ignore, like those from Future.cs or TaskExtensions.cs.

Most, if not all, of the warnings across the whole repo will be false positives / noise.

@carlossanlop

carlossanlop commented Feb 20, 2021 •

Copy link
Copy Markdown
Contributor Author

I submitted some extra commits where I added comments to System.Private.CoreLib and System.IO files where the analyzer suggests we should apply fixes.

Result: 138 warnings
> .\build.cmd clr+libs -rc release -warnaserror 0

Build succeeded.

D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(77,116): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs(441,40): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(587,32): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(444,36): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(395,40): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(519,28): warning VSTHRD103: Write synchronously blocks. Await WriteAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(796,57): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1455,33): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(24,22): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(43,22): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.IO.FileSystem\src\System\IO\File.cs(1027,89): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.IO.FileSystem\src\System.IO.FileSystem.csproj]
D:\runtime\src\libraries\System.IO.FileSystem\src\System\IO\File.cs(758,89): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.IO.FileSystem\src\System.IO.FileSystem.csproj]
D:\runtime\src\libraries\System.IO.FileSystem\src\System\IO\File.cs(798,24): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.IO.FileSystem\src\System.IO.FileSystem.csproj]
D:\runtime\src\libraries\System.IO.FileSystem\src\System\IO\File.cs(865,20): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.IO.FileSystem\src\System.IO.FileSystem.csproj]
D:\runtime\src\libraries\System.IO.FileSystem\src\System\IO\File.cs(999,20): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.IO.FileSystem\src\System.IO.FileSystem.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(77,116): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs(587,32): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs(441,40): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs(444,36): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(395,40): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs(519,28): warning VSTHRD103: Write synchronously blocks. Await WriteAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(796,57): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.Windows.cs(1455,33): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(24,22): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExtensions.cs(43,22): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj]
D:\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Xml\XmlBaseWriter.cs(664,13): warning VSTHRD103: FlushBase64 synchronously blocks. Await FlushBase64Async instead. [D:\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj]
D:\runtime\src\libraries\System.Net.WebSockets\src\System\Net\WebSockets\ManagedWebSocket.cs(402,85): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.WebSockets\src\System.Net.WebSockets.csproj]
D:\runtime\src\libraries\System.Net.WebSockets\src\System\Net\WebSockets\ManagedWebSocket.cs(403,92): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.WebSockets\src\System.Net.WebSockets.csproj]
D:\runtime\src\libraries\System.Net.WebSockets\src\System\Net\WebSockets\ManagedWebSocket.cs(407,54): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.WebSockets\src\System.Net.WebSockets.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\AsyncHelper.cs(83,29): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\XmlDownloadManagerAsync.cs(46,32): warning VSTHRD103: CopyTo synchronously blocks. Await CopyToAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(233,29): warning VSTHRD103: WriteStartElement synchronously blocks. Await WriteStartElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(235,29): warning VSTHRD103: WriteAttributes synchronously blocks. Await WriteAttributesAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(238,33): warning VSTHRD103: WriteEndElement synchronously blocks. Await WriteEndElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(242,29): warning VSTHRD103: WriteString synchronously blocks. Await WriteStringAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(246,29): warning VSTHRD103: WriteWhitespace synchronously blocks. Await WriteWhitespaceAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(249,29): warning VSTHRD103: WriteCData synchronously blocks. Await WriteCDataAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(252,29): warning VSTHRD103: WriteEntityRef synchronously blocks. Await WriteEntityRefAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(256,29): warning VSTHRD103: WriteProcessingInstruction synchronously blocks. Await WriteProcessingInstructionAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(259,29): warning VSTHRD103: WriteDocType synchronously blocks. Await WriteDocTypeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(262,29): warning VSTHRD103: WriteComment synchronously blocks. Await WriteCommentAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(265,29): warning VSTHRD103: WriteFullEndElement synchronously blocks. Await WriteFullEndElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(295,25): warning VSTHRD103: WriteStartAttribute synchronously blocks. Await WriteStartAttributeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(297,25): warning VSTHRD103: WriteEndAttribute synchronously blocks. Await WriteEndAttributeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(301,25): warning VSTHRD103: WriteNode synchronously blocks. Await WriteNodeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWriterAsync.cs(337,51): warning VSTHRD103: ReadValueChunk synchronously blocks. Await ReadValueChunkAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWriterAsync.cs(372,29): warning VSTHRD103: Read synchronously blocks. Await ReadAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XsdValidatingReaderAsync.cs(227,26): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(277,73): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(437,31): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(584,31): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(107,24): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(1731,26): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(2004,36): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(2987,46): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3456,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3472,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3496,41): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3508,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3517,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3527,45): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3543,45): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3563,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3574,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3582,41): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\AsyncHelper.cs(83,29): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\XmlDownloadManagerAsync.cs(46,32): warning VSTHRD103: CopyTo synchronously blocks. Await CopyToAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(233,29): warning VSTHRD103: WriteStartElement synchronously blocks. Await WriteStartElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(235,29): warning VSTHRD103: WriteAttributes synchronously blocks. Await WriteAttributesAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(238,33): warning VSTHRD103: WriteEndElement synchronously blocks. Await WriteEndElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(242,29): warning VSTHRD103: WriteString synchronously blocks. Await WriteStringAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(295,25): warning VSTHRD103: WriteStartAttribute synchronously blocks. Await WriteStartAttributeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(297,25): warning VSTHRD103: WriteEndAttribute synchronously blocks. Await WriteEndAttributeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(246,29): warning VSTHRD103: WriteWhitespace synchronously blocks. Await WriteWhitespaceAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(301,25): warning VSTHRD103: WriteNode synchronously blocks. Await WriteNodeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(249,29): warning VSTHRD103: WriteCData synchronously blocks. Await WriteCDataAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(252,29): warning VSTHRD103: WriteEntityRef synchronously blocks. Await WriteEntityRefAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(256,29): warning VSTHRD103: WriteProcessingInstruction synchronously blocks. Await WriteProcessingInstructionAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(259,29): warning VSTHRD103: WriteDocType synchronously blocks. Await WriteDocTypeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(262,29): warning VSTHRD103: WriteComment synchronously blocks. Await WriteCommentAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(265,29): warning VSTHRD103: WriteFullEndElement synchronously blocks. Await WriteFullEndElementAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWriterAsync.cs(337,51): warning VSTHRD103: ReadValueChunk synchronously blocks. Await ReadValueChunkAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWriterAsync.cs(372,29): warning VSTHRD103: Read synchronously blocks. Await ReadAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XsdValidatingReaderAsync.cs(227,26): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(107,24): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(277,73): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(437,31): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(584,31): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(1731,26): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(2004,36): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3456,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3472,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3496,41): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3508,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3517,49): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3527,45): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3543,45): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3563,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3574,53): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(3582,41): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(2987,46): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj]
D:\runtime\src\libraries\System.Net.Http.Json\src\System\Net\Http\Json\JsonContent.cs(94,43): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http.Json\src\System.Net.Http.Json.csproj]
D:\runtime\src\libraries\System.Net.WebSockets.Client\src\System\Net\WebSockets\WebSocketHandle.Managed.cs(184,59): warning VSTHRD103: ReadAsStream synchronously blocks. Await ReadAsStreamAsync instead. [D:\runtime\src\libraries\System.Net.WebSockets.Client\src\System.Net.WebSockets.Client.csproj]
D:\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\WebSockets\WebSocketHttpListenerDuplexStream.cs(181,47): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj]
D:\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\WebSockets\WebSocketHttpListenerDuplexStream.cs(371,47): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj]
D:\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\WebSockets\WebSocketHttpListenerDuplexStream.cs(431,47): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj]
D:\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\WebSockets\WebSocketHttpListenerDuplexStream.cs(591,47): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj]
D:\runtime\src\libraries\System.Net.Mail\src\System\Net\Mail\SmtpClient.cs(818,21): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Mail\src\System.Net.Mail.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\HttpContent.cs(540,28): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs(234,25): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\ConnectionCloseReadStream.cs(129,25): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\Http3Connection.cs(240,32): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs(158,25): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(874,28): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(522,40): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(622,60): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(659,42): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(719,42): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(1753,21): warning VSTHRD103: CopyTo synchronously blocks. Await CopyToAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpConnection.cs(1771,25): warning VSTHRD103: CopyTo synchronously blocks. Await CopyToAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs(129,25): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs(86,22): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs(220,25): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\Http2Stream.cs(203,45): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\Http2Stream.cs(260,40): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj]
D:\runtime\src\libraries\System.Net.Requests\src\System\Net\HttpWebRequest.cs(1182,44): warning VSTHRD103: Send synchronously blocks. Await SendAsync instead. [D:\runtime\src\libraries\System.Net.Requests\src\System.Net.Requests.csproj]
D:\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskTimeoutExtensions.cs(40,35): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Diagnostics.Process\src\System.Diagnostics.Process.csproj]
D:\runtime\src\libraries\System.Security.Cryptography.Primitives\src\System\Security\Cryptography\CryptoStream.cs(344,33): warning VSTHRD103: Read synchronously blocks. Await ReadAsync instead. [D:\runtime\src\libraries\System.Security.Cryptography.Primitives\src\System.Security.Cryptography.Primitives.csproj]
D:\runtime\src\libraries\System.Security.Cryptography.Primitives\src\System\Security\Cryptography\CryptoStream.cs(420,33): warning VSTHRD103: Read synchronously blocks. Await ReadAsync instead. [D:\runtime\src\libraries\System.Security.Cryptography.Primitives\src\System.Security.Cryptography.Primitives.csproj]
D:\runtime\src\libraries\System.Net.Security\src\System\Net\Security\ReadWriteAdapter.cs(63,38): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Security\src\System.Net.Security.csproj]
D:\runtime\src\libraries\System.Net.Security\src\System\Net\Security\SslStream.Implementation.cs(215,124): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Security\src\System.Net.Security.csproj]
D:\runtime\src\libraries\System.Net.Security\src\System\Net\Security\SslStream.Implementation.cs(257,123): warning VSTHRD103: GetResult synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.Net.Security\src\System.Net.Security.csproj]
D:\runtime\src\libraries\System.Data.Common\src\System\Data\Common\DbCommand.cs(145,34): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj]
D:\runtime\src\libraries\System.Data.Common\src\System\Data\Common\DbCommand.cs(178,58): warning VSTHRD103: ExecuteReader synchronously blocks. Await ExecuteReaderAsync instead. [D:\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj]
D:\runtime\src\libraries\System.Data.Common\src\System\Data\Common\DbCommand.cs(186,34): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj]
D:\runtime\src\libraries\System.Data.Common\src\System\Data\Common\DbCommand.cs(218,34): warning VSTHRD103: Dispose synchronously blocks. Await DisposeAsync instead. [D:\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj]
D:\runtime\src\libraries\System.IO.Pipelines\src\System\IO\Pipelines\PipeWriterStream.cs(94,48): warning VSTHRD103: Result synchronously blocks. Use await instead. [D:\runtime\src\libraries\System.IO.Pipelines\src\System.IO.Pipelines.csproj]
D:\runtime\src\libraries\System.Memory.Data\src\System\BinaryData.cs(165,28): warning VSTHRD103: CopyTo synchronously blocks. Await CopyToAsync instead. [D:\runtime\src\libraries\System.Memory.Data\src\System.Memory.Data.csproj]
  138 Warning(s)
  0 Error(s)

finally
{
sw.Dispose();
sw.Dispose(); // await DisposeAsync

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what these comments are trying to say.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I may have figured it out: What the suggested change is that would make the analyzer happier.

So I guess then my comment is "why are they comments instead of code changes?"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What the suggested change is that would make the analyzer happier.

The analyzer warning is noise in most if not all of its comments. We should not be making these changes (or at least none of the ones I've audited thus far).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bartonjs you figured it out, yes.
My intention with this PR is to show what suggestions this analyzer would give us in runtime, and depending on how noisy it is (meaning how many would be false positives), decide what severity to approve for the API Proposal.
Which brings me back to the question:

  • Do we need to go through API proposal again or can this be approved offline?
  • Based on this level of noise, would it make sense to turn it on in runtime or should we disable it?
  • Since it's being noisy, should the severity be info for the rest of the world, or can it be added to roslyn-analyzers as warning?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are they all were false positive? No any valid warnings? Is there any case we could tweak the analyzer to not warn for false positives?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to go through API proposal again or can this be approved offline?

We don't need to go through API review.

Based on this level of noise, would it make sense to turn it on in runtime or should we disable it?

We should disable it.

Since it's being noisy, should the severity be info for the rest of the world, or can it be added to roslyn-analyzers as warning?

It should not be a warning. The noise we have with this in runtime is due to some common patterns that others use as well, e.g. a single method that has paths for sync and async, use of APIs that have an async alternative but where the developer knows the sync path is sufficient (e.g. FileStream.Dispose for a read-only FileStream), use of Task synchronous waiting methods on tasks known to already be complete, etc.

No any valid warnings?

It's possible there's a handful, but I doubt more than one or two that are legit, if that.

Is there any case we could tweak the analyzer to not warn for false positives?

It's possible, but it would need to be imbued with much more smarts.

We should definitely consider splitting functionality into multiple pieces. For example, I don't believe the warnings that fire for Task.Result/Wait/etc. should be part of this same diagnostic ID.

@carlossanlop carlossanlop Feb 23, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @stephentoub !

We don't need to go through API review.

@terrajobst can you please do the honors and mark the proposal as api-approved? (If there are no more concerns, of course).

We should disable it.

So I'll just close this PR. No changes for runtime.

It should not be a warning.

I assume this means using the "Info" severity for the rest of the world. Is this correct?

We should definitely consider splitting functionality into multiple pieces.

No problem, I can start working on that when moving it to roslyn-analyzers.

@carlossanlop
carlossanlop deleted the vsthrd103 branch February 23, 2021 21:22
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2021
@carlossanlop
carlossanlop restored the vsthrd103 branch June 15, 2021 17:00
@carlossanlop
carlossanlop deleted the vsthrd103 branch February 7, 2024 06:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants