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

◆ NamespacesEqual()

static bool System.Xml.Serialization.XmlSchemaExporter.NamespacesEqual ( string ns1,
string ns2 )
inlinestaticprivate

Definition at line 342 of file XmlSchemaExporter.cs.

343 {
344 if (ns1 == null || ns1.Length == 0)
345 {
346 if (ns2 != null)
347 {
348 return ns2.Length == 0;
349 }
350 return true;
351 }
352 return ns1 == ns2;
353 }

References System.Xml.Dictionary.

Referenced by System.Xml.Serialization.XmlSchemaExporter.AddSchemaImport(), and System.Xml.Serialization.XmlSchemaExporter.FindImport().