84 references to QualifiedName
System.Data.Common (4)
System\Data\XMLSchema.cs (4)
197
_attributes![attr.
QualifiedName
] = attr;
2261
if ((string.IsNullOrEmpty(attrib.
QualifiedName
.Namespace) && string.IsNullOrEmpty(column._columnUri)) || // backward compatibility :SQL BU DT 310912
2262
(string.Equals(attrib.
QualifiedName
.Namespace, column.Namespace, StringComparison.Ordinal)))
2300
column.Namespace = attrib.
QualifiedName
.Namespace;
System.Private.Xml (78)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
421
attrQName = schemaAttribute.
QualifiedName
;
System\Xml\Schema\Preprocessor.cs (2)
735
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
793
AddToTable(schema.Attributes, attribute!.
QualifiedName
, attribute);
System\Xml\Schema\SchemaCollectionCompiler.cs (27)
289
schemaInfo.TargetNamespaces[attribute!.
QualifiedName
.Namespace] = true;
290
schemaInfo.AttributeDecls.Add(attribute.
QualifiedName
, attribute.AttDef!);
781
if (!decl.ProhibitedAttributes.ContainsKey(attribute.
QualifiedName
))
783
decl.ProhibitedAttributes.Add(attribute.
QualifiedName
, attribute.
QualifiedName
);
788
if (!decl.AttDefs.ContainsKey(attribute.
QualifiedName
) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
1736
if (attributeGroup.AttributeUses[attribute.
QualifiedName
] == null)
1738
attributeGroup.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1742
SendValidationEvent(SR.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
1762
if (attributeGroup.AttributeUses[attributeValue!.
QualifiedName
] == null)
1764
attributeGroup.AttributeUses.Add(attributeValue.
QualifiedName
, attributeValue);
1768
SendValidationEvent(SR.Sch_DupAttributeUse, attributeValue.
QualifiedName
.ToString(), attributeValue);
1799
if (derivedType.AttributeUses[attribute.
QualifiedName
] == null)
1801
derivedType.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1805
SendValidationEvent(SR.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
1810
SendValidationEvent(SR.Sch_AttributeIgnored, attribute.
QualifiedName
.ToString(), attribute, XmlSeverityType.Warning);
1825
if (derivedType.AttributeUses[attributeValue.
QualifiedName
] == null)
1827
derivedType.AttributeUses.Add(attributeValue.
QualifiedName
, attributeValue);
1831
SendValidationEvent(SR.Sch_DupAttributeUse, attributeValue.
QualifiedName
.ToString(), attributeGroupRef);
1836
SendValidationEvent(SR.Sch_AttributeIgnored, attributeValue.
QualifiedName
.ToString(), attributeValue, XmlSeverityType.Warning);
1856
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.
QualifiedName
];
1867
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1886
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.
QualifiedName
];
1889
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1911
XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.AttributeUses[attribute!.
QualifiedName
];
1917
if (baseAttributeWildcard == null || !baseAttributeWildcard.Allows(attribute.
QualifiedName
))
2036
decl = new SchemaAttDef(xa.
QualifiedName
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
508
AddToTable(schema.Attributes, attribute!.
QualifiedName
, attribute);
542
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
System\Xml\Schema\SchemaInfo.cs (1)
228
if (qname.Equals(attr.
QualifiedName
))
System\Xml\Schema\SchemaSetCompiler.cs (31)
74
AddToTable(_attributes, attribute!.
QualifiedName
, attribute);
157
schemaInfo.AttributeDecls.Add(attribute!.
QualifiedName
, attribute.AttDef!);
857
if (!decl.ProhibitedAttributes.ContainsKey(attribute.
QualifiedName
))
859
decl.ProhibitedAttributes.Add(attribute.
QualifiedName
, attribute.
QualifiedName
);
864
if (!decl.AttDefs.ContainsKey(attribute.
QualifiedName
) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty)
2091
if (attributeGroup.AttributeUses[attr.
QualifiedName
] == null)
2093
attributeGroup.AttributeUses.Add(attr.
QualifiedName
, attr);
2097
SendValidationEvent(SR.Sch_DupAttributeUse, attr.
QualifiedName
.ToString(), attr);
2118
if (attributeGroup.AttributeUses[attribute!.
QualifiedName
] == null)
2120
attributeGroup.AttributeUses.Add(attribute.
QualifiedName
, attribute);
2124
SendValidationEvent(SR.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
2159
if (derivedType.AttributeUses[attr.
QualifiedName
] == null)
2161
derivedType.AttributeUses.Add(attr.
QualifiedName
, attr);
2165
SendValidationEvent(SR.Sch_DupAttributeUse, attr.
QualifiedName
.ToString(), attr);
2170
SendValidationEvent(SR.Sch_AttributeIgnored, attr.
QualifiedName
.ToString(), attr, XmlSeverityType.Warning);
2185
if (derivedType.AttributeUses[attribute.
QualifiedName
] == null)
2187
derivedType.AttributeUses.Add(attribute.
QualifiedName
, attribute);
2191
SendValidationEvent(SR.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attributeGroupRef);
2196
SendValidationEvent(SR.Sch_AttributeIgnored, attribute.
QualifiedName
.ToString(), attribute, XmlSeverityType.Warning);
2217
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.
QualifiedName
];
2220
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
2247
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.
QualifiedName
];
2250
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
2280
XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.AttributeUses[attribute!.
QualifiedName
];
2286
if (baseAttributeWildcard == null || !baseAttributeWildcard.Allows(attribute.
QualifiedName
))
2311
XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedAttributeGroup.AttributeUses[attributeBase!.
QualifiedName
];
2337
SendValidationEvent(SR.Sch_NoDerivedAttribute, attributeBase.
QualifiedName
.ToString(), baseAttributeGroup.QualifiedName.ToString(), derivedAttributeGroup);
2343
XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseAttributeGroup.AttributeUses[attribute!.
QualifiedName
];
2349
if (baseAnyAtt == null || !baseAnyAtt.Allows(attribute.
QualifiedName
))
2469
decl = new SchemaAttDef(xa.
QualifiedName
);
System\Xml\Schema\XmlSchemaSet.cs (4)
1142
if (!AddToTable(attributes!, attribute!.
QualifiedName
, attribute))
1187
attributes!.Remove(attributeToRemove.
QualifiedName
);
1364
XmlSchemaAttribute? attr = (XmlSchemaAttribute?)attributes![attributeToRemove!.
QualifiedName
];
1367
attributes.Remove(attributeToRemove.
QualifiedName
);
System\Xml\Schema\XmlSchemaValidator.cs (5)
582
SendValidationEvent(SR.Sch_SchemaAttributeNameMismatch, new string[] { attQName.ToString(), ((XmlSchemaAttribute)pvtAttribute!).
QualifiedName
.ToString() });
1560
if (_attPresence[s_xsiTypeSO!.
QualifiedName
] == null)
1564
if (_attPresence[s_xsiNilSO!.
QualifiedName
] == null)
1568
if (_attPresence[s_xsiSLSO!.
QualifiedName
] == null)
1572
if (_attPresence[s_xsiNoNsSLSO!.
QualifiedName
] == null)
System\Xml\Serialization\SchemaObjectWriter.cs (4)
68
return ((XmlSchemaAttribute)o).
QualifiedName
;
307
if (o.
QualifiedName
!= null && !o.
QualifiedName
.IsEmpty && !string.IsNullOrEmpty(o.
QualifiedName
.Namespace))
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1986
return string.IsNullOrEmpty(attribute.
QualifiedName
.Namespace) ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified;
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
288
a = new XAttribute(XNamespace.Get(sa.
QualifiedName
.Namespace).GetName(sa.
QualifiedName
.Name), GetDefaultValue(sa)!);