7 writes to _currentState
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (7)
217_currentState = ValidatorState.None; 385_currentState = ValidatorState.Start; 403_currentState = ValidatorState.Start; 629_currentState = ValidatorState.Start; 964_currentState = ValidatorState.SkipToEndElement; 1051_currentState = ValidatorState.Attribute; 2115_currentState = toState;
16 references to _currentState
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (16)
381if (_currentState != ValidatorState.None && _currentState != ValidatorState.Finish) 383throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], s_methodNames[(int)ValidatorState.Start] })); 391if (_currentState != ValidatorState.None && _currentState != ValidatorState.Finish) 393throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], s_methodNames[(int)ValidatorState.Start] })); 567XmlSchemaObject pvtAttribute = _currentState == ValidatorState.TopLevelAttribute ? _partialValidationType : null; 628Debug.Assert(_currentState == ValidatorState.TopLevelAttribute); //Re-set state back to start on error with partial validation type 980if (_currentState == ValidatorState.Start || _currentState == ValidatorState.TopLevelTextOrWS) 1015if (_currentState == ValidatorState.Element || _currentState == ValidatorState.Attribute) 1035else if (_currentState == ValidatorState.Start) 2107if (!ValidStates[(int)_currentState, (int)toState]) 2109if (_currentState == ValidatorState.None) 2113throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], methodName }));