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

◆ IsElementFromAny()

bool System.Xml.Schema.Compiler.IsElementFromAny ( XmlSchemaElement derivedElement,
XmlSchemaAny baseAny )
inlineprivate

Definition at line 1508 of file Compiler.cs.

1509 {
1510 if (!baseAny.Allows(derivedElement.QualifiedName))
1511 {
1513 return false;
1514 }
1516 {
1518 return false;
1519 }
1520 return true;
1521 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Sch_ElementFromAnyRule2
Definition SR.cs:1004
static string Sch_ElementFromAnyRule1
Definition SR.cs:1002
Definition SR.cs:7
bool IsValidOccurrenceRangeRestriction(XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle)
Definition Compiler.cs:1709

References System.Xml.Schema.Compiler._restrictionErrorMsg, System.SR.Format(), System.Xml.Schema.Compiler.IsValidOccurrenceRangeRestriction(), System.SR.Sch_ElementFromAnyRule1, and System.SR.Sch_ElementFromAnyRule2.

Referenced by System.Xml.Schema.Compiler.IsValidRestriction().