28 writes to _currentState
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (28)
270_currentState = State.Start; 405_currentState = State.Start; 410_currentState = State.Error; 449_currentState = State.Error; 526_currentState = State.Error; 680_currentState = State.Error; 694_currentState = State.Error; 719_currentState = State.Error; 743_currentState = State.Error; 766_currentState = State.Error; 782_currentState = State.Error; 797_currentState = State.Error; 821_currentState = State.Error; 839_currentState = State.Error; 854_currentState = State.Error; 870_currentState = State.Error; 885_currentState = State.Error; 900_currentState = State.Error; 927_currentState = State.Error; 943_currentState = State.Error; 991_currentState = State.Closed; 1013_currentState = State.Error; 1053_currentState = State.Error; 1123_currentState = State.Error; 1140_currentState = State.Prolog; 1162_currentState = State.Error; 1286_currentState = newState; 1340_currentState = State.Error;
19 references to _currentState
dotnet-svcutil-lib (19)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (19)
324if (_currentState != State.Start) 393if (_currentState != State.Epilog) 395if (_currentState == State.Closed) 953switch (_currentState) 1031if (_currentState != State.Attribute) 1135if (_currentState != State.Start) 1169if (_currentState == State.Closed) 1173else if (_currentState == State.Error) 1178State newState = _stateTable[(int)token * 8 + (int)_currentState]; 1181throw new InvalidOperationException(string.Format(ResXml.Xml_WrongToken, s_tokenName[(int)token], s_stateName[(int)_currentState])); 1187if (_indented && _currentState != State.Start) 1197if (_currentState == State.Attribute) 1202else if (_currentState == State.Element) 1210else if (_indented && _currentState != State.Start) 1222if (_currentState == State.Attribute) 1226if (_currentState == State.Content) 1245if (_currentState == State.Attribute) 1250else if (_currentState == State.Element) 1273if (_currentState == State.Element && _lastToken != Token.Content)