7 writes to _state
Microsoft.AspNetCore.TestHost (7)
TestWebSocket.cs (7)
79
_state
= WebSocketState.CloseSent;
83
_state
= WebSocketState.Closed;
95
_state
= WebSocketState.Aborted;
106
_state
= WebSocketState.Closed;
130
_state
= WebSocketState.CloseReceived;
134
_state
= WebSocketState.Closed;
212
_state
= WebSocketState.Open;
6 references to _state
Microsoft.AspNetCore.TestHost (6)
TestWebSocket.cs (6)
38
get { return
_state
; }
90
if (
_state
>= WebSocketState.Closed) // or Aborted
101
if (
_state
>= WebSocketState.Closed) // or Aborted
128
if (
_state
== WebSocketState.Open)
132
else if (
_state
== WebSocketState.CloseSent)
175
ObjectDisposedException.ThrowIf(
_state
>= WebSocketState.Closed, typeof(TestWebSocket)); // or Aborted