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\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\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\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;