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