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

◆ ThrowInvalidStateTransition()

void System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition ( Token token,
State currentState )
inlineprivate

Definition at line 2966 of file XmlWellFormedWriter.cs.

2967 {
2969 if ((currentState == State.Start || currentState == State.AfterRootEle) && _conformanceLevel == ConformanceLevel.Document)
2970 {
2972 }
2974 }
static string Xml_WrongToken
Definition SR.cs:302
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Xml_ConformanceLevelFragment
Definition SR.cs:336
Definition SR.cs:7
static string GetStateName(State state)
static readonly string[] tokenName

References System.Xml.XmlWellFormedWriter._conformanceLevel, System.SR.Format(), System.Xml.XmlWellFormedWriter.GetStateName(), System.text, System.Xml.XmlWellFormedWriter.tokenName, System.SR.Xml_ConformanceLevelFragment, and System.SR.Xml_WrongToken.

Referenced by System.Xml.XmlWellFormedWriter.AdvanceState(), and System.Xml.XmlWellFormedWriter.AdvanceStateAsync().