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

◆ IsElementFromGroupBase()

bool System.Xml.Schema.Compiler.IsElementFromGroupBase ( XmlSchemaElement derivedElement,
XmlSchemaGroupBase baseGroupBase )
inlineprivate

Definition at line 1566 of file Compiler.cs.

1567 {
1568 if (baseGroupBase is XmlSchemaSequence)
1569 {
1570 XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
1575 {
1576 return true;
1577 }
1579 }
1580 else if (baseGroupBase is XmlSchemaChoice)
1581 {
1582 XmlSchemaChoice xmlSchemaChoice = new XmlSchemaChoice();
1587 {
1588 return true;
1589 }
1591 }
1592 else if (baseGroupBase is XmlSchemaAll)
1593 {
1594 XmlSchemaAll xmlSchemaAll = new XmlSchemaAll();
1599 {
1600 return true;
1601 }
1603 }
1604 return false;
1605 }
void Add(TKey key, TValue value)
static string Sch_ElementFromGroupBase3
Definition SR.cs:1020
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Sch_ElementFromGroupBase2
Definition SR.cs:1018
static string Sch_ElementFromGroupBase1
Definition SR.cs:1016
Definition SR.cs:7
bool IsGroupBaseFromGroupBase(XmlSchemaGroupBase derivedGroupBase, XmlSchemaGroupBase baseGroupBase, bool skipEmptableOnly)
Definition Compiler.cs:1624

References System.Xml.Schema.Compiler._restrictionErrorMsg, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Dictionary, System.SR.Format(), System.Globalization.NumberFormatInfo.InvariantInfo, System.Xml.Schema.Compiler.IsGroupBaseFromGroupBase(), System.SR.Sch_ElementFromGroupBase1, System.SR.Sch_ElementFromGroupBase2, and System.SR.Sch_ElementFromGroupBase3.

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