35 references to AttributeUses
System.Private.Xml (35)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
560
XmlSchemaAttribute? schemaAttribute = elementSchemaType.
AttributeUses
[attName] as XmlSchemaAttribute;
System\Xml\Schema\Inference\Infer.cs (4)
1258
xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, sce.Attributes, ct.
AttributeUses
);
1262
xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.Attributes, ct.
AttributeUses
);
1295
if (!bCreatingNewType && ct.
AttributeUses
.Count > 0)
1297
sourceCollection = ct.
AttributeUses
.Values;
System\Xml\Schema\SchemaCollectionCompiler.cs (15)
367
complexType.
AttributeUses
.Clear();
752
foreach (XmlSchemaAttribute? attribute in complexType.
AttributeUses
.Values)
777
foreach (XmlSchemaAttribute? attribute in complexType.
AttributeUses
.Values)
1799
if (derivedType.
AttributeUses
[attribute.QualifiedName] == null)
1801
derivedType.
AttributeUses
.Add(attribute.QualifiedName, attribute);
1825
if (derivedType.
AttributeUses
[attributeValue.QualifiedName] == null)
1827
derivedType.
AttributeUses
.Add(attributeValue.QualifiedName, attributeValue);
1854
foreach (XmlSchemaAttribute? attributeBase in baseType.
AttributeUses
.Values)
1856
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.
AttributeUses
[attributeBase!.QualifiedName];
1867
derivedType.
AttributeUses
.Add(attributeBase.QualifiedName, attributeBase);
1884
foreach (XmlSchemaAttribute? attributeBase in baseType.
AttributeUses
.Values)
1886
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.
AttributeUses
[attributeBase!.QualifiedName];
1889
derivedType.
AttributeUses
.Add(attributeBase.QualifiedName, attributeBase);
1909
foreach (XmlSchemaAttribute? attribute in derivedType.
AttributeUses
.Values)
1911
XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.
AttributeUses
[attribute!.QualifiedName];
System\Xml\Schema\SchemaSetCompiler.cs (14)
356
complexType.
AttributeUses
.Clear();
853
foreach (XmlSchemaAttribute? attribute in complexType.
AttributeUses
.Values)
2159
if (derivedType.
AttributeUses
[attr.QualifiedName] == null)
2161
derivedType.
AttributeUses
.Add(attr.QualifiedName, attr);
2185
if (derivedType.
AttributeUses
[attribute.QualifiedName] == null)
2187
derivedType.
AttributeUses
.Add(attribute.QualifiedName, attribute);
2215
foreach (XmlSchemaAttribute? attributeBase in baseType.
AttributeUses
.Values)
2217
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.
AttributeUses
[attributeBase!.QualifiedName];
2220
derivedType.
AttributeUses
.Add(attributeBase.QualifiedName, attributeBase);
2245
foreach (XmlSchemaAttribute? attributeBase in baseType.
AttributeUses
.Values)
2247
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.
AttributeUses
[attributeBase!.QualifiedName];
2250
derivedType.
AttributeUses
.Add(attributeBase.QualifiedName, attributeBase);
2278
foreach (XmlSchemaAttribute? attribute in derivedType.
AttributeUses
.Values)
2280
XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.
AttributeUses
[attribute!.QualifiedName];
System\Xml\Schema\XmlSchemaComplexType.cs (1)
298
foreach (XmlSchemaAttribute? attribute in this.
AttributeUses
.Values)