7 writes to _state
System.Private.Xml (7)
System\Xml\Core\ReadContentAsBinaryHelper.cs (4)
255_state = State.None; 269_state = State.InReadContent; 297_state = State.InReadElementContent; 408_state = State.None;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
217_state = State.InReadContent; 245_state = State.InReadElementContent; 330_state = State.None;
28 references to _state
System.Private.Xml (28)
System\Xml\Core\ReadContentAsBinaryHelper.cs (14)
70switch (_state) 93Debug.Fail($"Unexpected state {_state}"); 97Debug.Assert(_state == State.InReadContent); 113switch (_state) 136Debug.Fail($"Unexpected state {_state}"); 140Debug.Assert(_state == State.InReadContent); 156switch (_state) 179Debug.Fail($"Unexpected state {_state}"); 183Debug.Assert(_state == State.InReadElementContent); 199switch (_state) 222Debug.Fail($"Unexpected state {_state}"); 226Debug.Assert(_state == State.InReadElementContent); 237if (_state != State.None) 240if (_state == State.InReadElementContent)
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (14)
21switch (_state) 44Debug.Fail($"Unexpected state {_state}"); 48Debug.Assert(_state == State.InReadContent); 65switch (_state) 88Debug.Fail($"Unexpected state {_state}"); 92Debug.Assert(_state == State.InReadContent); 109switch (_state) 132Debug.Fail($"Unexpected state {_state}"); 136Debug.Assert(_state == State.InReadElementContent); 153switch (_state) 176Debug.Fail($"Unexpected state {_state}"); 180Debug.Assert(_state == State.InReadElementContent); 191if (_state != State.None) 195if (_state == State.InReadElementContent)