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

◆ CheckForDuplicateType()

void System.Xml.Serialization.XmlSchemaExporter.CheckForDuplicateType ( TypeMapping mapping,
string newNamespace )
inlineprivate

Definition at line 260 of file XmlSchemaExporter.cs.

261 {
262 if (mapping.IsAnonymousType)
263 {
264 return;
265 }
266 string typeName = mapping.TypeName;
268 if (xmlSchema == null)
269 {
270 return;
271 }
272 foreach (XmlSchemaObject item in xmlSchema.Items)
273 {
275 {
277 }
278 }
279 }
static string XmlDuplicateTypeName
Definition SR.cs:1406
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Xml.Serialization.XmlSchemaExporter._schemas, System.Xml.Dictionary, System.SR.Format(), System.item, System.Xml.Schema.XmlSchemaType.Name, and System.SR.XmlDuplicateTypeName.

Referenced by System.Xml.Serialization.XmlSchemaExporter.ExportArrayMapping(), System.Xml.Serialization.XmlSchemaExporter.ExportEnumMapping(), and System.Xml.Serialization.XmlSchemaExporter.ExportStructMapping().