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)
381
if (
_currentState
!= ValidatorState.None &&
_currentState
!= ValidatorState.Finish)
383
throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)
_currentState
], s_methodNames[(int)ValidatorState.Start] }));
391
if (
_currentState
!= ValidatorState.None &&
_currentState
!= ValidatorState.Finish)
393
throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)
_currentState
], s_methodNames[(int)ValidatorState.Start] }));
567
XmlSchemaObject pvtAttribute =
_currentState
== ValidatorState.TopLevelAttribute ? _partialValidationType : null;
628
Debug.Assert(
_currentState
== ValidatorState.TopLevelAttribute); //Re-set state back to start on error with partial validation type
980
if (
_currentState
== ValidatorState.Start ||
_currentState
== ValidatorState.TopLevelTextOrWS)
1015
if (
_currentState
== ValidatorState.Element ||
_currentState
== ValidatorState.Attribute)
1035
else if (
_currentState
== ValidatorState.Start)
2107
if (!ValidStates[(int)
_currentState
, (int)toState])
2109
if (
_currentState
== ValidatorState.None)
2113
throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)
_currentState
], methodName }));