91 references to QualifiedName
System.Data.Common (14)
System\Data\XMLSchema.cs (14)
192
_elementsTable![elem.
QualifiedName
] = elem;
416
DataTable? table = _ds!.Tables.GetTable(XmlConvert.DecodeName(typeName), element.
QualifiedName
.Namespace);
760
qnames.Add(sel.
QualifiedName
);
777
if (!qnames.Contains(element.
QualifiedName
))
785
if (_refTables.Contains(element.
QualifiedName
.Namespace + ":" + typeName))
1448
_TableUri = node.
QualifiedName
.Namespace;
1564
_TableUri = node.
QualifiedName
.Namespace;
2458
if ((string.IsNullOrEmpty(elem.
QualifiedName
.Namespace) && string.IsNullOrEmpty(column._columnUri)) || // backward compatibility :SQL BU DT 310912
2459
(string.Equals(elem.
QualifiedName
.Namespace, column.Namespace, StringComparison.Ordinal)))
2499
if (!elem.RefName.IsEmpty || elem.
QualifiedName
.Namespace != table.Namespace)
2501
column.Namespace = elem.
QualifiedName
.Namespace;
2524
column.Namespace = elem.
QualifiedName
.Namespace;
2565
string dsNamespace = node.
QualifiedName
.Namespace;
2644
DataTable? tempTable = _ds.Tables.GetTable(XmlConvert.DecodeName(GetInstanceName((XmlSchemaElement)el)), node.
QualifiedName
.Namespace);
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaImporter.cs (3)
88
ImportAnonymousGlobalElement(element, element.
QualifiedName
, schema.TargetNamespace);
117
elementNameList.Add(ImportAnonymousElement(element, element.
QualifiedName
).XmlName);
121
elementNameList.Add(ImportAnonymousGlobalElement(element, element.
QualifiedName
, schema.TargetNamespace).XmlName);
System.Private.Xml (74)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
108
partialValidationType = _schemas.GlobalElements[schemaElement.
QualifiedName
]; //Get Global element with correct Nillable, Default etc
System\Xml\Schema\ContentValidator.cs (3)
1023
XmlSchemaSubstitutionGroup? grp = (XmlSchemaSubstitutionGroup?)substitutionGroups[elem.
QualifiedName
];
1030
if (!elem.
QualifiedName
.Equals(member.
QualifiedName
) && !particles.Contains(member))
System\Xml\Schema\Inference\Infer.cs (1)
200
if (elem!.Name == _xtr.LocalName && elem.
QualifiedName
.Namespace == _xtr.NamespaceURI)
System\Xml\Schema\Preprocessor.cs (2)
755
AddToTable(schema.Elements, element.
QualifiedName
, element);
788
AddToTable(schema.Elements, element!.
QualifiedName
, element);
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
283
schemaInfo.TargetNamespaces[element!.
QualifiedName
.Namespace] = true;
284
schemaInfo.ElementDecls.Add(element.
QualifiedName
, element.ElementDecl!);
459
XmlSchemaSubstitutionGroupV1Compat? g = (XmlSchemaSubstitutionGroupV1Compat?)_examplars[element!.
QualifiedName
];
496
SendValidationEvent(SR.Sch_InvalidSubstitutionMember, (element.
QualifiedName
).ToString(), (examplar.
QualifiedName
).ToString(), element);
1104
XmlSchemaSubstitutionGroupV1Compat? substitutionGroup = (XmlSchemaSubstitutionGroupV1Compat?)_examplars[element.
QualifiedName
];
1411
return (derivedElement.
QualifiedName
== baseElement.
QualifiedName
) &&
1422
return baseAny.Allows(derivedElement.
QualifiedName
) &&
2272
decl!.Name = xe.
QualifiedName
;
2372
if (!contentValidator.AddElement(localElement.
QualifiedName
, localElement, localElement.MinOccurs == decimal.Zero))
2374
SendValidationEvent(SR.Sch_DupElement, localElement.
QualifiedName
.ToString(), localElement);
2394
SendValidationEvent(SR.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
2398
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2!).NamespaceList!.ToString(), ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle2);
2405
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1!).NamespaceList!.ToString(), ((XmlSchemaElement)e.Particle2).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle1);
2434
sb.Append(((XmlSchemaElement)particle).
QualifiedName
);
2457
sb.Append(localElement.
QualifiedName
.Name);
2516
contentValidator.AddName(element.
QualifiedName
, element);
2579
if (complexType.LocalElements[localElement.
QualifiedName
] == null)
2581
complexType.LocalElements.Add(localElement.
QualifiedName
, localElement);
2585
XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.
QualifiedName
]!;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
503
AddToTable(schema.Elements, element!.
QualifiedName
, element);
562
AddToTable(schema.Elements, element.
QualifiedName
, element);
System\Xml\Schema\SchemaSetCompiler.cs (26)
64
AddToTable(_elements, element!.
QualifiedName
, element);
152
schemaInfo.ElementDecls.Add(element!.
QualifiedName
, element.ElementDecl!);
463
SendValidationEvent(SR.Sch_InvalidSubstitutionMember, (element.
QualifiedName
).ToString(), (headElement.
QualifiedName
).ToString(), element);
521
XmlSchemaSubstitutionGroup? g = (XmlSchemaSubstitutionGroup?)_examplars[element.
QualifiedName
];
1235
XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.
QualifiedName
];
1667
if (!((derivedElement.
QualifiedName
== baseElement.
QualifiedName
) &&
1675
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromElement, derivedElement.
QualifiedName
, baseElement.
QualifiedName
);
1683
if (!baseAny.Allows(derivedElement.
QualifiedName
))
1685
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromAnyRule1, derivedElement.
QualifiedName
.ToString());
1690
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromAnyRule2, derivedElement.
QualifiedName
.ToString());
1797
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromGroupBase1, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1809
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromGroupBase2, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1821
_restrictionErrorMsg = SR.Format(SR.Sch_ElementFromGroupBase3, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
2731
decl.Name = xe.
QualifiedName
;
2841
if (!contentValidator.AddElement(localElement.
QualifiedName
, localElement, localElement.MinOccurs == decimal.Zero))
2843
SendValidationEvent(SR.Sch_DupElement, localElement.
QualifiedName
.ToString(), localElement);
2863
SendValidationEvent(SR.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
2867
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2!).ResolvedNamespace, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle2);
2874
SendValidationEvent(SR.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1!).ResolvedNamespace, ((XmlSchemaElement)e.Particle2).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
2896
contentValidator.AddName(element.
QualifiedName
, element);
2961
if (complexType.LocalElements[localElement.
QualifiedName
] == null)
2963
complexType.LocalElements.Add(localElement.
QualifiedName
, localElement);
2967
XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.
QualifiedName
]!;
System\Xml\Schema\XmlSchemaParticle.cs (1)
141
return elem.
QualifiedName
;
System\Xml\Schema\XmlSchemaSet.cs (5)
994
XmlSchemaSubstitutionGroup? g = (XmlSchemaSubstitutionGroup?)substTable[element.
QualifiedName
];
1135
if (!AddToTable(elements!, element!.
QualifiedName
, element))
1179
elements!.Remove(elementToRemove.
QualifiedName
);
1355
XmlSchemaElement? elem = (XmlSchemaElement?)elements![elementToRemove!.
QualifiedName
];
1358
elements.Remove(elementToRemove.
QualifiedName
);
System\Xml\Schema\XmlSchemaValidator.cs (4)
1353
head = headElement.
QualifiedName
;
1367
SendValidationEvent(SR.Sch_InvalidElementSubstitution, BuildElementName(elementName), BuildElementName(matchedElem.
QualifiedName
));
1613
if (elementName.Equals(element.
QualifiedName
))
1619
SendValidationEvent(SR.Sch_SchemaElementNameMismatch, elementName.ToString(), element.
QualifiedName
.ToString());
System\Xml\Serialization\Mappings.cs (1)
1236
if (e.Name == element.Name && e.
QualifiedName
.Namespace == elementNs)
System\Xml\Serialization\SchemaObjectWriter.cs (4)
84
return ((XmlSchemaElement)o).
QualifiedName
;
985
if (o.
QualifiedName
!= null && !o.
QualifiedName
.IsEmpty && !string.IsNullOrEmpty(o.
QualifiedName
.Namespace))
System\Xml\Serialization\XmlSchemaImporter.cs (3)
963
AddScopeElement(choiceElements, ImportElement(elements[j], identifier, typeof(TypeMapping), null, elements[j].
QualifiedName
.Namespace, true), ref duplicateElements, allowDuplicates);
967
AddScopeElement(choiceElements, ImportElement(element, identifier, typeof(TypeMapping), null, element.
QualifiedName
.Namespace, false), ref duplicateElements, allowDuplicates);
1999
return string.IsNullOrEmpty(element.
QualifiedName
.Namespace) ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified;