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

◆ Prepare()

void System.Xml.Schema.SchemaCollectionCompiler.Prepare ( )
inlineprivate

Definition at line 35 of file SchemaCollectionCompiler.cs.

36 {
37 foreach (XmlSchemaElement value in _schema.Elements.Values)
38 {
39 if (!value.SubstitutionGroup.IsEmpty)
40 {
41 XmlSchemaSubstitutionGroup xmlSchemaSubstitutionGroup = (XmlSchemaSubstitutionGroup)_examplars[value.SubstitutionGroup];
43 {
44 xmlSchemaSubstitutionGroup = new XmlSchemaSubstitutionGroupV1Compat();
47 }
50 }
51 }
52 }
void Add(TKey key, TValue value)
void Add(XmlQualifiedName name, XmlSchemaObject value)
XmlSchemaObjectTable Elements
Definition XmlSchema.cs:269

References System.Xml.Schema.SchemaCollectionCompiler._examplars, System.Xml.Schema.SchemaCollectionCompiler._schema, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Schema.XmlSchemaObjectTable.Add(), System.Xml.Dictionary, System.Xml.Schema.XmlSchema.Elements, System.value, and System.Xml.Schema.XmlSchemaObjectTable.Values.

Referenced by System.Xml.Schema.SchemaCollectionCompiler.Execute().