88 references to QualifiedName
System.Data (4)
fx\src\data\System\Data\XMLSchema.cs (4)
179
attributes[attr.
QualifiedName
] = attr;
1965
if ((Common.ADP.IsEmpty(attrib.
QualifiedName
.Namespace) && Common.ADP.IsEmpty(column._columnUri)) || // backward compatability :SQL BU DT 310912
1966
(string.Compare(attrib.
QualifiedName
.Namespace, column.Namespace, StringComparison.Ordinal) == 0))
2000
column.Namespace = attrib.
QualifiedName
.Namespace;
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (2)
198
context.writer.WriteAttributeString(attribute.
QualifiedName
.Name, attribute.
QualifiedName
.Namespace, content);
System.Xml (80)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
383
attrQName = schemaAttribute.
QualifiedName
;
System\Xml\Schema\Preprocessor.cs (2)
642
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
694
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
System\Xml\Schema\SchemaCollectionCompiler.cs (27)
221
schemaInfo.TargetNamespaces[attribute.
QualifiedName
.Namespace] = true;
222
schemaInfo.AttributeDecls.Add(attribute.
QualifiedName
, attribute.AttDef);
616
if (!decl.ProhibitedAttributes.ContainsKey(attribute.
QualifiedName
)) {
617
decl.ProhibitedAttributes.Add(attribute.
QualifiedName
, attribute.
QualifiedName
);
621
if (!decl.AttDefs.ContainsKey(attribute.
QualifiedName
) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
1378
if (attributeGroup.AttributeUses[attribute.
QualifiedName
] == null) {
1379
attributeGroup.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1382
SendValidationEvent(Res.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
1397
if (attributeGroup.AttributeUses[attributeValue.
QualifiedName
] == null) {
1398
attributeGroup.AttributeUses.Add(attributeValue.
QualifiedName
, attributeValue);
1401
SendValidationEvent(Res.Sch_DupAttributeUse, attributeValue.
QualifiedName
.ToString(), attributeValue);
1427
if (derivedType.AttributeUses[attribute.
QualifiedName
] == null) {
1428
derivedType.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1431
SendValidationEvent(Res.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
1435
SendValidationEvent(Res.Sch_AttributeIgnored, attribute.
QualifiedName
.ToString(), attribute, XmlSeverityType.Warning);
1447
if (derivedType.AttributeUses[attributeValue.
QualifiedName
] == null) {
1448
derivedType.AttributeUses.Add(attributeValue.
QualifiedName
, attributeValue);
1451
SendValidationEvent(Res.Sch_DupAttributeUse, attributeValue.
QualifiedName
.ToString(), attributeGroupRef);
1455
SendValidationEvent(Res.Sch_AttributeIgnored, attributeValue.
QualifiedName
.ToString(), attributeValue, XmlSeverityType.Warning);
1472
XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.
QualifiedName
];
1480
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1495
XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.
QualifiedName
];
1497
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1523
XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.
QualifiedName
];
1527
if (baseAttributeWildcard == null || !baseAttributeWildcard.Allows(attribute.
QualifiedName
)) {
1674
decl = new SchemaAttDef(xa.
QualifiedName
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
420
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
444
AddToTable(schema.Attributes, attribute.
QualifiedName
, attribute);
System\Xml\Schema\SchemaInfo.cs (1)
230
if (qname.Equals(attr.
QualifiedName
)) {
System\Xml\Schema\SchemaSetCompiler.cs (31)
63
AddToTable(attributes, attribute.
QualifiedName
, attribute);
123
schemaInfo.AttributeDecls.Add(attribute.
QualifiedName
, attribute.AttDef);
673
if (!decl.ProhibitedAttributes.ContainsKey(attribute.
QualifiedName
)) {
674
decl.ProhibitedAttributes.Add(attribute.
QualifiedName
, attribute.
QualifiedName
);
678
if (!decl.AttDefs.ContainsKey(attribute.
QualifiedName
) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) {
1655
if (attributeGroup.AttributeUses[attr.
QualifiedName
] == null) {
1656
attributeGroup.AttributeUses.Add(attr.
QualifiedName
, attr);
1659
SendValidationEvent(Res.Sch_DupAttributeUse, attr.
QualifiedName
.ToString(), attr);
1674
if (attributeGroup.AttributeUses[attribute.
QualifiedName
] == null) {
1675
attributeGroup.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1678
SendValidationEvent(Res.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attribute);
1706
if (derivedType.AttributeUses[attr.
QualifiedName
] == null) {
1707
derivedType.AttributeUses.Add(attr.
QualifiedName
, attr);
1710
SendValidationEvent(Res.Sch_DupAttributeUse, attr.
QualifiedName
.ToString(), attr);
1714
SendValidationEvent(Res.Sch_AttributeIgnored, attr.
QualifiedName
.ToString(), attr, XmlSeverityType.Warning);
1726
if (derivedType.AttributeUses[attribute.
QualifiedName
] == null) {
1727
derivedType.AttributeUses.Add(attribute.
QualifiedName
, attribute);
1730
SendValidationEvent(Res.Sch_DupAttributeUse, attribute.
QualifiedName
.ToString(), attributeGroupRef);
1734
SendValidationEvent(Res.Sch_AttributeIgnored, attribute.
QualifiedName
.ToString(), attribute, XmlSeverityType.Warning);
1751
XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.
QualifiedName
];
1753
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1774
XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.
QualifiedName
];
1776
derivedType.AttributeUses.Add(attributeBase.
QualifiedName
, attributeBase);
1808
XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.
QualifiedName
];
1812
if (baseAttributeWildcard == null || !baseAttributeWildcard.Allows(attribute.
QualifiedName
)) {
1840
XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedAttributeGroup.AttributeUses[attributeBase.
QualifiedName
];
1859
SendValidationEvent(Res.Sch_NoDerivedAttribute, attributeBase.
QualifiedName
.ToString(), baseAttributeGroup.QualifiedName.ToString(), derivedAttributeGroup);
1864
XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseAttributeGroup.AttributeUses[attribute.
QualifiedName
];
1868
if (baseAnyAtt == null || !baseAnyAtt.Allows(attribute.
QualifiedName
)) {
2004
decl = new SchemaAttDef(xa.
QualifiedName
);
System\Xml\Schema\XmlSchemaSet.cs (4)
1105
if (!AddToTable(attributes, attribute.
QualifiedName
, attribute)) {
1139
attributes.Remove(attributeToRemove.
QualifiedName
);
1283
XmlSchemaAttribute attr = (XmlSchemaAttribute)attributes[attributeToRemove.
QualifiedName
];
1285
attributes.Remove(attributeToRemove.
QualifiedName
);
System\Xml\Schema\XmlSchemaValidator.cs (5)
541
SendValidationEvent(Res.Sch_SchemaAttributeNameMismatch, new string[] { attQName.ToString(), ((XmlSchemaAttribute)pvtAttribute).
QualifiedName
.ToString()});
1330
if (attPresence[xsiTypeSO.
QualifiedName
] == null) {
1333
if (attPresence[xsiNilSO.
QualifiedName
] == null) {
1336
if (attPresence[xsiSLSO.
QualifiedName
] == null) {
1339
if (attPresence[xsiNoNsSLSO.
QualifiedName
] == null) {
System\Xml\Serialization\SchemaObjectWriter.cs (5)
59
return ((XmlSchemaAttribute)o).
QualifiedName
;
256
if (o.
QualifiedName
!= null && !o.
QualifiedName
.IsEmpty && o.
QualifiedName
.Namespace != null && o.
QualifiedName
.Namespace.Length != 0) {
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1870
return attribute.
QualifiedName
.Namespace == null || attribute.
QualifiedName
.Namespace.Length == 0 ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified;
System.Xml.Linq (2)
System\Xml\Linq\XNodeValidator.cs (2)
234
a = new XAttribute(XNamespace.Get(sa.
QualifiedName
.Namespace).GetName(sa.
QualifiedName
.Name), GetDefaultValue(sa));