8 writes to Name
System.Xml (8)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1866decl.Name = xe.QualifiedName;
System\Xml\Schema\SchemaSetCompiler.cs (1)
2213decl.Name = xe.QualifiedName;
System\Xml\Schema\XdrBuilder.cs (6)
629builder._UndefinedAttributeTypes._Attdef.Name = gname; 677builder._ElementDef._ElementDecl.Name = qname; 832patt._Attdef.Name = pName; 930builder._AttributeDef._AttDef.Name = qname; 943builder._AttributeDef._AttDef.Name = qname; 1150attdef.Name = qname;
65 references to Name
System.Xml (65)
System\Xml\Core\XmlTextReaderImpl.cs (2)
8247string localName = nameTable.Add( attrDef.Name.Name ); 8249string ns = nameTable.Add( attrDef.Name.Namespace );
System\Xml\Dom\XmlDocument.cs (6)
549string attrLocalname = attdef.Name.Name; 552attrPrefix = attdef.Name.Namespace; 555attrNamespaceURI = attdef.Name.Namespace; 1406if ( attdef.Name.Name == attrLocalname ) { 1407if ( ( schInfo.SchemaType == SchemaType.DTD && attdef.Name.Namespace == attrPrefix ) || 1408( schInfo.SchemaType != SchemaType.DTD && attdef.Name.Namespace == attrNamespaceURI ) ) {
System\Xml\Dom\XmlLoader.cs (2)
588doc.AddXmlName(elementDecl.Prefix, elementDecl.Name.Name, string.Empty, null), 589doc.AddAttrXmlName(attdef.Prefix, attdef.Name.Name, string.Empty, null));
System\Xml\Schema\DtdParser.cs (8)
650if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 666bool attrDefAlreadyExists = (elementDecl.GetAttDef(attrDef.Name) != null); 673if ( attrDef.Name.Name == "space" ) { 698else if ( attrDef.Name.Name == "lang" ) { 732SchemaAttDef idAttrDef = elementDecl.GetAttDef( attrDef.Name ); 734SendValidationEvent( XmlSeverityType.Error, Res.Sch_IdAttrDeclared, elementDecl.Name.ToString() ); 747SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_DupNotationAttribute, elementDecl.Name.ToString() ); // 8 == strlen("NOTATION") 753SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_NotationAttributeOnEmptyElement, elementDecl.Name.ToString() );// 8 == strlen("NOTATION")
System\Xml\Schema\DtdParserAsync.cs (8)
295if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 311bool attrDefAlreadyExists = (elementDecl.GetAttDef(attrDef.Name) != null); 318if ( attrDef.Name.Name == "space" ) { 343else if ( attrDef.Name.Name == "lang" ) { 377SchemaAttDef idAttrDef = elementDecl.GetAttDef( attrDef.Name ); 379SendValidationEvent( XmlSeverityType.Error, Res.Sch_IdAttrDeclared, elementDecl.Name.ToString() ); 392SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_DupNotationAttribute, elementDecl.Name.ToString() ); // 8 == strlen("NOTATION") 398SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_NotationAttributeOnEmptyElement, elementDecl.Name.ToString() );// 8 == strlen("NOTATION")
System\Xml\Schema\DtdValidator.cs (5)
159attPresence.Add(attnDef.Name, attnDef); 325SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 334SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString()); 459XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString()); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString());
System\Xml\Schema\SchemaAttDef.cs (1)
68get { return ((SchemaAttDef)this).Name.Name; }
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
621if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
System\Xml\Schema\SchemaElementDecl.cs (4)
74get { return ((SchemaElementDecl)this).Name.Name; } 173attdefs.Add(attdef.Name, attdef); 215if (presence[attdef.Name] == null) { 217throw new XmlSchemaException(Res.Sch_MissRequiredAttribute, attdef.Name.ToString());
System\Xml\Schema\SchemaInfo.cs (2)
310if (!attributeDecls.ContainsKey(attdef.Name)) { 311attributeDecls.Add(attdef.Name, attdef);
System\Xml\Schema\SchemaSetCompiler.cs (1)
678if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
System\Xml\Schema\XdrBuilder.cs (3)
639builder.SendValidationEvent(Res.Sch_UndeclaredElement, XmlQualifiedName.ToString(ed.Name.Name, ed.Prefix)); 732if (builder._ElementDef._ElementDecl.Name.IsEmpty) { 1548XmlQualifiedName.ToString(_ElementDef._ElementDecl.Name.Name, _ElementDef._ElementDecl.Prefix));
System\Xml\Schema\XdrValidator.cs (4)
226attPresence.Add(attnDef.Name, attnDef); 435SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 444SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString()); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString(), baseUri, lineNo, linePos);
System\Xml\Schema\XmlSchemaValidator.cs (12)
866if (attPresence[attDef.Name] == null) { 894if (!attPresence.Contains(attdef.Name)) { 900string attributeNS = nameTable.Add(attdef.Name.Namespace); 905SendValidationEvent(Res.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(context.LocalName, context.Namespace)}); 912attrData.LocalName = nameTable.Add(attdef.Name.Name); 944AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, attdef.DefaultValueTyped, attdef.DefaultValueRaw, datatype); 1539SendValidationEvent(Res.Sch_FixedElementValue, elementDecl.Name.ToString()); 1639SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 1648SendValidationEvent(Res.Sch_AttributeValueDataTypeDetailed, new string[] { attdef.Name.ToString(), stringValue, GetTypeName(decl), exception.Message }, exception); 1765if (attPresence[attdef.Name] == null) { 1767SendValidationEvent(Res.Sch_MissRequiredAttribute, attdef.Name.ToString());
System\Xml\Schema\XsdValidator.cs (6)
407attPresence.Add(attnDef.Name, attnDef); 449if (HasIdentityConstraints && !attPresence.Contains(attdef.Name)) { 450AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, UnWrapUnion(attdef.DefaultValueTyped), attdef.DefaultValueRaw, attdef); 609SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 622SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString());