32 references to Attributes
System.Data.Common (3)
System\Data\XMLSchema.cs (3)
602if (HasAttributes(ct.Attributes)) 1123HandleAttributes(ct.Attributes, table, isBase); 1128HandleAttributes(ct.Attributes, table, isBase);
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\SchemaExporter.cs (3)
171AddReferenceAttributes(type.Attributes, schema); 411AddReferenceAttributes(type.Attributes, schema); 483type.Attributes.Add(iSerializableFactoryTypeAttribute);
System\Runtime\Serialization\SchemaImporter.cs (4)
452dataContract = ImportType(typeName, complexType.Particle, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation); 769if (xsdType.AnyAttribute != null || (xsdType.Attributes != null && xsdType.Attributes.Count > 0)) 795if (xsdType.AnyAttribute == null || xsdType.Attributes.Count > 0)
System.Private.Xml (20)
System\Xml\Schema\Inference\Infer.cs (5)
1262xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.Attributes, ct.AttributeUses); 1286ct.Attributes.Add(scExtension.Attributes[i]); 1301sourceCollection = ct.Attributes; 1309ct.Attributes.Clear(); //Clear from pre-compiled property, post compiled will be cleared on Re-process and Compile() 1410SwitchUseToOptional(ct.Attributes, attributesInInstance);
System\Xml\Schema\Preprocessor.cs (1)
1832PreprocessAttributes(complexType.Attributes, complexType.AnyAttribute, complexType);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
364CleanupAttributes(complexType.Attributes); 746CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1496PreprocessAttributes(complexType.Attributes, complexType.AnyAttribute, complexType);
System\Xml\Schema\SchemaSetCompiler.cs (2)
352CleanupAttributes(complexType.Attributes); 837CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
393complexType.SetAttributes(CloneAttributes(complexType.Attributes));
System\Xml\Schema\XsdBuilder.cs (4)
1643(builder._complexType.Particle != null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null) 1709(builder._complexType.Particle != null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null) 2338_complexType.Attributes.Add(value); 2387(_complexType.Attributes.Count != 0 || _complexType.AnyAttribute != null) ||
System\Xml\Serialization\ImportContext.cs (1)
299attributes = ct.Attributes;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
842WriteSortedItems(o.Attributes);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
685attributes = type.Attributes;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
712items.Attributes = ct.Attributes;
System.Web.Services.Description (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
3740global::System.Xml.Schema.XmlSchemaObjectCollection a = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Attributes; 11244global::System.Xml.Schema.XmlSchemaObjectCollection a_11 = (global::System.Xml.Schema.XmlSchemaObjectCollection)o.@Attributes;