Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckStateTransition()

void System.Xml.Schema.XmlSchemaValidator.CheckStateTransition ( ValidatorState toState,
string methodName )
inlineprivate

Definition at line 1952 of file XmlSchemaValidator.cs.

1953 {
1954 if (!ValidStates[(int)_currentState, (int)toState])
1955 {
1956 object[] args;
1957 if (_currentState == ValidatorState.None)
1958 {
1960 args = new string[2]
1961 {
1962 methodName,
1963 s_methodNames[1]
1964 };
1966 }
1968 args = new string[2]
1969 {
1972 };
1974 }
1976 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Sch_InvalidStateTransition
Definition SR.cs:1182
static string Sch_InvalidStartTransition
Definition SR.cs:1180
Definition SR.cs:7

References System.Xml.Schema.XmlSchemaValidator._currentState, System.Xml.Dictionary, System.SR.Format(), System.Xml.Schema.XmlSchemaValidator.s_methodNames, System.SR.Sch_InvalidStartTransition, System.SR.Sch_InvalidStateTransition, and System.Xml.Schema.XmlSchemaValidator.ValidStates.

Referenced by System.Xml.Schema.XmlSchemaValidator.EndValidation(), System.Xml.Schema.XmlSchemaValidator.GetUnspecifiedDefaultAttributes(), System.Xml.Schema.XmlSchemaValidator.InternalValidateEndElement(), System.Xml.Schema.XmlSchemaValidator.SkipToEndElement(), System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(), System.Xml.Schema.XmlSchemaValidator.ValidateElement(), System.Xml.Schema.XmlSchemaValidator.ValidateEndOfAttributes(), System.Xml.Schema.XmlSchemaValidator.ValidateText(), and System.Xml.Schema.XmlSchemaValidator.ValidateWhitespace().