30 references to Attributes
System.Data.Common (3)
System\Data\XMLSchema.cs (3)
602
if (HasAttributes(ct.
Attributes
))
1129
HandleAttributes(ct.
Attributes
, table, isBase);
1134
HandleAttributes(ct.
Attributes
, table, isBase);
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\SchemaExporter.cs (3)
171
AddReferenceAttributes(type.
Attributes
, schema);
411
AddReferenceAttributes(type.
Attributes
, schema);
483
type.
Attributes
.Add(iSerializableFactoryTypeAttribute);
System\Runtime\Serialization\SchemaImporter.cs (4)
452
dataContract = ImportType(typeName, complexType.Particle, complexType.
Attributes
, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation);
769
if (xsdType.AnyAttribute != null || (xsdType.
Attributes
!= null && xsdType.
Attributes
.Count > 0))
795
if (xsdType.AnyAttribute == null || xsdType.
Attributes
.Count > 0)
System.Private.Xml (20)
System\Xml\Schema\Inference\Infer.cs (5)
1262
xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.
Attributes
, ct.AttributeUses);
1286
ct.
Attributes
.Add(scExtension.Attributes[i]);
1301
sourceCollection = ct.
Attributes
;
1309
ct.
Attributes
.Clear(); //Clear from pre-compiled property, post compiled will be cleared on Re-process and Compile()
1410
SwitchUseToOptional(ct.
Attributes
, attributesInInstance);
System\Xml\Schema\Preprocessor.cs (1)
1832
PreprocessAttributes(complexType.
Attributes
, complexType.AnyAttribute, complexType);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
364
CleanupAttributes(complexType.
Attributes
);
746
CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.
Attributes
, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
1496
PreprocessAttributes(complexType.
Attributes
, complexType.AnyAttribute, complexType);
System\Xml\Schema\SchemaSetCompiler.cs (2)
352
CleanupAttributes(complexType.
Attributes
);
837
CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.
Attributes
, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
393
complexType.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)
301
attributes = ct.
Attributes
;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
842
WriteSortedItems(o.
Attributes
);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
685
attributes = type.
Attributes
;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
735
items.Attributes = ct.
Attributes
;