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

◆ Equals() [2/2]

bool System.Xml.Schema.XmlSchemaInfoEqualityComparer.Equals ( XmlSchemaInfo si1,
XmlSchemaInfo si2 )
inline

Definition at line 7 of file XmlSchemaInfoEqualityComparer.cs.

8 {
9 if (si1 == si2)
10 {
11 return true;
12 }
13 if (si1 == null || si2 == null)
14 {
15 return false;
16 }
17 if (si1.ContentType == si2.ContentType && si1.IsDefault == si2.IsDefault && si1.IsNil == si2.IsNil && si1.MemberType == si2.MemberType && si1.SchemaAttribute == si2.SchemaAttribute && si1.SchemaElement == si2.SchemaElement && si1.SchemaType == si2.SchemaType)
18 {
19 return si1.Validity == si2.Validity;
20 }
21 return false;
22 }

References System.Xml.Dictionary.