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); 474if (!_hostTcs.Task.Wait(_waitTimeout)) 479catch (AggregateException) when (_hostTcs.Task.IsCompleted) 484Debug.Assert(_hostTcs.Task.IsCompleted); 486return _hostTcs.Task.GetAwaiter().GetResult(); 528_hostTcs.TrySetResult(value.Value!);