2 writes to _closeStatusDescription
System.Net.WebSockets.Client (2)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (2)
529_closeStatusDescription = statusDescription; 635_closeStatusDescription = closeStatusDescription;
10 references to _closeStatusDescription
System.Net.WebSockets.Client (10)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (10)
108if (_closeStatusDescription != null) 110return _closeStatusDescription; 492return new WebSocketReceiveResult(count, messageType, isEnd, _closeStatus, _closeStatusDescription); 495throw new WebSocketException(WebSocketError.InvalidMessageType, _closeStatusDescription); 497throw new WebSocketException(WebSocketError.NotAWebSocket, _closeStatusDescription); 499throw new WebSocketException(WebSocketError.UnsupportedProtocol, _closeStatusDescription); 501throw new WebSocketException(WebSocketError.Faulted, _closeStatusDescription); 503throw new WebSocketException(WebSocketError.NativeError, (int)_closeStatus!.Value, _closeStatusDescription); 633if (closeStatusDescription != null && _closeStatusDescription == null) 637return _closeStatusDescription;