8 writes to Name
System.Private.Xml (8)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2272
decl!.
Name
= xe.QualifiedName;
System\Xml\Schema\SchemaSetCompiler.cs (1)
2731
decl.
Name
= xe.QualifiedName;
System\Xml\Schema\XdrBuilder.cs (6)
684
builder._UndefinedAttributeTypes._Attdef.
Name
= gname;
736
builder._ElementDef._ElementDecl!.
Name
= qname;
921
patt._Attdef.
Name
= pName;
1036
builder._AttributeDef._AttDef!.
Name
= qname;
1053
builder._AttributeDef._AttDef.
Name
= qname;
1293
attdef.
Name
= qname;
64 references to Name
System.Private.Xml (64)
System\Xml\Core\XmlTextReaderImpl.cs (2)
9238
string localName = _nameTable.Add(attrDef.
Name
.Name);
9240
string ns = _nameTable.Add(attrDef.
Name
.Namespace);
System\Xml\Dom\XmlDocument.cs (6)
674
string attrLocalname = attdef.
Name
.Name;
678
attrPrefix = attdef.
Name
.Namespace;
683
attrNamespaceURI = attdef.
Name
.Namespace;
1678
if (attdef.
Name
.Name == attrLocalname)
1680
if ((schInfo!.SchemaType == SchemaType.DTD && attdef.
Name
.Namespace == attrPrefix) ||
1681
(schInfo.SchemaType != SchemaType.DTD && attdef.
Name
.Namespace == attrNamespaceURI))
System\Xml\Dom\XmlLoader.cs (2)
669
_doc.AddXmlName(elementDecl.Prefix, elementDecl.
Name
.Name, string.Empty, null),
670
_doc.AddAttrXmlName(attdef.Prefix, attdef.
Name
.Name, string.Empty, null));
System\Xml\Schema\DtdParser.cs (8)
682
if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.
Name
.Name == "space")
700
bool attrDefAlreadyExists = (elementDecl.GetAttDef(attrDef.
Name
) != null);
708
if (attrDef.
Name
.Name == "space")
735
else if (attrDef.
Name
.Name == "lang")
773
SchemaAttDef? idAttrDef = elementDecl.GetAttDef(attrDef.
Name
);
776
SendValidationEvent(XmlSeverityType.Error, SR.Sch_IdAttrDeclared, elementDecl.
Name
.ToString());
789
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, SR.Sch_DupNotationAttribute, elementDecl.
Name
.ToString()); // 8 == strlen("NOTATION")
797
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, SR.Sch_NotationAttributeOnEmptyElement, elementDecl.
Name
.ToString()); // 8 == strlen("NOTATION")
System\Xml\Schema\DtdParserAsync.cs (8)
326
if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.
Name
.Name == "space")
344
bool attrDefAlreadyExists = (elementDecl.GetAttDef(attrDef.
Name
) != null);
352
if (attrDef.
Name
.Name == "space")
379
else if (attrDef.
Name
.Name == "lang")
417
SchemaAttDef? idAttrDef = elementDecl.GetAttDef(attrDef.
Name
);
420
SendValidationEvent(XmlSeverityType.Error, SR.Sch_IdAttrDeclared, elementDecl.
Name
.ToString());
433
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, SR.Sch_DupNotationAttribute, elementDecl.
Name
.ToString()); // 8 == strlen("NOTATION")
441
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, SR.Sch_NotationAttributeOnEmptyElement, elementDecl.
Name
.ToString()); // 8 == strlen("NOTATION")
System\Xml\Schema\DtdValidator.cs (5)
190
_attPresence.Add(attnDef.
Name
, attnDef);
393
SendValidationEvent(SR.Sch_FixedAttributeValue, attdef!.
Name
.ToString());
405
SendValidationEvent(SR.Sch_AttributeValueDataType, attdef.
Name
.ToString());
554
XmlSchemaException e = new XmlSchemaException(SR.Sch_AttributeDefaultDataType, attdef.
Name
.ToString());
615
XmlSchemaException e = new XmlSchemaException(SR.Sch_AttributeDefaultDataType, attdef.
Name
.ToString());
System\Xml\Schema\SchemaAttDef.cs (1)
62
get { return ((SchemaAttDef)this).
Name
.Name; }
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
788
if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.
Name
!= XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
System\Xml\Schema\SchemaElementDecl.cs (4)
71
get { return ((SchemaElementDecl)this).
Name
.Name; }
190
_attdefs.Add(attdef.
Name
, attdef);
236
if (presence[attdef.
Name
] == null)
240
throw new XmlSchemaException(SR.Sch_MissRequiredAttribute, attdef.
Name
.ToString());
System\Xml\Schema\SchemaInfo.cs (1)
321
_attributeDecls.TryAdd(attdef.
Name
, attdef);
System\Xml\Schema\SchemaSetCompiler.cs (1)
864
if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.
Name
!= XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
System\Xml\Schema\XdrBuilder.cs (3)
697
builder.SendValidationEvent(SR.Sch_UndeclaredElement, XmlQualifiedName.ToString(ed!.
Name
.Name, ed.Prefix));
804
if (builder._ElementDef._ElementDecl!.
Name
.IsEmpty)
1774
XmlQualifiedName.ToString(_ElementDef._ElementDecl.
Name
.Name, _ElementDef._ElementDecl.Prefix));
System\Xml\Schema\XdrValidator.cs (4)
278
_attPresence.Add(attnDef.
Name
, attnDef);
532
SendValidationEvent(SR.Sch_FixedAttributeValue, attdef!.
Name
.ToString());
544
SendValidationEvent(SR.Sch_AttributeValueDataType, attdef.
Name
.ToString());
624
XmlSchemaException e = new XmlSchemaException(SR.Sch_AttributeDefaultDataType, attdef.
Name
.ToString(), baseUri, lineNo, linePos);
System\Xml\Schema\XmlSchemaValidator.cs (12)
984
if (_attPresence[attDef.
Name
] == null)
1027
if (!_attPresence.Contains(attdef.
Name
))
1035
string attributeNS = _nameTable.Add(attdef.
Name
.Namespace);
1042
SendValidationEvent(SR.Sch_DefaultAttributeNotApplied, new string[2] { attdef.
Name
.ToString(), QNameString(_context.LocalName!, _context.Namespace!) });
1051
attrData.LocalName = _nameTable.Add(attdef.
Name
.Name);
1089
AttributeIdentityConstraints(attdef.
Name
.Name, attdef.
Name
.Namespace, attdef.DefaultValueTyped, attdef.DefaultValueRaw, datatype);
1834
SendValidationEvent(SR.Sch_FixedElementValue, elementDecl.
Name
.ToString());
1955
SendValidationEvent(SR.Sch_FixedAttributeValue, attdef.
Name
.ToString());
1963
SendValidationEvent(SR.Sch_AttributeValueDataTypeDetailed, new string[] { attdef.
Name
.ToString(), stringValue, GetTypeName(decl), exception.Message }, exception);
2102
if (_attPresence[attdef.
Name
] == null)
2106
SendValidationEvent(SR.Sch_MissRequiredAttribute, attdef.
Name
.ToString());
System\Xml\Schema\XsdValidator.cs (6)
492
_attPresence.Add(attnDef.
Name
, attnDef);
542
if (HasIdentityConstraints && !_attPresence.Contains(attdef.
Name
))
544
AttributeIdentityConstraints(attdef.
Name
.Name, attdef.
Name
.Namespace, UnWrapUnion(attdef.DefaultValueTyped), attdef.DefaultValueRaw, attdef);
726
SendValidationEvent(SR.Sch_FixedAttributeValue, attdef!.
Name
.ToString());
743
SendValidationEvent(SR.Sch_AttributeValueDataType, attdef.
Name
.ToString());