48 writes to _currentState
dotnet-svcutil-lib (48)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (48)
274_currentState = State.Start; 370_currentState = State.Error; 393_currentState = State.Error; 437_currentState = State.Error; 518_currentState = State.Error; 560_currentState = State.AfterRootEle; 564_currentState = State.TopLevel; 570_currentState = State.Error; 611_currentState = State.AfterRootEle; 615_currentState = State.TopLevel; 621_currentState = State.Error; 761_currentState = State.Error; 876_currentState = State.Error; 894_currentState = State.Error; 912_currentState = State.Error; 963_currentState = State.Error; 991_currentState = State.Error; 1017_currentState = State.Error; 1043_currentState = State.Error; 1073_currentState = State.Error; 1099_currentState = State.Error; 1137_currentState = State.Error; 1175_currentState = State.Error; 1201_currentState = State.Error; 1232_currentState = State.Error; 1261_currentState = State.Error; 1289_currentState = State.Closed; 1303_currentState = State.Error; 1335_currentState = State.Error; 1405_currentState = State.Error; 1419_currentState = State.Error; 1433_currentState = State.Error; 1447_currentState = State.Error; 1461_currentState = State.Error; 1475_currentState = State.Error; 1489_currentState = State.Error; 1503_currentState = State.Error; 1517_currentState = State.Error; 1543_currentState = State.Error; 1565_currentState = State.Error; 1583_currentState = State.Error; 1630_currentState = State.SpecialAttr; 1632_currentState = State.RootLevelSpecAttr; 1673_currentState = State.Error; 2021_currentState = State.Content; 2029_currentState = State.Attribute; 2037_currentState = State.RootLevelAttr; 2066_currentState = newState;
20 references to _currentState
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (20)
308if ((int)_currentState <= (int)State.Error) 310return s_state2WriteState[(int)_currentState]; 356State prevState = _currentState; 937if (_currentState != State.Start) 1239if (_currentState != State.Closed) 1245while (_currentState != State.Error && _elemTop > 0) 1252if (_currentState != State.Error && _elemTop > 0) 1379if (_currentState != State.Attribute) 1622return (_currentState == State.B64Content || _currentState == State.B64Attribute || _currentState == State.RootLevelB64Attr); 1629if (State.Attribute == _currentState) 1631else if (State.RootLevelAttr == _currentState) 1944if ((int)_currentState >= (int)State.Closed) 1946if (_currentState == State.Closed || _currentState == State.Error) 1952throw new InvalidOperationException(string.Format(ResXml.Xml_WrongToken, tokenName[(int)token], GetStateName(_currentState))); 1957State newState = _stateTable[((int)token << 4) + (int)_currentState]; 1965ThrowInvalidStateTransition(token, _currentState); 2214return (int)_currentState >= (int)State.Closed;