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

◆ FastGetElementDecl()

SchemaElementDecl System.Xml.Schema.XsdValidator.FastGetElementDecl ( object particle)
inlineprivate

Definition at line 360 of file XsdValidator.cs.

361 {
362 SchemaElementDecl result = null;
363 if (particle != null)
364 {
365 if (particle is XmlSchemaElement xmlSchemaElement)
366 {
367 result = xmlSchemaElement.ElementDecl;
368 }
369 else
370 {
371 XmlSchemaAny xmlSchemaAny = (XmlSchemaAny)particle;
372 _processContents = xmlSchemaAny.ProcessContentsCorrect;
373 }
374 }
375 return result;
376 }
XmlSchemaContentProcessing _processContents

References System.Xml.Schema.XsdValidator._processContents, and System.Xml.Dictionary.

Referenced by System.Xml.Schema.XsdValidator.ProcessElement().