12 writes to Name
System.Private.Xml (12)
System\Xml\Schema\Inference\Infer.cs (2)
387
xsa.
Name
= localName;
417
xsa.
Name
= localName;
System\Xml\Schema\Preprocessor.cs (3)
430
lang.
Name
= "lang";
435
xmlbase.
Name
= "base";
440
space.
Name
= "space";
System\Xml\Schema\XmlSchemaAttribute.cs (1)
168
set {
Name
= value; }
System\Xml\Schema\XmlSchemaValidator.cs (4)
2477
tempXsiTypeSO.
Name
= "type";
2485
tempxsiNilSO.
Name
= "nil";
2494
tempxsiSLSO.
Name
= "schemaLocation";
2503
tempxsiNoNsSLSO.
Name
= "noNamespaceSchemaLocation";
System\Xml\Schema\XsdBuilder.cs (1)
1286
builder._attribute!.
Name
= value;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
732
attribute.
Name
= accessor.Name;
24 references to Name
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1545
instanceName = attr.
Name
?? attr.RefName.Name;
2199
XmlSchemaAttribute? attr = attrib.
Name
!= null ? attrib : (XmlSchemaAttribute)_attributes![attrib.RefName]!;
System.Private.Xml (22)
System\Xml\Schema\Inference\Infer.cs (2)
1319
if (schemaAttribute.
Name
== attrName)
1425
if (null == FindAttribute(attributesInInstance, attr.
Name
!))
System\Xml\Schema\Preprocessor.cs (5)
1149
if (attribute.
Name
!= null)
1152
attribute.SetQualifiedName(new XmlQualifiedName(attribute.
Name
, _targetNamespace));
1172
if (attribute.
Name
!= null)
1176
attribute.SetQualifiedName(new XmlQualifiedName(attribute.
Name
, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
1224
if (attribute.
Name
== _xmlns)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
823
if (attribute.
Name
!= null)
826
attribute.SetQualifiedName(new XmlQualifiedName(attribute.
Name
, _targetNamespace));
846
if (attribute.
Name
!= null)
850
attribute.SetQualifiedName(new XmlQualifiedName(attribute.
Name
, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
896
if (attribute.
Name
== _xmlns)
System\Xml\Schema\XmlSchemaAttribute.cs (1)
167
get { return
Name
; }
System\Xml\Serialization\SchemaObjectWriter.cs (1)
316
WriteAttribute(@"name", @"", ((string?)o.
@Name
));
System\Xml\Serialization\XmlSchemaExporter.cs (1)
293
throw new InvalidOperationException(SR.Format(SR.XmlIllegalForm, a.
Name
));
System\Xml\Serialization\XmlSchemaImporter.cs (4)
1614
if (attribute.
Name
!.Length == 0) throw new InvalidOperationException(SR.XmlAttributeHasNoName);
1616
identifier = CodeIdentifier.MakeValid(attribute.
Name
);
1618
identifier += CodeIdentifier.MakePascal(attribute.
Name
);
1629
accessor.Name = attribute.
Name
;
System\Xml\Serialization\XmlSchemas.cs (3)
462
return ((XmlSchemaAttribute)o).
Name
;
538
if (string.IsNullOrEmpty(a.
Name
))
546
item = SR.Format(SR.XmlSchemaNamedItem, ns, "attribute", a.
Name
, details);