This is co-released with core framework release v2
2.5.1-pre.20
.
[Fact]
or [Theory]
attribute from the local function.
ConfigureAwait
on tasks as being problematic. Calling this on a task
inside a test method will cause the remainder of the test method to be run on a thread pool thread
rather than the original thread (which is used to limit the number of tests that run concurrently
in parallel).
xunit/xunit#2628
Task.GetAwaiter().GetResult()
Task.Wait()
Task.WaitAll()
Task.WaitAny()
Task.GetAwaiter().GetResult()
Task.Result
ValueTask.GetAwaiter().GetResult()
ValueTask.GetAwaiter.GetResult()
ValueTask.Result