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