317 references to XmlQualifiedName
PresentationFramework (9)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
457private static readonly XmlQualifiedName DataIdElementName = new XmlQualifiedName("DataId", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
348private static readonly XmlQualifiedName PageNumberElementName = new XmlQualifiedName("PageNumber", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
627private static readonly XmlQualifiedName FixedTextElementName = new XmlQualifiedName("FixedTextRange", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
423internal static readonly XmlQualifiedName CharacterRangeElementName = new XmlQualifiedName("CharacterRange", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
659private static readonly XmlQualifiedName _name = new XmlQualifiedName("Highlight", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
1165public static readonly XmlQualifiedName TextSchemaName = new XmlQualifiedName("TextStickyNote", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace); 1170public static readonly XmlQualifiedName InkSchemaName = new XmlQualifiedName("InkStickyNote", AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
System\Windows\Annotations\Annotation.cs (1)
657_typeName = new XmlQualifiedName(typeName[1], reader.LookupNamespace(typeName[0]));
System\Windows\Annotations\LocatorPartList.cs (1)
232ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
System.Data.Common (17)
System\Data\SQLTypes\SQLBinary.cs (1)
460return new XmlQualifiedName("base64Binary", XmlSchema.Namespace);
System\Data\SQLTypes\SQLBoolean.cs (1)
510return new XmlQualifiedName("boolean", XmlSchema.Namespace);
System\Data\SQLTypes\SQLByte.cs (1)
520return new XmlQualifiedName("unsignedByte", XmlSchema.Namespace);
System\Data\SQLTypes\SQLBytes.cs (1)
571return new XmlQualifiedName("base64Binary", XmlSchema.Namespace);
System\Data\SQLTypes\SQLChars.cs (1)
524return new XmlQualifiedName("string", XmlSchema.Namespace);
System\Data\SQLTypes\SQLDateTime.cs (1)
674return new XmlQualifiedName("dateTime", XmlSchema.Namespace);
System\Data\SQLTypes\SQLDecimal.cs (1)
3386return new XmlQualifiedName("decimal", XmlSchema.Namespace);
System\Data\SQLTypes\SQLDouble.cs (1)
436return new XmlQualifiedName("double", XmlSchema.Namespace);
System\Data\SQLTypes\SQLGuid.cs (1)
324return new XmlQualifiedName("string", XmlSchema.Namespace);
System\Data\SQLTypes\SQLInt16.cs (1)
521return new XmlQualifiedName("short", XmlSchema.Namespace);
System\Data\SQLTypes\SQLInt32.cs (1)
536return new XmlQualifiedName("int", XmlSchema.Namespace);
System\Data\SQLTypes\SQLInt64.cs (1)
595return new XmlQualifiedName("long", XmlSchema.Namespace);
System\Data\SQLTypes\SQLMoney.cs (1)
593return new XmlQualifiedName("decimal", XmlSchema.Namespace);
System\Data\SQLTypes\SQLSingle.cs (1)
446return new XmlQualifiedName("float", XmlSchema.Namespace);
System\Data\SQLTypes\SQLString.cs (1)
952return new XmlQualifiedName("string", XmlSchema.Namespace);
System\Data\SQLTypes\SqlXml.cs (1)
257return new XmlQualifiedName("anyType", XmlSchema.Namespace);
System\Data\XMLSchema.cs (1)
1017if (attributeGroup.RedefinedAttributeGroup != null && attributeGroupRef.RefName == new XmlQualifiedName(attributeGroup.Name, attributeGroupRef.RefName.Namespace))
System.Private.DataContractSerialization (43)
System\Runtime\Serialization\ClassDataContract.cs (1)
727XmlName = new XmlQualifiedName(GetXmlNameAndSetHasDataContract(type).Name, ns.Value);
System\Runtime\Serialization\DataContract.cs (4)
598XmlQualifiedName qname = new XmlQualifiedName(name, ns); 1446return new XmlQualifiedName(name, ns); 1580return new XmlQualifiedName(localName, GetNamespace(ns)); 2379return new XmlQualifiedName(DataContract.EncodeLocalName(DataContract.ExpandGenericParameters(XmlConvert.DecodeName(_xmlName.Name), this)), _xmlName.Namespace);
System\Runtime\Serialization\Globals.cs (2)
28s_idQualifiedName ??= new XmlQualifiedName(Globals.IdLocalName, Globals.SerializationNamespace); 32s_refQualifiedName ??= new XmlQualifiedName(Globals.RefLocalName, Globals.SerializationNamespace);
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
54return new XmlQualifiedName(name, ns);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
244return new XmlQualifiedName(name, ns);
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
59return _context.ResolveNameFromKnownTypes(new XmlQualifiedName(typeName, typeNamespace));
System\Runtime\Serialization\SchemaExporter.cs (18)
292dcqname = new XmlQualifiedName(collectionName, DataContract.GetCollectionNamespace(dcqname.Namespace)); 524new XmlQualifiedName(dataContract.TopLevelElementName!.Value, dataContract.TopLevelElementNamespace!.Value), 569qname = new XmlQualifiedName(((XmlSchemaElement)item).Name, schema.TargetNamespace); 574qname = new XmlQualifiedName(((XmlSchemaType)item).Name, schema.TargetNamespace); 661xmlName = new XmlQualifiedName(typeName, typeNs); 682xmlName = new XmlQualifiedName(typeName, typeNs); 765typeName = new XmlQualifiedName(name, DataContract.GetDefaultXmlNamespace(type)); 778schemaRefElement.RefName = new XmlQualifiedName(Globals.SchemaLocalName, XmlSchema.Namespace); 874internal static XmlQualifiedName AnytypeQualifiedName => s_anytypeQualifiedName ??= new XmlQualifiedName(Globals.AnyTypeLocalName, Globals.SchemaNamespace); 877internal static XmlQualifiedName StringQualifiedName => s_stringQualifiedName ??= new XmlQualifiedName(Globals.StringLocalName, Globals.SchemaNamespace); 880internal static XmlQualifiedName DefaultEnumBaseTypeName => s_defaultEnumBaseTypeName ??= new XmlQualifiedName(Globals.IntLocalName, Globals.SchemaNamespace); 883internal static XmlQualifiedName EnumerationValueAnnotationName => s_enumerationValueAnnotationName ??= new XmlQualifiedName(Globals.EnumerationValueLocalName, Globals.SerializationNamespace); 886internal static XmlQualifiedName SurrogateDataAnnotationName => s_surrogateDataAnnotationName ??= new XmlQualifiedName(Globals.SurrogateDataLocalName, Globals.SerializationNamespace); 889internal static XmlQualifiedName DefaultValueAnnotation => s_defaultValueAnnotation ??= new XmlQualifiedName(Globals.DefaultValueLocalName, Globals.SerializationNamespace); 892internal static XmlQualifiedName ActualTypeAnnotationName => s_actualTypeAnnotationName ??= new XmlQualifiedName(Globals.ActualTypeLocalName, Globals.SerializationNamespace); 895internal static XmlQualifiedName IsDictionaryAnnotationName => s_isDictionaryAnnotationName ??= new XmlQualifiedName(Globals.IsDictionaryLocalName, Globals.SerializationNamespace); 898internal static XmlQualifiedName IsValueTypeName => s_isValueTypeName ??= new XmlQualifiedName(Globals.IsValueTypeLocalName, Globals.SerializationNamespace); 907iSerializableFactoryTypeAttribute.RefName = new XmlQualifiedName(Globals.ISerializableFactoryTypeLocalName, Globals.SerializationNamespace);
System\Runtime\Serialization\SchemaHelper.cs (1)
221return new XmlQualifiedName(schemaElement.Name, schema.TargetNamespace);
System\Runtime\Serialization\SchemaImporter.cs (11)
258XmlQualifiedName currentTypeName = new XmlQualifiedName(schemaType.Name, schema.TargetNamespace); 291XmlQualifiedName currentElementName = new XmlQualifiedName(schemaElement.Name, schema.TargetNamespace); 355xmlDataContract.SetTopLevelElementName(new XmlQualifiedName(element.Name, ns)); 369typeQName = new XmlQualifiedName(typeQName.Name + i.ToString(NumberFormatInfo.InvariantInfo), typeQName.Namespace); 738XmlQualifiedName xlinqTypeName = new XmlQualifiedName("XElement", "http://schemas.datacontract.org/2004/07/System.Xml.Linq"); 974memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1044return new XmlQualifiedName(nameAttribute.Value, nsAttribute.Value); 1080XmlQualifiedName shortName = new XmlQualifiedName(element.Name, typeName.Namespace); 1088XmlQualifiedName fullName = new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace); 1126dataContract.ItemContract.XmlName = new XmlQualifiedName(genericInfo.GetExpandedXmlName().Name, typeName.Namespace); 1295GenericInfo genInfo = new GenericInfo(new XmlQualifiedName(name, ns), type.Name);
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
253XmlQualifiedName qname = new XmlQualifiedName(typeName, typeNs);
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
780return new XmlQualifiedName(name, ns);
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
236return new XmlQualifiedName(dataContract.TopLevelElementName!.Value, dataContract.TopLevelElementNamespace!.Value);
System.Private.Xml (248)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
4168return new XmlQualifiedName(qname.localname, qname.namespaceUri); 4367new XmlQualifiedName(qname.localname, qname.namespaceUri),
System\Xml\Cache\XPathDocumentBuilder.cs (3)
173_idAttrName = (XmlQualifiedName?)_elemIdMap[new XmlQualifiedName(localName, prefix)]; 606_elemIdMap.Add(new XmlQualifiedName(attrList.LocalName, attrList.Prefix), 607new XmlQualifiedName(idAttribute.LocalName, idAttribute.Prefix));
System\Xml\Core\XmlWriterSettings.cs (1)
680CDataSectionElements.Add(new XmlQualifiedName(reader.ReadString(), reader.ReadString()));
System\Xml\Dom\DocumentSchemaValidator.cs (1)
559XmlQualifiedName attName = new XmlQualifiedName(attributeToValidate.LocalName, attributeToValidate.NamespaceURI);
System\Xml\Dom\XmlDocument.cs (1)
698XmlQualifiedName qname = new XmlQualifiedName(elem.LocalName, schInfo.SchemaType == SchemaType.DTD ? elem.Prefix : elem.NamespaceURI);
System\Xml\Schema\DataTypeImplementation.cs (10)
117internal static readonly XmlQualifiedName QnAnySimpleType = new XmlQualifiedName("anySimpleType", XmlReservedNs.NsXs); 118internal static readonly XmlQualifiedName QnAnyType = new XmlQualifiedName("anyType", XmlReservedNs.NsXs); 229qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs); 245qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs); 266XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)]!; 275baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)]!; 281qname = new XmlQualifiedName("anyAtomicType", XmlReservedNs.NsXQueryDataType); 289qname = new XmlQualifiedName("untypedAtomic", XmlReservedNs.NsXQueryDataType); 297qname = new XmlQualifiedName("yearMonthDuration", XmlReservedNs.NsXQueryDataType); 305qname = new XmlQualifiedName("dayTimeDuration", XmlReservedNs.NsXQueryDataType);
System\Xml\Schema\DtdParser.cs (2)
283_schemaInfo.DocTypeName = new XmlQualifiedName(_nameTable.Add(docTypeName.Substring(0, colonPos)), 3159return new XmlQualifiedName(_nameTable.Add(_chars, _colonPos + 1, _curPos - _colonPos - 1),
System\Xml\Schema\DtdValidator.cs (2)
86if (!GenEntity(new XmlQualifiedName(reader.LocalName, reader.Prefix))) 185SchemaAttDef? attnDef = context.ElementDecl!.GetAttDef(new XmlQualifiedName(reader.LocalName, reader.Prefix));
System\Xml\Schema\Inference\Infer.cs (24)
18internal static readonly XmlQualifiedName ST_boolean = new XmlQualifiedName("boolean", XmlSchema.Namespace); 19internal static readonly XmlQualifiedName ST_byte = new XmlQualifiedName("byte", XmlSchema.Namespace); 20internal static readonly XmlQualifiedName ST_unsignedByte = new XmlQualifiedName("unsignedByte", XmlSchema.Namespace); 21internal static readonly XmlQualifiedName ST_short = new XmlQualifiedName("short", XmlSchema.Namespace); 22internal static readonly XmlQualifiedName ST_unsignedShort = new XmlQualifiedName("unsignedShort", XmlSchema.Namespace); 23internal static readonly XmlQualifiedName ST_int = new XmlQualifiedName("int", XmlSchema.Namespace); 24internal static readonly XmlQualifiedName ST_unsignedInt = new XmlQualifiedName("unsignedInt", XmlSchema.Namespace); 25internal static readonly XmlQualifiedName ST_long = new XmlQualifiedName("long", XmlSchema.Namespace); 26internal static readonly XmlQualifiedName ST_unsignedLong = new XmlQualifiedName("unsignedLong", XmlSchema.Namespace); 27internal static readonly XmlQualifiedName ST_integer = new XmlQualifiedName("integer", XmlSchema.Namespace); 28internal static readonly XmlQualifiedName ST_decimal = new XmlQualifiedName("decimal", XmlSchema.Namespace); 29internal static readonly XmlQualifiedName ST_float = new XmlQualifiedName("float", XmlSchema.Namespace); 30internal static readonly XmlQualifiedName ST_double = new XmlQualifiedName("double", XmlSchema.Namespace); 31internal static readonly XmlQualifiedName ST_duration = new XmlQualifiedName("duration", XmlSchema.Namespace); 32internal static readonly XmlQualifiedName ST_dateTime = new XmlQualifiedName("dateTime", XmlSchema.Namespace); 33internal static readonly XmlQualifiedName ST_time = new XmlQualifiedName("time", XmlSchema.Namespace); 34internal static readonly XmlQualifiedName ST_date = new XmlQualifiedName("date", XmlSchema.Namespace); 35internal static readonly XmlQualifiedName ST_gYearMonth = new XmlQualifiedName("gYearMonth", XmlSchema.Namespace); 36internal static readonly XmlQualifiedName ST_string = new XmlQualifiedName("string", XmlSchema.Namespace); 37internal static readonly XmlQualifiedName ST_anySimpleType = new XmlQualifiedName("anySimpleType", XmlSchema.Namespace); 308attributeReference.RefName = new XmlQualifiedName(localName, childURI); 368attributeReference.RefName = new XmlQualifiedName(localName, childURI); 598elementReference.RefName = new XmlQualifiedName(localName, childURI); 891XmlQualifiedName qname = new XmlQualifiedName(_xtr.LocalName, _xtr.NamespaceURI);
System\Xml\Schema\Preprocessor.cs (16)
431lang.SchemaTypeName = new XmlQualifiedName("language", XmlReservedNs.NsXs); 436xmlbase.SchemaTypeName = new XmlQualifiedName("anyURI", XmlReservedNs.NsXs); 443r.BaseTypeName = new XmlQualifiedName("NCName", XmlReservedNs.NsXs); 458langRef.RefName = new XmlQualifiedName("lang", XmlReservedNs.NsXml); 461spaceRef.RefName = new XmlQualifiedName("space", XmlReservedNs.NsXml); 464baseRef.RefName = new XmlQualifiedName("base", XmlReservedNs.NsXml); 1152attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, _targetNamespace)); 1176attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1248attributeGroup.SetQualifiedName(new XmlQualifiedName(attributeGroup.Name, _targetNamespace)); 1264element.SetQualifiedName(new XmlQualifiedName(element.Name, _targetNamespace)); 1320element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1441constraint.SetQualifiedName(new XmlQualifiedName(constraint.Name, _targetNamespace)); 1512simpleType.SetQualifiedName(new XmlQualifiedName(simpleType.Name, _targetNamespace)); 1651complexType.SetQualifiedName(new XmlQualifiedName(complexType.Name, _targetNamespace)); 1842group.SetQualifiedName(new XmlQualifiedName(group.Name, _targetNamespace)); 1872notation.QualifiedName = new XmlQualifiedName(notation.Name, _targetNamespace);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (10)
826attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, _targetNamespace)); 850attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 920attributeGroup.SetQualifiedName(new XmlQualifiedName(attributeGroup.Name, _targetNamespace)); 937element.SetQualifiedName(new XmlQualifiedName(element.Name, _targetNamespace)); 993element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1112constraint.SetQualifiedName(new XmlQualifiedName(constraint.Name, _targetNamespace)); 1179simpleType.SetQualifiedName(new XmlQualifiedName(simpleType.Name, _targetNamespace)); 1316complexType.SetQualifiedName(new XmlQualifiedName(complexType.Name, _targetNamespace)); 1506group.SetQualifiedName(new XmlQualifiedName(group.Name, _targetNamespace)); 1536notation.QualifiedName = new XmlQualifiedName(notation.Name, _targetNamespace);
System\Xml\Schema\SchemaElementDecl.cs (1)
81XmlQualifiedName qname = new XmlQualifiedName(localName, prefix);
System\Xml\Schema\SchemaInfo.cs (1)
370XmlQualifiedName qname = new XmlQualifiedName(prefix, localName);
System\Xml\Schema\SchemaNames.cs (64)
180QnXmlNs = new XmlQualifiedName(nameTable.Add("xmlns"), NsXmlNs); 181QnDtDt = new XmlQualifiedName(nameTable.Add("dt"), NsDataType); 182QnXmlLang = new XmlQualifiedName(nameTable.Add("lang"), NsXml); 247QnXdrSchema = new XmlQualifiedName(XdrSchema, NsXdr); 248QnXdrElementType = new XmlQualifiedName(nameTable.Add("ElementType"), NsXdr); 249QnXdrElement = new XmlQualifiedName(nameTable.Add("element"), NsXdr); 250QnXdrGroup = new XmlQualifiedName(nameTable.Add("group"), NsXdr); 251QnXdrAttributeType = new XmlQualifiedName(nameTable.Add("AttributeType"), NsXdr); 252QnXdrAttribute = new XmlQualifiedName(nameTable.Add("attribute"), NsXdr); 253QnXdrDataType = new XmlQualifiedName(nameTable.Add("datatype"), NsXdr); 254QnXdrDescription = new XmlQualifiedName(nameTable.Add("description"), NsXdr); 255QnXdrExtends = new XmlQualifiedName(nameTable.Add("extends"), NsXdr); 258QnXdrAliasSchema = new XmlQualifiedName(nameTable.Add("Schema"), NsDataTypeAlias); 261QnDtType = new XmlQualifiedName(nameTable.Add("type"), NsDataType); 262QnDtValues = new XmlQualifiedName(nameTable.Add("values"), NsDataType); 263QnDtMaxLength = new XmlQualifiedName(nameTable.Add("maxLength"), NsDataType); 264QnDtMinLength = new XmlQualifiedName(nameTable.Add("minLength"), NsDataType); 265QnDtMax = new XmlQualifiedName(nameTable.Add("max"), NsDataType); 266QnDtMin = new XmlQualifiedName(nameTable.Add("min"), NsDataType); 267QnDtMinExclusive = new XmlQualifiedName(nameTable.Add("minExclusive"), NsDataType); 268QnDtMaxExclusive = new XmlQualifiedName(nameTable.Add("maxExclusive"), NsDataType); 271QnXsdSchema = new XmlQualifiedName(XsdSchema, NsXs); 272QnXsdAnnotation = new XmlQualifiedName(nameTable.Add("annotation"), NsXs); 273QnXsdInclude = new XmlQualifiedName(nameTable.Add("include"), NsXs); 274QnXsdImport = new XmlQualifiedName(nameTable.Add("import"), NsXs); 275QnXsdElement = new XmlQualifiedName(nameTable.Add("element"), NsXs); 276QnXsdAttribute = new XmlQualifiedName(nameTable.Add("attribute"), NsXs); 277QnXsdAttributeGroup = new XmlQualifiedName(nameTable.Add("attributeGroup"), NsXs); 278QnXsdAnyAttribute = new XmlQualifiedName(nameTable.Add("anyAttribute"), NsXs); 279QnXsdGroup = new XmlQualifiedName(nameTable.Add("group"), NsXs); 280QnXsdAll = new XmlQualifiedName(nameTable.Add("all"), NsXs); 281QnXsdChoice = new XmlQualifiedName(nameTable.Add("choice"), NsXs); 282QnXsdSequence = new XmlQualifiedName(nameTable.Add("sequence"), NsXs); 283QnXsdAny = new XmlQualifiedName(nameTable.Add("any"), NsXs); 284QnXsdNotation = new XmlQualifiedName(nameTable.Add("notation"), NsXs); 285QnXsdSimpleType = new XmlQualifiedName(nameTable.Add("simpleType"), NsXs); 286QnXsdComplexType = new XmlQualifiedName(nameTable.Add("complexType"), NsXs); 287QnXsdUnique = new XmlQualifiedName(nameTable.Add("unique"), NsXs); 288QnXsdKey = new XmlQualifiedName(nameTable.Add("key"), NsXs); 289QnXsdKeyRef = new XmlQualifiedName(nameTable.Add("keyref"), NsXs); 290QnXsdSelector = new XmlQualifiedName(nameTable.Add("selector"), NsXs); 291QnXsdField = new XmlQualifiedName(nameTable.Add("field"), NsXs); 292QnXsdMinExclusive = new XmlQualifiedName(nameTable.Add("minExclusive"), NsXs); 293QnXsdMinInclusive = new XmlQualifiedName(nameTable.Add("minInclusive"), NsXs); 294QnXsdMaxInclusive = new XmlQualifiedName(nameTable.Add("maxInclusive"), NsXs); 295QnXsdMaxExclusive = new XmlQualifiedName(nameTable.Add("maxExclusive"), NsXs); 296QnXsdTotalDigits = new XmlQualifiedName(nameTable.Add("totalDigits"), NsXs); 297QnXsdFractionDigits = new XmlQualifiedName(nameTable.Add("fractionDigits"), NsXs); 298QnXsdLength = new XmlQualifiedName(nameTable.Add("length"), NsXs); 299QnXsdMinLength = new XmlQualifiedName(nameTable.Add("minLength"), NsXs); 300QnXsdMaxLength = new XmlQualifiedName(nameTable.Add("maxLength"), NsXs); 301QnXsdEnumeration = new XmlQualifiedName(nameTable.Add("enumeration"), NsXs); 302QnXsdPattern = new XmlQualifiedName(nameTable.Add("pattern"), NsXs); 303QnXsdDocumentation = new XmlQualifiedName(nameTable.Add("documentation"), NsXs); 304QnXsdAppinfo = new XmlQualifiedName(nameTable.Add("appinfo"), NsXs); 305QnXsdComplexContent = new XmlQualifiedName(nameTable.Add("complexContent"), NsXs); 306QnXsdSimpleContent = new XmlQualifiedName(nameTable.Add("simpleContent"), NsXs); 307QnXsdRestriction = new XmlQualifiedName(nameTable.Add("restriction"), NsXs); 308QnXsdExtension = new XmlQualifiedName(nameTable.Add("extension"), NsXs); 309QnXsdUnion = new XmlQualifiedName(nameTable.Add("union"), NsXs); 310QnXsdList = new XmlQualifiedName(nameTable.Add("list"), NsXs); 311QnXsdWhiteSpace = new XmlQualifiedName(nameTable.Add("whiteSpace"), NsXs); 312QnXsdRedefine = new XmlQualifiedName(nameTable.Add("redefine"), NsXs); 313QnXsdAnyType = new XmlQualifiedName(nameTable.Add("anyType"), NsXs);
System\Xml\Schema\XdrBuilder.cs (6)
424XmlQualifiedName qname = new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, _NameTable, _SchemaNames)); 448XmlQualifiedName qname = new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, _NameTable, _SchemaNames)); 469qnameValue = new XmlQualifiedName(qnameValue.Name, _TargetNamespace); 678gname = new XmlQualifiedName(gname.Name, builder._TargetNamespace); 1052qname = new XmlQualifiedName(qname.Name, builder._TargetNamespace); 1288gname = new XmlQualifiedName(qname.Name, builder._TargetNamespace);
System\Xml\Schema\XdrValidator.cs (1)
696return new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, NameTable, SchemaNames));
System\Xml\Schema\XmlSchemaComplexType.cs (1)
42untypedAny.SetQualifiedName(new XmlQualifiedName("untypedAny", XmlReservedNs.NsXQueryDataType));
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
16private static readonly XmlSchemaSimpleType s_languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language", XmlReservedNs.NsXs))!;
System\Xml\Schema\XmlSchemaParticle.cs (1)
157return new XmlQualifiedName("*", ns.Length == 0 ? "##any" : ns);
System\Xml\Schema\XmlSchemaValidator.cs (5)
515XmlQualifiedName attQName = new XmlQualifiedName(localName, namespaceUri); 2466tempXsiTypeSO.SetQualifiedName(new XmlQualifiedName("type", XmlReservedNs.NsXsi)); 2474tempxsiNilSO.SetQualifiedName(new XmlQualifiedName("nil", XmlReservedNs.NsXsi)); 2483tempxsiSLSO.SetQualifiedName(new XmlQualifiedName("schemaLocation", XmlReservedNs.NsXsi)); 2492tempxsiNoNsSLSO.SetQualifiedName(new XmlQualifiedName("noNamespaceSchemaLocation", XmlReservedNs.NsXsi));
System\Xml\Schema\XmlValueConverter.cs (1)
647return new XmlQualifiedName(localName, ns);
System\Xml\Schema\XsdBuilder.cs (1)
754_namespaces.Add(new XmlQualifiedName((name == _schemaNames.QnXmlNs.Name) ? string.Empty : name, value));
System\Xml\Schema\XsdValidator.cs (2)
402XmlSchemaSimpleType? simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName(xsiType.Name, _nsXs)); 484XmlQualifiedName attQName = new XmlQualifiedName(reader.LocalName, reader.NamespaceURI);
System\Xml\Serialization\Mappings.cs (1)
121return new XmlQualifiedName(XmlConvert.EncodeLocalName(name.Substring(colon + 1)), XmlConvert.EncodeLocalName(name.Substring(0, colon))).ToString();
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1564return ReadTypedPrimitive(new XmlQualifiedName(Soap.UrType, XmlReservedNs.NsXs));
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
497WriteNullableQualifiedNameEncoded(name, ns, o, new XmlQualifiedName(mapping.TypeName, mapping.Namespace)); 501WriteElementQualifiedName(name, ns, o, new XmlQualifiedName(mapping.TypeName, mapping.Namespace)); 974xmlQualifiedName = new XmlQualifiedName(mapping.TypeName, mapping.Namespace);
System\Xml\Serialization\SchemaObjectWriter.cs (5)
101return new XmlQualifiedName(".sequence", Namespace(o)); 107return new XmlQualifiedName(".all", Namespace(o)); 113return new XmlQualifiedName(".choice", Namespace(o)); 118return new XmlQualifiedName("*", SchemaObjectWriter.ToString(((XmlSchemaAny)o).NamespaceList)); 124return new XmlQualifiedName("?", Namespace(o));
System\Xml\Serialization\SoapReflectionImporter.cs (1)
174throw new InvalidOperationException(SR.Format(SR.XmlInvalidXsdDataType, dataType, "SoapElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString()));
System\Xml\Serialization\Types.cs (32)
533AddNonXsdPrimitive(typeof(Guid), "guid", UrtTypes.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new XmlSchemaFacet[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault); 534AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault); 535AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan", UrtTypes.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 536AddNonXsdPrimitive(typeof(DateTimeOffset), "dateTimeOffset", UrtTypes.Namespace, "DateTimeOffset", new XmlQualifiedName("dateTime", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 594AddSoapEncodedPrimitive(typeof(string), "normalizedString", ns, "String", new XmlQualifiedName("normalizedString", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.Reference | TypeFlags.HasDefaultConstructor); 597AddSoapEncodedPrimitive(typeof(string), s_unsupportedTypes[i], ns, "String", new XmlQualifiedName(s_unsupportedTypes[i], XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.Reference | TypeFlags.CollapseWhitespace); 600AddSoapEncodedPrimitive(typeof(string), "string", ns, "String", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.CanBeTextValue | TypeFlags.Reference); 601AddSoapEncodedPrimitive(typeof(int), "int", ns, "Int32", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 602AddSoapEncodedPrimitive(typeof(bool), "boolean", ns, "Boolean", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 603AddSoapEncodedPrimitive(typeof(short), "short", ns, "Int16", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 604AddSoapEncodedPrimitive(typeof(long), "long", ns, "Int64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 605AddSoapEncodedPrimitive(typeof(float), "float", ns, "Single", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 606AddSoapEncodedPrimitive(typeof(double), "double", ns, "Double", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 607AddSoapEncodedPrimitive(typeof(decimal), "decimal", ns, "Decimal", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 608AddSoapEncodedPrimitive(typeof(DateTime), "dateTime", ns, "DateTime", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 609AddSoapEncodedPrimitive(typeof(XmlQualifiedName), "QName", ns, "XmlQualifiedName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.HasCustomFormatter | TypeFlags.HasIsEmpty | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.Reference); 610AddSoapEncodedPrimitive(typeof(byte), "unsignedByte", ns, "Byte", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 611AddSoapEncodedPrimitive(typeof(sbyte), "byte", ns, "SByte", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 612AddSoapEncodedPrimitive(typeof(ushort), "unsignedShort", ns, "UInt16", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 613AddSoapEncodedPrimitive(typeof(uint), "unsignedInt", ns, "UInt32", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 614AddSoapEncodedPrimitive(typeof(ulong), "unsignedLong", ns, "UInt64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 617AddSoapEncodedPrimitive(typeof(DateTime), "date", ns, "Date", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 618AddSoapEncodedPrimitive(typeof(DateTime), "time", ns, "Time", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 620AddSoapEncodedPrimitive(typeof(string), "Name", ns, "XmlName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 621AddSoapEncodedPrimitive(typeof(string), "NCName", ns, "XmlNCName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 622AddSoapEncodedPrimitive(typeof(string), "NMTOKEN", ns, "XmlNmToken", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 623AddSoapEncodedPrimitive(typeof(string), "NMTOKENS", ns, "XmlNmTokens", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 625AddSoapEncodedPrimitive(typeof(byte[]), "base64Binary", ns, "ByteArrayBase64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired); 626AddSoapEncodedPrimitive(typeof(byte[]), "hexBinary", ns, "ByteArrayHex", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired); 628AddSoapEncodedPrimitive(typeof(string), "arrayCoordinate", ns, "String", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue); 629AddSoapEncodedPrimitive(typeof(byte[]), "base64", ns, "ByteArrayBase64", new XmlQualifiedName("base64Binary", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.IgnoreDefault | TypeFlags.Reference); 1411return new XmlQualifiedName(name, ns);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
397throw new InvalidOperationException(SR.Format(SR.XmlInvalidXsdDataType, dataType, "XmlElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString()));
System\Xml\Serialization\XmlSchemaExporter.cs (11)
55return (new XmlQualifiedName(xmlMembersMapping.Accessor.Name, xmlMembersMapping.Accessor.Namespace)); 409return new XmlQualifiedName(mapping.TypeDesc.DataType!.Name, UrtTypes.Namespace); 525schemaElement.RefName = new XmlQualifiedName("schema", XmlSchema.Namespace); 572qname = new XmlQualifiedName(type.Name, mapping.Namespace); 578qname = new XmlQualifiedName(mapping.TypeDesc.DataType!.Name, XmlSchema.Namespace); 643element.SchemaTypeName = new XmlQualifiedName(type.Name, mapping.Namespace); 696attribute.RefName = new XmlQualifiedName(accessor.Name, XmlReservedNs.NsXml); 757refAttribute.RefName = new XmlQualifiedName(accessor.Name, accessor.Namespace); 850refElement.RefName = new XmlQualifiedName(accessor.Name, accessor.Namespace); 1031XmlQualifiedName qname = new XmlQualifiedName(type.Name, mapping.Namespace); 1156restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (4)
361XmlQualifiedName qname = new XmlQualifiedName(typeName, ns); 448ImportDerivedTypes(new XmlQualifiedName(identifier, typeNs)); 1293ImportDerivedTypes(new XmlQualifiedName(identifier, ns)); 1849return new XmlQualifiedName("string", XmlSchema.Namespace);
System\Xml\Serialization\XmlSerializationReader.cs (9)
863XmlQualifiedName empty = new XmlQualifiedName(string.Empty, _r.LookupNamespace("")); 1152return new XmlQualifiedName(_r.NameTable.Add(value), _r.LookupNamespace(string.Empty)); 1162return new XmlQualifiedName(_r.NameTable.Add(localName), ns); 1559Type? arrayType = (Type?)_types[new XmlQualifiedName(typeName, typeNs)]; 1585XmlQualifiedName urTypeName = new XmlQualifiedName(_urTypeID, _schemaNsID); 1812typeId = new XmlQualifiedName(_r.NameTable.Add(_r.LocalName), _r.NameTable.Add(_r.NamespaceURI)); 1814typeId = new XmlQualifiedName(_r.NameTable.Add(name), _r.NameTable.Add(ns!)); 1838XmlQualifiedName urType = new XmlQualifiedName(_urTypeID, _r.NameTable.Add(XmlSchema.Namespace)); 1848XmlQualifiedName typeName = new XmlQualifiedName(_r.NameTable.Add(name), _r.NameTable.Add(ns));
System\Xml\Serialization\XmlSerializationWriter.cs (2)
251return new XmlQualifiedName(typeName, typeNs); 1133WriteElementQualifiedName(Soap12.RpcResult, Soap12.RpcNamespace, new XmlQualifiedName(name, ns), null);
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
77NamespacesInternal[prefix] = new XmlQualifiedName(prefix, ns);
System\Xml\XmlQualifiedName.cs (3)
23public XmlQualifiedName() : this(string.Empty, string.Empty) { } 28public XmlQualifiedName(string? name) : this(name, string.Empty) { } 164return new XmlQualifiedName(localName, uri);
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
868qname = new XmlQualifiedName(_attrNames.Add(ndName.LocalName), _attrNames.Add(ndName.NamespaceUri));
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
373return new XmlQualifiedName(localName, ns); 386return new XmlQualifiedName(localName, ns);
System\Xml\Xsl\XmlQualifiedNameTest.cs (1)
41private XmlQualifiedNameTest(string? name, string? ns, bool exclude) : base(name, ns)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
649return new XmlQualifiedName(local, nsUri);
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
2821return new XmlQualifiedName(localName, namespaceName); 2884return new XmlQualifiedName(localName, namespaceName);
System\Xml\Xsl\XsltOld\Compiler.cs (3)
94public static readonly XmlQualifiedName BuiltInMode = new XmlQualifiedName("*", string.Empty); 520return new XmlQualifiedName(local, _scopeManager.ResolveXPathNamespace(prefix)); 528return new XmlQualifiedName(local, _scopeManager.ResolveXmlNamespace(prefix));
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
148if (_cdataElements != null && _cdataElements.Contains(new XmlQualifiedName(mainNode.LocalName, mainNode.NamespaceURI)) && _isXmlOutput)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
70XmlQualifiedName qname = new XmlQualifiedName(name, namespaceURI); 393DecimalFormat? formatInfo = _processor!.RootAction!.GetDecimalFormat(new XmlQualifiedName(local, ns)); 863XmlQualifiedName keyName = new XmlQualifiedName(local, ns);
System\Xml\Xslt\XsltArgumentList.cs (3)
32return _parameters[new XmlQualifiedName(name, namespaceUri)]; 47XmlQualifiedName qname = new XmlQualifiedName(name, namespaceUri); 63XmlQualifiedName qname = new XmlQualifiedName(name, namespaceUri);