8 references to _hostTcs
Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests (8)
SnapshotTestHelper.cs (8)
437
_hostTcs
.TrySetException(new InvalidOperationException("The entry point exited without ever building an IHost."));
448
_hostTcs
.TrySetException(exception);
455
_hostTcs
.TrySetException(ex);
474
if (!
_hostTcs
.Task.Wait(_waitTimeout))
479
catch (AggregateException) when (
_hostTcs
.Task.IsCompleted)
484
Debug.Assert(
_hostTcs
.Task.IsCompleted);
486
return
_hostTcs
.Task.GetAwaiter().GetResult();
528
_hostTcs
.TrySetResult(value.Value!);