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