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