System\Xml\Schema\Inference\Infer.cs (15)
289private XmlSchemaAttribute AddAttribute(string localName, string prefix, string childURI, string attrValue, bool bCreatingNewType, XmlSchema parentSchema, XmlSchemaObjectCollection addLocation, XmlSchemaObjectTable compiledAttributes)
296XmlSchemaAttribute xsa = null;
298XmlSchemaAttribute returnedAttribute = null; //this value will change to attributeReference if childURI!= parentURI
319XmlSchemaAttribute attributeReference = null;
378XmlSchemaAttribute attributeReference = null;
1249XmlSchemaAttribute xsa=null;
1313foreach (XmlSchemaAttribute attr in sourceCollection) {
1319internal XmlSchemaAttribute FindAttribute(ICollection attributes, string attrName)
1323XmlSchemaAttribute schemaAttribute = xsa as XmlSchemaAttribute;
1370internal XmlSchemaAttribute FindAttributeRef(ICollection attributes, string attributeName, string nsURI)
1374XmlSchemaAttribute schemaAttribute = xsa as XmlSchemaAttribute;
1418XmlSchemaAttribute attr = attributes[i] as XmlSchemaAttribute;
System\Xml\Schema\XmlSchemaValidator.cs (24)
124private static XmlSchemaAttribute xsiTypeSO;
125private static XmlSchemaAttribute xsiNilSO;
126private static XmlSchemaAttribute xsiSLSO;
127private static XmlSchemaAttribute xsiNoNsSLSO;
145private static XmlSchemaAttribute[] EmptyAttributeArray = new XmlSchemaAttribute[0];
351if (!(partialValidationType is XmlSchemaElement || partialValidationType is XmlSchemaAttribute || partialValidationType is XmlSchemaType)) {
472XmlSchemaAttribute localAttribute = null;
541SendValidationEvent(Res.Sch_SchemaAttributeNameMismatch, new string[] { attQName.ToString(), ((XmlSchemaAttribute)pvtAttribute).QualifiedName.ToString()});
860public XmlSchemaAttribute[] GetExpectedAttributes() {
874return attList.ToArray(typeof(XmlSchemaAttribute)) as XmlSchemaAttribute[];
878XmlSchemaAttribute attribute = partialValidationType as XmlSchemaAttribute;
880return new XmlSchemaAttribute[1] {attribute};
1372Debug.Assert(partialValidationType is XmlSchemaAttribute);
2070XmlSchemaAttribute tempXsiTypeSO = new XmlSchemaAttribute();
2074Interlocked.CompareExchange<XmlSchemaAttribute>(ref xsiTypeSO, tempXsiTypeSO, null);
2077XmlSchemaAttribute tempxsiNilSO = new XmlSchemaAttribute();
2081Interlocked.CompareExchange<XmlSchemaAttribute>(ref xsiNilSO, tempxsiNilSO, null);
2085XmlSchemaAttribute tempxsiSLSO = new XmlSchemaAttribute();
2089Interlocked.CompareExchange<XmlSchemaAttribute>(ref xsiSLSO, tempxsiSLSO, null);
2093XmlSchemaAttribute tempxsiNoNsSLSO = new XmlSchemaAttribute();
2097Interlocked.CompareExchange<XmlSchemaAttribute>(ref xsiNoNsSLSO, tempxsiNoNsSLSO, null);
System\Xml\Serialization\XmlSchemaImporter.cs (12)
672if (item is XmlSchemaAttribute) {
673ImportAttributeMember((XmlSchemaAttribute)item, identifier, members, membersScope, typeNs);
1368void ImportAttributeMember(XmlSchemaAttribute attribute, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, string ns) {
1467else if (item is XmlSchemaAttribute)
1468ImportAttributeMember((XmlSchemaAttribute)item, identifier, members, membersScope, ns);
1486AttributeAccessor ImportAttribute(XmlSchemaAttribute attribute, string identifier, string ns, XmlSchemaAttribute defaultValueProvider) {
1791XmlSchemaAttribute FindAttribute(XmlQualifiedName name) {
1792XmlSchemaAttribute attribute = (XmlSchemaAttribute)Schemas.Find(name, typeof(XmlSchemaAttribute));
1857XmlSchemaForm AttributeForm(string ns, XmlSchemaAttribute attribute) {