2 references to ThrowAfterCancellationAsync
Aspire.Hosting.Tests (2)
Utils\PeriodicRestartAsyncEnumerableTests.cs (2)
191return Task.FromResult(ThrowAfterCancellationAsync(0, restartToken, enumeratorCts.Token, () => Interlocked.Increment(ref disposeCount))); 220return Task.FromResult(ThrowAfterCancellationAsync(string.Empty, restartToken, enumeratorCts.Token, () => Interlocked.Increment(ref disposeCount)));