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

◆ CheckUnionType()

void System.Xml.Schema.Compiler.CheckUnionType ( XmlSchemaSimpleType unionMember,
List< XmlSchemaSimpleType > memberTypeDefinitions,
XmlSchemaSimpleType parentType )
inlineprivate

Definition at line 718 of file Compiler.cs.

719 {
720 XmlSchemaDatatype datatype = unionMember.Datatype;
721 if (unionMember.DerivedBy == XmlSchemaDerivationMethod.Restriction && (datatype.HasLexicalFacets || datatype.HasValueFacets))
722 {
724 return;
725 }
726 Datatype_union datatype_union = unionMember.Datatype as Datatype_union;
728 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
static string Sch_UnionFromUnion
Definition SR.cs:608
Definition SR.cs:7
void SendValidationEvent(string code, XmlSchemaObject source)

References System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), System.Xml.Dictionary, System.Xml.Schema.XmlSchemaDatatype.HasLexicalFacets, System.Xml.Schema.XmlSchemaDatatype.HasValueFacets, System.SR.Sch_UnionFromUnion, and System.Xml.Schema.BaseProcessor.SendValidationEvent().

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