8 writes to Name
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
2354
decl.
Name
= xe.QualifiedName;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
2786
decl.
Name
= xe.QualifiedName;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (6)
695
builder._UndefinedAttributeTypes._Attdef.
Name
= gname;
745
builder._ElementDef._ElementDecl.
Name
= qname;
929
patt._Attdef.
Name
= pName;
1042
builder._AttributeDef._AttDef.
Name
= qname;
1059
builder._AttributeDef._AttDef.
Name
= qname;
1304
attdef.
Name
= qname;
57 references to Name
dotnet-svcutil-lib (57)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (2)
9364
string localName = _nameTable.Add(attrDef.
Name
.Name);
9366
string ns = _nameTable.Add(attrDef.
Name
.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (6)
611
string attrLocalname = attdef.
Name
.Name;
614
attrPrefix = attdef.
Name
.Namespace;
618
attrNamespaceURI = attdef.
Name
.Namespace;
1629
if (attdef.
Name
.Name == attrLocalname)
1631
if ((schInfo.SchemaType == SchemaType.DTD && attdef.
Name
.Namespace == attrPrefix) ||
1632
(schInfo.SchemaType != SchemaType.DTD && attdef.
Name
.Namespace == attrNamespaceURI))
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (2)
677
_doc.AddXmlName(elementDecl.Prefix, elementDecl.
Name
.Name, string.Empty, null),
678
_doc.AddAttrXmlName(attdef.Prefix, attdef.
Name
.Name, string.Empty, null));
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (8)
694
if (attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals("xml") && attrDef.
Name
.Name == "space")
712
bool attrDefAlreadyExists = (elementDecl.GetAttDef(attrDef.
Name
) != null);
720
if (attrDef.
Name
.Name == "space")
747
else if (attrDef.
Name
.Name == "lang")
785
SchemaAttDef idAttrDef = elementDecl.GetAttDef(attrDef.
Name
);
788
SendValidationEvent(XmlSeverityType.Error, ResXml.Sch_IdAttrDeclared, elementDecl.
Name
.ToString());
801
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, ResXml.Sch_DupNotationAttribute, elementDecl.
Name
.ToString()); // 8 == strlen("NOTATION")
809
SendValidationEvent(_curPos - 8, XmlSeverityType.Error, ResXml.Sch_NotationAttributeOnEmptyElement, elementDecl.
Name
.ToString());// 8 == strlen("NOTATION")
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (5)
187
_attPresence.Add(attnDef.
Name
, attnDef);
390
SendValidationEvent(ResXml.Sch_FixedAttributeValue, attdef.
Name
.ToString());
402
SendValidationEvent(ResXml.Sch_AttributeValueDataType, attdef.
Name
.ToString());
556
XmlSchemaException e = new XmlSchemaException(ResXml.Sch_AttributeDefaultDataType, attdef.
Name
.ToString());
621
XmlSchemaException e = new XmlSchemaException(ResXml.Sch_AttributeDefaultDataType, attdef.
Name
.ToString());
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
68
get { return ((SchemaAttDef)this).
Name
.Name; }
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
779
if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.
Name
!= XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (4)
72
get { return ((SchemaElementDecl)this).
Name
.Name; }
190
_attdefs.Add(attdef.
Name
, attdef);
239
if (presence[attdef.
Name
] == null)
243
throw new XmlSchemaException(ResXml.Sch_MissRequiredAttribute, attdef.
Name
.ToString());
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (2)
375
if (!_attributeDecls.ContainsKey(attdef.
Name
))
377
_attributeDecls.Add(attdef.
Name
, attdef);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
851
if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.
Name
!= XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (3)
707
builder.SendValidationEvent(ResXml.Sch_UndeclaredElement, XmlQualifiedName.ToString(ed.
Name
.Name, ed.Prefix));
812
if (builder._ElementDef._ElementDecl.
Name
.IsEmpty)
1785
XmlQualifiedName.ToString(_ElementDef._ElementDecl.
Name
.Name, _ElementDef._ElementDecl.Prefix));
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (4)
276
_attPresence.Add(attnDef.
Name
, attnDef);
531
SendValidationEvent(ResXml.Sch_FixedAttributeValue, attdef.
Name
.ToString());
543
SendValidationEvent(ResXml.Sch_AttributeValueDataType, attdef.
Name
.ToString());
624
XmlSchemaException e = new XmlSchemaException(ResXml.Sch_AttributeDefaultDataType, attdef.
Name
.ToString(), baseUri, lineNo, linePos);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (12)
1023
if (_attPresence[attDef.
Name
] == null)
1059
if (!_attPresence.Contains(attdef.
Name
))
1067
string attributeNS = _nameTable.Add(attdef.
Name
.Namespace);
1074
SendValidationEvent(ResXml.Sch_DefaultAttributeNotApplied, new string[2] { attdef.
Name
.ToString(), QNameString(_context.LocalName, _context.Namespace) });
1082
attrData.LocalName = _nameTable.Add(attdef.
Name
.Name);
1118
AttributeIdentityConstraints(attdef.
Name
.Name, attdef.
Name
.Namespace, attdef.DefaultValueTyped, attdef.DefaultValueRaw, datatype);
1853
SendValidationEvent(ResXml.Sch_FixedElementValue, elementDecl.
Name
.ToString());
1976
SendValidationEvent(ResXml.Sch_FixedAttributeValue, attdef.
Name
.ToString());
1986
SendValidationEvent(ResXml.Sch_AttributeValueDataTypeDetailed, new string[] { attdef.
Name
.ToString(), stringValue, GetTypeName(decl), exception.Message }, exception);
2134
if (_attPresence[attdef.
Name
] == null)
2138
SendValidationEvent(ResXml.Sch_MissRequiredAttribute, attdef.
Name
.ToString());
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (6)
500
_attPresence.Add(attnDef.
Name
, attnDef);
550
if (HasIdentityConstraints && !_attPresence.Contains(attdef.
Name
))
552
AttributeIdentityConstraints(attdef.
Name
.Name, attdef.
Name
.Namespace, UnWrapUnion(attdef.DefaultValueTyped), attdef.DefaultValueRaw, attdef);
742
SendValidationEvent(ResXml.Sch_FixedAttributeValue, attdef.
Name
.ToString());
759
SendValidationEvent(ResXml.Sch_AttributeValueDataType, attdef.
Name
.ToString());