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