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