29 references to Attributes
dotnet-svcutil-lib (29)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
1285xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.Attributes, ct.AttributeUses); 1309ct.Attributes.Add(scExtension.Attributes[i]); 1324sourceCollection = ct.Attributes; 1331ct.Attributes.Clear(); //Clear from pre-compiled property, post compiled will be cleared on Re-process and Compile() 1429SwitchUseToOptional(ct.Attributes, attributesInInstance);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1735if (complexType.Particle != null || complexType.Attributes != null) 1866PreprocessAttributes(complexType.Attributes, complexType.AnyAttribute, complexType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
353CleanupAttributes(complexType.Attributes); 737CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
1378if (complexType.Particle != null || complexType.Attributes != null) 1509PreprocessAttributes(complexType.Attributes, complexType.AnyAttribute, complexType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
339CleanupAttributes(complexType.Attributes); 824CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
481complexType.SetAttributes(CloneAttributes(complexType.Attributes));
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (4)
1648(builder._complexType.Particle != null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null) 1714(builder._complexType.Particle != null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null) 2343_complexType.Attributes.Add(value); 2392(_complexType.Attributes.Count != 0 || _complexType.AnyAttribute != null) ||
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
379attributes = ct.Attributes;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (1)
843WriteSortedItems(o.Attributes);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
350XmlSchemaObjectCollection items = type.Attributes;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
724attributes = type.Attributes;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
838items.Attributes = ct.Attributes;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (4)
456dataContract = ImportType(typeName, complexType.Particle, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation); 785if (xsdType.AnyAttribute != null || (xsdType.Attributes != null && xsdType.Attributes.Count > 0)) 810if (xsdType.AnyAttribute == null || xsdType.Attributes.Count > 0)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
4013Microsoft.Xml.Schema.XmlSchemaObjectCollection a = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Attributes; 11309Microsoft.Xml.Schema.XmlSchemaObjectCollection a_11 = (Microsoft.Xml.Schema.XmlSchemaObjectCollection)o.@Attributes;