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

◆ Equals()

override bool System.Xml.XmlNameEx.Equals ( IXmlSchemaInfo schemaInfo)
inlinevirtual

Reimplemented from System.Xml.XmlName.

Definition at line 79 of file XmlNameEx.cs.

80 {
81 if (schemaInfo != null && schemaInfo.Validity == (XmlSchemaValidity)(_flags & 3) && schemaInfo.IsDefault == ((_flags & 4) != 0) && schemaInfo.IsNil == ((_flags & 8) != 0) && schemaInfo.MemberType == _memberType && schemaInfo.SchemaType == _schemaType && schemaInfo.SchemaElement == _decl as XmlSchemaElement && schemaInfo.SchemaAttribute == _decl as XmlSchemaAttribute)
82 {
83 return true;
84 }
85 return false;
86 }
readonly XmlSchemaType _schemaType
Definition XmlNameEx.cs:11
readonly XmlSchemaSimpleType _memberType
Definition XmlNameEx.cs:9
readonly object _decl
Definition XmlNameEx.cs:13
XmlSchemaAttribute? SchemaAttribute
XmlSchemaSimpleType? MemberType

References System.Xml.XmlNameEx._decl, System.Xml.XmlNameEx._flags, System.Xml.XmlNameEx._memberType, System.Xml.XmlNameEx._schemaType, System.Xml.Dictionary, System.Xml.Schema.IXmlSchemaInfo.IsDefault, System.Xml.Schema.IXmlSchemaInfo.IsNil, System.Xml.Schema.IXmlSchemaInfo.MemberType, System.Xml.Schema.IXmlSchemaInfo.SchemaAttribute, System.Xml.Schema.IXmlSchemaInfo.SchemaElement, System.Xml.Schema.IXmlSchemaInfo.SchemaType, and System.Xml.Schema.IXmlSchemaInfo.Validity.