1 write to m_ReadTaskCompletionSource
System (1)
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
167
m_ReadTaskCompletionSource
= new TaskCompletionSource<int>();
6 references to m_ReadTaskCompletionSource
System (6)
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (6)
180
bytesRead = await
m_ReadTaskCompletionSource
.Task.SuppressContextFlow<int>();
670
if (
m_ReadTaskCompletionSource
!= null)
672
m_ReadTaskCompletionSource
.TrySetCanceled();
731
TaskCompletionSource<int> readTaskCompletionSourceSnapshot = thisPtr.
m_ReadTaskCompletionSource
;
828
thisPtr.
m_ReadTaskCompletionSource
.TrySetException(eventArgs.Exception);
832
thisPtr.
m_ReadTaskCompletionSource
.TrySetResult(eventArgs.BytesTransferred);