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

◆ WriteStartElementAsync_FinishWrite() [1/2]

void System.Xml.XmlWellFormedWriter.WriteStartElementAsync_FinishWrite ( string prefix,
string localName,
string ns )
inlineprivate

Definition at line 3268 of file XmlWellFormedWriter.cs.

3269 {
3270 try
3271 {
3272 int num = ++_elemTop;
3273 if (num == _elemScopeStack.Length)
3274 {
3275 ElementScope[] array = new ElementScope[num * 2];
3276 Array.Copy(_elemScopeStack, array, num);
3278 }
3279 _elemScopeStack[num].Set(prefix, localName, ns, _nsTop);
3281 if (_attrCount >= 14)
3282 {
3284 }
3285 _attrCount = 0;
3286 }
3287 catch
3288 {
3289 _currentState = State.Error;
3290 throw;
3291 }
3292 }
void PushNamespaceImplicit(string prefix, string ns)
Dictionary< string, int > _attrHashTable
void Set(string prefix, string localName, string namespaceUri, int prevNSTop)

References System.Xml.XmlWellFormedWriter._attrCount, System.Xml.XmlWellFormedWriter._attrHashTable, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._elemScopeStack, System.Xml.XmlWellFormedWriter._elemTop, System.Xml.XmlWellFormedWriter._nsTop, System.array, System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.Array.Copy(), System.prefix, System.Xml.XmlWellFormedWriter.PushNamespaceImplicit(), and System.Xml.XmlWellFormedWriter.ElementScope.Set().

Referenced by System.Xml.XmlWellFormedWriter.WriteStartElementAsync_FinishWrite(), and System.Xml.XmlWellFormedWriter.WriteStartElementAsync_NoAdvanceState().