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

◆ Cleanup()

void System.Xml.Schema.Preprocessor.Cleanup ( XmlSchema schema)
inlineprivate

Definition at line 173 of file Preprocessor.cs.

174 {
175 if (schema != GetBuildInSchema())
176 {
177 schema.Attributes.Clear();
178 schema.AttributeGroups.Clear();
179 schema.SchemaTypes.Clear();
180 schema.Elements.Clear();
181 schema.Groups.Clear();
182 schema.Notations.Clear();
183 schema.Ids.Clear();
184 schema.IdentityConstraints.Clear();
185 schema.IsRedefined = false;
187 }
188 }
static XmlSchema GetBuildInSchema()

References System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.Xml.Dictionary, and System.Xml.Schema.Preprocessor.GetBuildInSchema().

Referenced by System.Xml.Schema.Preprocessor.Preprocess().