21 instantiations of XmlSchemaAttribute
dotnet-svcutil-lib (21)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (4)
329attributeReference = new XmlSchemaAttribute(); 388attributeReference = new XmlSchemaAttribute(); 407xsa = new XmlSchemaAttribute(); 437xsa = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (6)
447XmlSchemaAttribute lang = new XmlSchemaAttribute(); 452XmlSchemaAttribute xmlbase = new XmlSchemaAttribute(); 457XmlSchemaAttribute space = new XmlSchemaAttribute(); 475XmlSchemaAttribute langRef = new XmlSchemaAttribute(); 478XmlSchemaAttribute spaceRef = new XmlSchemaAttribute(); 481XmlSchemaAttribute baseRef = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (4)
2491XmlSchemaAttribute tempXsiTypeSO = new XmlSchemaAttribute(); 2499XmlSchemaAttribute tempxsiNilSO = new XmlSchemaAttribute(); 2508XmlSchemaAttribute tempxsiSLSO = new XmlSchemaAttribute(); 2517XmlSchemaAttribute tempxsiNoNsSLSO = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1258builder._xso = builder._attribute = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
253XmlSchemaAttribute attr = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
733XmlSchemaAttribute attribute = new XmlSchemaAttribute(); 766XmlSchemaAttribute attribute = new XmlSchemaAttribute(); 795XmlSchemaAttribute refAttribute = new XmlSchemaAttribute();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (1)
313XmlSchemaAttribute iSerializableFactoryTypeAttribute = new XmlSchemaAttribute();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
9148o = new Microsoft.Xml.Schema.XmlSchemaAttribute();
242 references to XmlSchemaAttribute
dotnet-svcutil-lib (242)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlAsyncCheckReader.cs (1)
1093XmlSchemaAttribute IXmlSchemaInfo.SchemaAttribute
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (2)
1778XmlSchemaAttribute IXmlSchemaInfo.SchemaAttribute 2258XmlSchemaAttribute schemaAttr = _attributePSVI.attributeSchemaInfo.SchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (1)
674XmlSchemaAttribute schemaAttr = _attributePSVI.attributeSchemaInfo.SchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (7)
437XmlSchemaAttribute schemaAttribute = null; 442schemaAttribute = _defaultAttributes[i] as XmlSchemaAttribute; 459private void SetDefaultAttributeSchemaInfo(XmlSchemaAttribute schemaAttribute) 577private XmlSchemaAttribute FindSchemaInfo(XmlAttribute attributeToValidate) 587XmlSchemaAttribute schemaAttribute = elementSchemaType.AttributeUses[attName] as XmlSchemaAttribute; 595schemaAttribute = _schemas.GlobalAttributes[attName] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlName.cs (4)
169public virtual XmlSchemaAttribute SchemaAttribute 276public override XmlSchemaAttribute SchemaAttribute 280return _decl as XmlSchemaAttribute; 310&& (object)schemaInfo.SchemaAttribute == (object)(_decl as XmlSchemaAttribute))
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
107else if (item is XmlSchemaAttribute)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (15)
288private XmlSchemaAttribute AddAttribute(string localName, string prefix, string childURI, string attrValue, bool bCreatingNewType, XmlSchema parentSchema, XmlSchemaObjectCollection addLocation, XmlSchemaObjectTable compiledAttributes) 295XmlSchemaAttribute xsa = null; 297XmlSchemaAttribute returnedAttribute = null; //this value will change to attributeReference if childURI!= parentURI 320XmlSchemaAttribute attributeReference = null; 379XmlSchemaAttribute attributeReference = null; 1258XmlSchemaAttribute xsa = null; 1327foreach (XmlSchemaAttribute attr in sourceCollection) 1334internal XmlSchemaAttribute FindAttribute(ICollection attributes, string attrName) 1338XmlSchemaAttribute schemaAttribute = xsa as XmlSchemaAttribute; 1384internal XmlSchemaAttribute FindAttributeRef(ICollection attributes, string attributeName, string nsURI) 1388XmlSchemaAttribute schemaAttribute = xsa as XmlSchemaAttribute; 1437XmlSchemaAttribute attr = attributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\schema\IXmlSchemaInfo.cs (1)
36XmlSchemaAttribute SchemaAttribute { get; }
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (14)
447XmlSchemaAttribute lang = new XmlSchemaAttribute(); 452XmlSchemaAttribute xmlbase = new XmlSchemaAttribute(); 457XmlSchemaAttribute space = new XmlSchemaAttribute(); 475XmlSchemaAttribute langRef = new XmlSchemaAttribute(); 478XmlSchemaAttribute spaceRef = new XmlSchemaAttribute(); 481XmlSchemaAttribute baseRef = new XmlSchemaAttribute(); 758XmlSchemaAttribute attribute = schemaItems[i] as XmlSchemaAttribute; 824foreach (XmlSchemaAttribute attribute in includedSchema.Attributes.Values) 1180private void PreprocessAttribute(XmlSchemaAttribute attribute) 1203private void PreprocessLocalAttribute(XmlSchemaAttribute attribute) 1236private void PreprocessAttributeContent(XmlSchemaAttribute attribute) 2041XmlSchemaAttribute attr = attributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (2)
40private XmlSchemaAttribute _schemaAttribute; 188internal XmlSchemaAttribute SchemaAttribute
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (32)
84foreach (XmlSchemaAttribute attribute in _schema.Attributes.Values) 110XmlSchemaAttribute attr; 117if ((attr = item as XmlSchemaAttribute) != null) 148XmlSchemaAttribute attr; 155if ((attr = item as XmlSchemaAttribute) != null) 224foreach (XmlSchemaAttribute attribute in _schema.Attributes.Values) 272foreach (XmlSchemaAttribute attribute in _schema.Attributes.Values) 299private static void CleanupAttribute(XmlSchemaAttribute attribute) 392XmlSchemaAttribute attribute = attributes[i] as XmlSchemaAttribute; 743foreach (XmlSchemaAttribute attribute in complexType.AttributeUses.Values) 768foreach (XmlSchemaAttribute attribute in complexType.AttributeUses.Values) 1731XmlSchemaAttribute attribute = attributeGroup.Attributes[i] as XmlSchemaAttribute; 1762foreach (XmlSchemaAttribute attributeValue in attributeGroupResolved.AttributeUses.Values) 1790XmlSchemaAttribute attribute = attributes[i] as XmlSchemaAttribute; 1821foreach (XmlSchemaAttribute attributeValue in attributeGroup.AttributeUses.Values) 1855foreach (XmlSchemaAttribute attributeBase in baseType.AttributeUses.Values) 1857XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1885foreach (XmlSchemaAttribute attributeBase in baseType.AttributeUses.Values) 1887XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1920foreach (XmlSchemaAttribute attribute in derivedType.AttributeUses.Values) 1922XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.QualifiedName]; 1957foreach (XmlSchemaAttribute attribute in attributeUses.Values) 1988foreach (XmlSchemaAttribute attribute in attributeUses.Values) 2050private void CompileAttribute(XmlSchemaAttribute xa) 2067XmlSchemaAttribute a = (XmlSchemaAttribute)_schema.Attributes[xa.RefName];
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (8)
511foreach (XmlSchemaAttribute attribute in includedSchema.Attributes.Values) 539XmlSchemaAttribute attribute = schema.Items[i] as XmlSchemaAttribute; 829private void PreprocessAttribute(XmlSchemaAttribute attribute) 852private void PreprocessLocalAttribute(XmlSchemaAttribute attribute) 885private void PreprocessAttributeContent(XmlSchemaAttribute attribute) 1688XmlSchemaAttribute attribute = attributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (3)
172internal XmlSchemaAttribute GetAttribute(XmlQualifiedName qname) 273XmlSchemaAttribute attr = partialValidationType as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (34)
66foreach (XmlSchemaAttribute attribute in schema.Attributes.Values) 147foreach (XmlSchemaAttribute attribute in _attributes.Values) 218foreach (XmlSchemaAttribute attribute in _attributes.Values) 277private void CleanupAttribute(XmlSchemaAttribute attribute) 395XmlSchemaAttribute attribute = attributes[i] as XmlSchemaAttribute; 840foreach (XmlSchemaAttribute attribute in complexType.AttributeUses.Values) 2069XmlSchemaAttribute attr = attributeGroup.Attributes[i] as XmlSchemaAttribute; 2101foreach (XmlSchemaAttribute attribute in attributeGroupResolved.AttributeUses.Values) 2133XmlSchemaAttribute attr = attributes[i] as XmlSchemaAttribute; 2164foreach (XmlSchemaAttribute attribute in attributeGroup.AttributeUses.Values) 2198foreach (XmlSchemaAttribute attributeBase in baseType.AttributeUses.Values) 2200XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 2228foreach (XmlSchemaAttribute attributeBase in baseType.AttributeUses.Values) 2230XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 2271foreach (XmlSchemaAttribute attribute in derivedType.AttributeUses.Values) 2273XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.QualifiedName]; 2310foreach (XmlSchemaAttribute attributeBase in baseAttributeGroup.AttributeUses.Values) 2312XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedAttributeGroup.AttributeUses[attributeBase.QualifiedName]; 2342foreach (XmlSchemaAttribute attribute in derivedAttributeGroup.AttributeUses.Values) 2344XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseAttributeGroup.AttributeUses[attribute.QualifiedName]; 2362foreach (XmlSchemaAttribute attribute in attributeUses.Values) 2393foreach (XmlSchemaAttribute attribute in attributeUses.Values) 2468private void CompileAttribute(XmlSchemaAttribute xa) 2485XmlSchemaAttribute a = (XmlSchemaAttribute)_attributes[xa.RefName]; 2578private void SetDefaultFixed(XmlSchemaAttribute xa, SchemaAttDef decl)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (1)
361XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (2)
224XmlSchemaAttribute newAtt = (XmlSchemaAttribute)MemberwiseClone();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttributeGroup.cs (1)
44[XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentExtension.cs (1)
54[XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentRestriction.cs (1)
54[XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (6)
224[XmlElement("attribute", typeof(XmlSchemaAttribute)), 388foreach (XmlSchemaAttribute attribute in this.AttributeUses.Values) 505XmlSchemaAttribute att; 519att = xso as XmlSchemaAttribute; 648XmlSchemaAttribute attribute = attributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaInfo.cs (2)
20private XmlSchemaAttribute _schemaAttribute; 120public XmlSchemaAttribute SchemaAttribute
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (6)
1297foreach (XmlSchemaAttribute attribute in otherSet.GlobalAttributes.Values) 1339foreach (XmlSchemaAttribute attributeToRemove in otherSet.GlobalAttributes.Values) 1526foreach (XmlSchemaAttribute attributeToRemove in schema.Attributes.Values) 1528XmlSchemaAttribute attr = (XmlSchemaAttribute)attributes[attributeToRemove.QualifiedName]; 1569else if (item is XmlSchemaAttribute)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleContentExtension.cs (1)
38[XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleContentRestriction.cs (1)
72[XmlElement("attribute", typeof(XmlSchemaAttribute)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (24)
129private static XmlSchemaAttribute s_xsiTypeSO; 130private static XmlSchemaAttribute s_xsiNilSO; 131private static XmlSchemaAttribute s_xsiSLSO; 132private static XmlSchemaAttribute s_xsiNoNsSLSO; 150private static XmlSchemaAttribute[] s_emptyAttributeArray = new XmlSchemaAttribute[0]; 399if (!(partialValidationType is XmlSchemaElement || partialValidationType is XmlSchemaAttribute || partialValidationType is XmlSchemaType)) 543XmlSchemaAttribute localAttribute = null; 624SendValidationEvent(ResXml.Sch_SchemaAttributeNameMismatch, new string[] { attQName.ToString(), ((XmlSchemaAttribute)pvtAttribute).QualifiedName.ToString() }); 1013public XmlSchemaAttribute[] GetExpectedAttributes() 1033return attList.ToArray(typeof(XmlSchemaAttribute)) as XmlSchemaAttribute[]; 1039XmlSchemaAttribute attribute = _partialValidationType as XmlSchemaAttribute; 1042return new XmlSchemaAttribute[1] { attribute }; 1646Debug.Assert(_partialValidationType is XmlSchemaAttribute); 2491XmlSchemaAttribute tempXsiTypeSO = new XmlSchemaAttribute(); 2495Interlocked.CompareExchange<XmlSchemaAttribute>(ref s_xsiTypeSO, tempXsiTypeSO, null); 2499XmlSchemaAttribute tempxsiNilSO = new XmlSchemaAttribute(); 2503Interlocked.CompareExchange<XmlSchemaAttribute>(ref s_xsiNilSO, tempxsiNilSO, null); 2508XmlSchemaAttribute tempxsiSLSO = new XmlSchemaAttribute(); 2512Interlocked.CompareExchange<XmlSchemaAttribute>(ref s_xsiSLSO, tempxsiSLSO, null); 2517XmlSchemaAttribute tempxsiNoNsSLSO = new XmlSchemaAttribute(); 2521Interlocked.CompareExchange<XmlSchemaAttribute>(ref s_xsiNoNsSLSO, tempxsiNoNsSLSO, null);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
649private XmlSchemaAttribute _attribute; 1002_attribute = (XmlSchemaAttribute)container;
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (5)
502else if (t == typeof(XmlSchemaAttribute)) 504XmlSchemaAttribute at = (XmlSchemaAttribute)item; 507at = (XmlSchemaAttribute)_schemas.Find(at.RefName, typeof(XmlSchemaAttribute), false);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (5)
65if (o is XmlSchemaAttribute) 67return ((XmlSchemaAttribute)o).QualifiedName; 298private void Write1_XmlSchemaAttribute(XmlSchemaAttribute o) 484else if (t == typeof(XmlSchemaAttribute)) 486Write1_XmlSchemaAttribute((XmlSchemaAttribute)o);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
253XmlSchemaAttribute attr = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (5)
358if (item is XmlSchemaAttribute) 360XmlSchemaAttribute attr = (XmlSchemaAttribute)item; 479XmlSchemaAttribute attribute = restriction.Attributes[i] as XmlSchemaAttribute;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (6)
322else if (item is XmlSchemaAttribute) 324XmlSchemaAttribute a = (XmlSchemaAttribute)item; 733XmlSchemaAttribute attribute = new XmlSchemaAttribute(); 766XmlSchemaAttribute attribute = new XmlSchemaAttribute(); 795XmlSchemaAttribute refAttribute = new XmlSchemaAttribute();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (12)
767if (item is XmlSchemaAttribute) 769ImportAttributeMember((XmlSchemaAttribute)item, identifier, members, membersScope, typeNs); 1568private void ImportAttributeMember(XmlSchemaAttribute attribute, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, string ns) 1682else if (item is XmlSchemaAttribute) 1683ImportAttributeMember((XmlSchemaAttribute)item, identifier, members, membersScope, ns); 1702private AttributeAccessor ImportAttribute(XmlSchemaAttribute attribute, string identifier, string ns, XmlSchemaAttribute defaultValueProvider) 2061private XmlSchemaAttribute FindAttribute(XmlQualifiedName name) 2063XmlSchemaAttribute attribute = (XmlSchemaAttribute)Schemas.Find(name, typeof(XmlSchemaAttribute)); 2143private XmlSchemaForm AttributeForm(string ns, XmlSchemaAttribute attribute)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (6)
354else if (type == typeof(XmlSchemaAttribute)) 568else if (o is XmlSchemaAttribute) 570return ((XmlSchemaAttribute)o).Name; 645else if (o is XmlSchemaAttribute) 647XmlSchemaAttribute a = ((XmlSchemaAttribute)o);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
1049XmlSchemaAttribute schemaAttribute = null; 1112private XmlReader GetValidatingReader(XmlReader reader, XmlSchemaSet schemas, ValidationEventHandler validationEvent, XmlSchemaType schemaType, XmlSchemaElement schemaElement, XmlSchemaAttribute schemaAttribute)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (1)
1140public virtual XmlSchemaAttribute SchemaAttribute { get { return IsReading ? this.schemaInfo.SchemaAttribute : null; } }
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
309internal static XmlSchemaAttribute ISerializableFactoryTypeAttribute 313XmlSchemaAttribute iSerializableFactoryTypeAttribute = new XmlSchemaAttribute();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (6)
890if (o is XmlSchemaAttribute) 892if (((XmlSchemaAttribute)o).RefName == factoryTypeAttributeRefName) 1385if (o is XmlSchemaAttribute) 1387XmlSchemaAttribute attribute = (XmlSchemaAttribute)o; 1402private bool TryCheckIfAttribute(XmlQualifiedName typeName, XmlSchemaAttribute attribute, XmlQualifiedName refName, ref bool foundAttribute)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (18)
2396else if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 2398Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4024else if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4026Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4085private void Write36_XmlSchemaAttribute(string n, string ns, Microsoft.Xml.Schema.XmlSchemaAttribute o, bool isNullable, bool needType) 4095if (t == typeof(Microsoft.Xml.Schema.XmlSchemaAttribute)) 4489if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4491Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4580if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4582Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4768if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4770Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4834if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4836Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 4944else if (ai is Microsoft.Xml.Schema.XmlSchemaAttribute) 4946Write36_XmlSchemaAttribute(@"attribute", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAttribute)ai), false, false); 9132private Microsoft.Xml.Schema.XmlSchemaAttribute Read36_XmlSchemaAttribute(bool isNullable, bool checkType) 9147Microsoft.Xml.Schema.XmlSchemaAttribute o;