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

◆ CheckUnionType()

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

Definition at line 630 of file SchemaCollectionCompiler.cs.

631 {
632 XmlSchemaDatatype datatype = unionMember.Datatype;
633 if (unionMember.DerivedBy == XmlSchemaDerivationMethod.Restriction && (datatype.HasLexicalFacets || datatype.HasValueFacets))
634 {
636 return;
637 }
638 Datatype_union datatype_union = unionMember.Datatype as Datatype_union;
640 }
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.SchemaCollectionCompiler.CompileBaseMemberTypes().