2 writes to _creditWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
397
_creditWaiter
= null;
1298
_creditWaiter
= new CreditWaiter(_requestBodyCancellationSource.Token);
9 references to _creditWaiter
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (9)
393
CreditWaiter? waiter =
_creditWaiter
;
482
if (_availableCredit > 0 &&
_creditWaiter
!= null)
484
int granted = Math.Min(_availableCredit,
_creditWaiter
.Amount);
485
if (
_creditWaiter
.TrySetResult(granted))
1296
if (
_creditWaiter
is null)
1302
_creditWaiter
.ResetForAwait(_requestBodyCancellationSource.Token);
1304
_creditWaiter
.Amount = buffer.Length;
1311
Debug.Assert(
_creditWaiter
!= null);
1312
sendSize = await
_creditWaiter
.AsValueTask().ConfigureAwait(false);