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

◆ CheckIsXmlAttribute()

SchemaAttDef System.Xml.Schema.XmlSchemaValidator.CheckIsXmlAttribute ( XmlQualifiedName attQName)
inlineprivate

Definition at line 1700 of file XmlSchemaValidator.cs.

1701 {
1702 SchemaAttDef value = null;
1703 if (Ref.Equal(attQName.Namespace, _nsXml) && (_validationFlags & XmlSchemaValidationFlags.AllowXmlAttributes) != 0)
1704 {
1706 {
1708 }
1710 }
1711 return value;
1712 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
Dictionary< XmlQualifiedName, SchemaAttDef > AttributeDecls
Definition SchemaInfo.cs:99
readonly XmlSchemaValidationFlags _validationFlags

References System.Xml.Schema.XmlSchemaValidator._compiledSchemaInfo, System.Xml.Schema.XmlSchemaValidator._nsXml, System.Xml.Schema.XmlSchemaValidator._validationFlags, System.Xml.Schema.XmlSchemaValidator.AddXmlNamespaceSchema(), System.Xml.Schema.SchemaInfo.AttributeDecls, System.Xml.Schema.SchemaInfo.Contains(), System.Xml.Ref.Equal(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Xml.Schema.XmlSchemaValidator.ValidateAttribute().