1 write to _state
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpResponseStream.cs (1)
27_state = state;
16 references to _state
System.Net.Http.WinHttpHandler (16)
System\Net\Http\WinHttpResponseStream.cs (16)
110if (Interlocked.CompareExchange(ref _state.AsyncReadInProgress, 1, 0) == 1) 117_state.PinReceiveBuffer(buffer); 122lock (_state.Lock) 129int bytesAvailable = await _state.LifecycleAwaitable; 139lock (_state.Lock) 146int bytesRead = await _state.LifecycleAwaitable; 164_state.AsyncReadInProgress = 0; 214if (Interlocked.CompareExchange(ref _state.AsyncReadInProgress, 1, 0) == 1) 221_state.PinReceiveBuffer(buffer); 222lock (_state.Lock) 231int bytesAvailable = await _state.LifecycleAwaitable; 233lock (_state.Lock) 246int bytesRead = await _state.LifecycleAwaitable; 257_state.AsyncReadInProgress = 0; 349lock (_state.Lock) 351if (_state.AsyncReadInProgress == 1)