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

◆ SetSpecialAttribute()

void System.Xml.XmlWellFormedWriter.SetSpecialAttribute ( SpecialAttribute special)
inlineprivate

Definition at line 2495 of file XmlWellFormedWriter.cs.

2496 {
2498 if (State.Attribute == _currentState)
2499 {
2500 _currentState = State.SpecialAttr;
2501 }
2502 else if (State.RootLevelAttr == _currentState)
2503 {
2504 _currentState = State.RootLevelSpecAttr;
2505 }
2506 if (_attrValueCache == null)
2507 {
2508 _attrValueCache = new AttributeValueCache();
2509 }
2510 }

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._specAttr, and System.Xml.Dictionary.

Referenced by System.Xml.XmlWellFormedWriter.WriteStartAttribute(), and System.Xml.XmlWellFormedWriter.WriteStartAttributeAsync_NoAdvanceState().