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

◆ IsHtmlTag()

static bool System.Xml.XmlAutoDetectWriter.IsHtmlTag ( string tagName)
inlinestaticprivate

Definition at line 328 of file XmlAutoDetectWriter.cs.

329 {
330 if (tagName.Length != 4)
331 {
332 return false;
333 }
334 if (tagName[0] != 'H' && tagName[0] != 'h')
335 {
336 return false;
337 }
338 if (tagName[1] != 'T' && tagName[1] != 't')
339 {
340 return false;
341 }
342 if (tagName[2] != 'M' && tagName[2] != 'm')
343 {
344 return false;
345 }
346 if (tagName[3] != 'L' && tagName[3] != 'l')
347 {
348 return false;
349 }
350 return true;
351 }

References System.Xml.Dictionary.

Referenced by System.Xml.XmlAutoDetectWriter.WriteStartElement().