16 references to _waitSource
System.Net.Http (16)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (16)
76
/// <summary>Cancellation registration used to cancel the <see cref="
_waitSource
"/>.</summary>
275
_waitSource
.SetResult(true);
446
_waitSource
.SetResult(true);
863
_waitSource
.SetResult(true);
933
_waitSource
.SetResult(true);
1042
_waitSource
.Reset();
1131
_waitSource
.Reset();
1132
_waitSource
.RunContinuationsAsynchronously = !partOfSyncRead;
1417
ValueTaskSourceStatus IValueTaskSource.GetStatus(short token) =>
_waitSource
.GetStatus(token);
1418
void IValueTaskSource.OnCompleted(Action<object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) =>
_waitSource
.OnCompleted(continuation, state, token, flags);
1429
_waitSource
.GetResult(token);
1435
Debug.Assert(!
_waitSource
.RunContinuationsAsynchronously);
1436
new ValueTask(this,
_waitSource
.Version).AsTask().GetAwaiter().GetResult();
1441
Debug.Assert(
_waitSource
.RunContinuationsAsynchronously);
1469
thisRef.
_waitSource
.SetException(ExceptionDispatchInfo.SetCurrentStackTrace(
1474
return new ValueTask(this,
_waitSource
.Version);