1 write to _cancellationTokenSource
Microsoft.Extensions.Http.Resilience.Tests (1)
Hedging\HedgingTests.cs (1)
43
_cancellationTokenSource
= new CancellationTokenSource();
11 references to _cancellationTokenSource
Microsoft.Extensions.Http.Resilience.Tests (11)
Hedging\HedgingTests.cs (11)
65
_cancellationTokenSource
.Cancel();
66
_cancellationTokenSource
.Dispose();
107
using var _ = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
127
using var _ = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
152
async () => await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token));
174
async () => await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token));
200
using var result = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
224
using var _ = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
250
using var _ = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
277
using var _ = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);
300
using var result = await SendRequest(client, request, asynchronous,
_cancellationTokenSource
.Token);