2 writes to m_CloseReceivedTaskCompletionSource
System (2)
net\System\Net\WebSockets\WebSocketBase.cs (2)
809
m_CloseReceivedTaskCompletionSource
= new TaskCompletionSource<object>();
1501
m_CloseReceivedTaskCompletionSource
= new TaskCompletionSource<object>();
7 references to m_CloseReceivedTaskCompletionSource
System (7)
net\System\Net\WebSockets\WebSocketBase.cs (7)
807
if (
m_CloseReceivedTaskCompletionSource
== null)
819
Contract.Assert(
m_CloseReceivedTaskCompletionSource
!= null,
821
closeOutputTask =
m_CloseReceivedTaskCompletionSource
.Task;
946
await
m_CloseReceivedTaskCompletionSource
.Task.SuppressContextFlow();
1499
if (
m_CloseReceivedTaskCompletionSource
== null)
1513
if (
m_CloseReceivedTaskCompletionSource
!= null)
1515
m_CloseReceivedTaskCompletionSource
.TrySetResult(null);