55 writes to _state
System.Private.Xml (55)
System\Xml\Core\XmlSubtreeReader.cs (34)
102_state = State.Initial; 471_state = State.Interactive; 485_state = State.EndOfFile; 513_state = State.Interactive; 570_state = State.Closed; 604_state = State.EndOfFile; 629_state = State.Interactive; 668_state = State.Error; 684_state = State.Error; 700_state = State.Error; 716_state = State.Error; 732_state = State.Error; 748_state = State.Error; 764_state = State.Error; 780_state = State.Error; 796_state = State.Error; 812_state = State.Error; 883_state = State.ReadContentAsBase64; 890_state = State.Interactive; 937_state = State.Interactive; 943_state = State.EndOfFile; 1021_state = State.ReadContentAsBinHex; 1028_state = State.Interactive; 1074_state = State.Interactive; 1080_state = State.EndOfFile; 1289_state = State.PopNamespaceScope; 1293_state = State.PopNamespaceScope; 1339_state = State.ClearNsAttributes; 1400_state = binaryState; 1424_state = State.Interactive; 1430_state = State.EndOfFile; 1452_state = State.Interactive; 1458_state = State.EndOfFile; 1572_state = State.PopNamespaceScope;
System\Xml\Core\XmlSubtreeReaderAsync.cs (21)
34_state = State.Interactive; 48_state = State.EndOfFile; 76_state = State.Interactive; 130_state = State.EndOfFile; 155_state = State.Interactive; 194_state = State.Error; 210_state = State.Error; 226_state = State.Error; 289_state = State.ReadContentAsBase64; 296_state = State.Interactive; 343_state = State.Interactive; 349_state = State.EndOfFile; 427_state = State.ReadContentAsBinHex; 434_state = State.Interactive; 480_state = State.Interactive; 486_state = State.EndOfFile; 584_state = binaryState; 608_state = State.Interactive; 614_state = State.EndOfFile; 636_state = State.Interactive; 642_state = State.EndOfFile;
62 references to _state
System.Private.Xml (62)
System\Xml\Core\XmlSubtreeReader.cs (39)
203return _state == State.EndOfFile || _state == State.Closed; 217if ((int)_state <= (int)State.Closed) 219return (ReadState)(int)_state; 467switch (_state) 533Debug.Fail($"Unexpected state {_state}"); 540if (_state == State.Closed) 547if (_state != State.EndOfFile) 577switch (_state) 652Debug.Fail($"Unexpected state {_state}"); 827switch (_state) 878Debug.Fail($"Unexpected state {_state}"); 901Debug.Fail($"Unexpected state {_state}"); 908switch (_state) 958Debug.Fail($"Unexpected state {_state}"); 965switch (_state) 1016Debug.Fail($"Unexpected state {_state}"); 1039Debug.Fail($"Unexpected state {_state}"); 1046switch (_state) 1095Debug.Fail($"Unexpected state {_state}"); 1110switch (_state) 1154Debug.Fail($"Unexpected state {_state}"); 1338Debug.Assert(_state == State.ClearNsAttributes || _state == State.Interactive || _state == State.PopNamespaceScope); 1399Debug.Assert(_state == State.Interactive); 1406Debug.Assert(_state == State.ReadElementContentAsBase64 || _state == State.ReadElementContentAsBinHex); 1409if (_state == State.ReadElementContentAsBase64) 1440Debug.Assert(_state == State.ReadContentAsBase64 || _state == State.ReadContentAsBinHex); 1443if (_state == State.ReadContentAsBase64) 1482return 0 != (AttributeActiveStates & (1 << (int)_state)); 1503return 0 != (NamespaceActiveStates & (1 << (int)_state)); 1525switch (_state) 1552Debug.Fail($"Unexpected state {_state}"); 1560Debug.Assert(_state == State.Interactive || 1561_state == State.PopNamespaceScope || 1562_state == State.ClearNsAttributes);
System\Xml\Core\XmlSubtreeReaderAsync.cs (23)
30switch (_state) 96Debug.Fail($"Unexpected state {_state}"); 103switch (_state) 178Debug.Fail($"Unexpected state {_state}"); 233switch (_state) 284Debug.Fail($"Unexpected state {_state}"); 307Debug.Fail($"Unexpected state {_state}"); 314switch (_state) 364Debug.Fail($"Unexpected state {_state}"); 371switch (_state) 422Debug.Fail($"Unexpected state {_state}"); 445Debug.Fail($"Unexpected state {_state}"); 452switch (_state) 501Debug.Fail($"Unexpected state {_state}"); 508switch (_state) 552Debug.Fail($"Unexpected state {_state}"); 583Debug.Assert(_state == State.Interactive); 590Debug.Assert(_state == State.ReadElementContentAsBase64 || _state == State.ReadElementContentAsBinHex); 593if (_state == State.ReadElementContentAsBase64) 624Debug.Assert(_state == State.ReadContentAsBase64 || _state == State.ReadContentAsBinHex); 627if (_state == State.ReadContentAsBase64)