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

◆ IsAnyFromAny()

bool System.Xml.Schema.Compiler.IsAnyFromAny ( XmlSchemaAny derivedAny,
XmlSchemaAny baseAny )
inlineprivate

Definition at line 1523 of file Compiler.cs.

1524 {
1526 {
1528 return false;
1529 }
1530 if (!NamespaceList.IsSubset(derivedAny.NamespaceList, baseAny.NamespaceList))
1531 {
1533 return false;
1534 }
1535 if (derivedAny.ProcessContentsCorrect < baseAny.ProcessContentsCorrect)
1536 {
1538 return false;
1539 }
1540 return true;
1541 }
static string Sch_AnyFromAnyRule3
Definition SR.cs:1010
static string Sch_AnyFromAnyRule1
Definition SR.cs:1006
static string Sch_AnyFromAnyRule2
Definition SR.cs:1008
Definition SR.cs:7
bool IsValidOccurrenceRangeRestriction(XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle)
Definition Compiler.cs:1709

References System.Xml.Schema.Compiler._restrictionErrorMsg, System.Xml.Schema.NamespaceList.IsSubset(), System.Xml.Schema.Compiler.IsValidOccurrenceRangeRestriction(), System.SR.Sch_AnyFromAnyRule1, System.SR.Sch_AnyFromAnyRule2, and System.SR.Sch_AnyFromAnyRule3.

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