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

◆ NamespacesEqual()

static bool System.Runtime.Serialization.SchemaHelper.NamespacesEqual ( string ns1,
string ns2 )
inlinestaticpackage

Definition at line 9 of file SchemaHelper.cs.

10 {
11 if (ns1 == null || ns1.Length == 0)
12 {
13 if (ns2 != null)
14 {
15 return ns2.Length == 0;
16 }
17 return true;
18 }
19 return ns1 == ns2;
20 }

References System.Runtime.Serialization.Dictionary.

Referenced by System.Runtime.Serialization.SchemaHelper.AddSchemaImport().