3 writes to ReceiveResult
System (3)
net\System\Net\WebSockets\WebSocketBase.cs (3)
1652
ReceiveResult
= null;
1930
ReceiveResult
= receiveResult;
2059
ReceiveResult
= receiveResult;
8 references to ReceiveResult
System (8)
net\System\Net\WebSockets\WebSocketBase.cs (8)
1689
Contract.Assert(
ReceiveResult
.Count == 0, "'receiveResult.Count' MUST be 0.");
1690
Contract.Assert(
ReceiveResult
.CloseStatus != null, "'receiveResult.CloseStatus' MUST NOT be NULL for message type 'Close'.");
1721
m_WebSocket.FinishOnCloseReceived(
ReceiveResult
.CloseStatus.Value,
ReceiveResult
.CloseStatusDescription);
1882
return
ReceiveResult
;
1969
Contract.Assert(
ReceiveResult
!= null,
1973
if (
ReceiveResult
.MessageType == WebSocketMessageType.Close)
2133
Contract.Assert(
ReceiveResult
== null, "'ReceiveResult' MUST be NULL.");