85 references to Qualified
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaHelper.cs (3)
134schema.ElementFormDefault = XmlSchemaForm.Qualified; 148if (schema.ElementFormDefault != XmlSchemaForm.Qualified) 150element.Form = XmlSchemaForm.Qualified;
System\Runtime\Serialization\SchemaImporter.cs (2)
967if (elementForm != XmlSchemaForm.Qualified) 1072if (elementForm != XmlSchemaForm.Qualified)
System.Private.Xml (80)
System\Xml\Schema\Inference\Infer.cs (4)
339xs.ElementFormDefault = XmlSchemaForm.Qualified; 486xs.ElementFormDefault = XmlSchemaForm.Qualified; 514if (xs.ElementFormDefault != XmlSchemaForm.Qualified && addLocation != null) 516xse.Form = XmlSchemaForm.Qualified;
System\Xml\Schema\Preprocessor.cs (4)
1176attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1320element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
850attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 993element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
System\Xml\Schema\XmlSchemaComplexType.cs (2)
483GetResolvedElementForm(parentSchema, oldElem) == XmlSchemaForm.Qualified)) 532GetResolvedElementForm(parentSchema, elem) == XmlSchemaForm.Qualified))
System\Xml\Serialization\Mappings.cs (1)
261Form = XmlSchemaForm.Qualified;
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (6)
103string elementNs = element.Form == XmlSchemaForm.Qualified ? element.Namespace! : string.Empty; 338string? ns = element.Form == XmlSchemaForm.Qualified ? element.Namespace : string.Empty; 763string? ns = ele.Form == XmlSchemaForm.Qualified ? ele.Namespace : string.Empty; 813string? ns = e!.Form == XmlSchemaForm.Qualified ? e.Namespace : string.Empty; 830string? ns = element.Form == XmlSchemaForm.Qualified ? element.Namespace : string.Empty; 1861memberFound = XmlNodeEqual(Reader, attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (7)
84string? ns = (element.Form == XmlSchemaForm.Qualified ? element.Namespace : string.Empty); 319string? ns = element.Any && element.Name.Length == 0 ? null : (element.Form == XmlSchemaForm.Qualified ? (writeAccessor ? element.Namespace : element.Mapping!.Namespace) : string.Empty); 339WriteNullTagLiteral(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : string.Empty); 774Writer.WriteStartAttribute(null, attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty); 850string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 888string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 1199WriteStartElement(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : string.Empty), mapping.IsSoap);
System\Xml\Serialization\SoapReflectionImporter.cs (4)
90element.Form = XmlSchemaForm.Qualified; 130element.Form = XmlSchemaForm.Qualified; 616MemberMapping? mapping = ImportMemberMapping(member, ns, xmlReflectionMembers, hasWrapperElement ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified, limiter); 705attribute.Form = XmlSchemaForm.Qualified; // attributes are always qualified since they're only used for encoded soap headers
System\Xml\Serialization\XmlReflectionImporter.cs (9)
227element.Form = XmlSchemaForm.Qualified; // elements within soap:body are always qualified 292element.Form = XmlSchemaForm.Qualified; 1328XmlSchemaForm form = rpc ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified; 1519arrayItemElement.Form = xmlArrayItem.Form == XmlSchemaForm.None ? XmlSchemaForm.Qualified : xmlArrayItem.Form; 1531XmlSchemaForm elementFormDefault = XmlSchemaForm.Qualified; 1605attribute.Form = XmlSchemaForm.Qualified; 1613if (attribute.Form == XmlSchemaForm.Qualified && attribute.Namespace != ns) 1784attribute.Form = XmlSchemaForm.Qualified; 1791if (attribute.Form == XmlSchemaForm.Qualified && attribute.Namespace != ns)
System\Xml\Serialization\XmlSchemaExporter.cs (1)
16internal const XmlSchemaForm elementFormDefault = XmlSchemaForm.Qualified;
System\Xml\Serialization\XmlSchemaImporter.cs (6)
107accessor.Form = XmlSchemaForm.Qualified; 243accessor.Form = XmlSchemaForm.Qualified; 315accessor.Form = XmlSchemaForm.Qualified; 1999return string.IsNullOrEmpty(element.QualifiedName.Namespace) ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified; 2002return XmlSchemaForm.Qualified; 2026return string.IsNullOrEmpty(attribute.QualifiedName.Namespace) ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified;
System\Xml\Serialization\XmlSerializationReader.cs (7)
2364string? expectedElement = e.Form == XmlSchemaForm.Qualified ? e.Namespace : ""; 2495WriteIsStartTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""); 2678WriteXmlNodeEqual("Reader", element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""); 3715WriteXmlNodeEqual("Reader", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : ""); 3780qnames += attribute.IsSpecialXmlNamespace ? XmlReservedNs.NsXml : $"{(attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "")}:{attribute.Name}"; 3992string? ns = e.Form == XmlSchemaForm.Qualified ? e.Namespace : ""; 4211string? ns = e.Form == XmlSchemaForm.Qualified ? e.Namespace : "";
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
323string? expectedElement = e.Form == XmlSchemaForm.Qualified ? e.Namespace : ""; 422WriteIsStartTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""); 1855WriteXmlNodeEqual("Reader", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : ""); 2006qnames += attribute.IsSpecialXmlNamespace ? XmlReservedNs.NsXml : $"{(attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "")}:{attribute.Name}"; 2215string? ns = e.Form == XmlSchemaForm.Qualified ? e.Namespace : ""; 2474string? ns = e.Form == XmlSchemaForm.Qualified ? e.Namespace : "";
System\Xml\Serialization\XmlSerializationWriter.cs (10)
2630WriteStartElement(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""), mapping.IsSoap); 2830WriteEncodedNullTag(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : "")); 2832WriteLiteralNullTag(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : "")); 2835WriteEmptyTag(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : "")); 3309string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 3433string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 3479WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", attribute.Default, source, attribute.Mapping, false, false, false); 3913string? ns = element.Any && element.Name.Length == 0 ? null : (element.Form == XmlSchemaForm.Qualified ? (writeAccessor ? element.Namespace : element.Mapping!.Namespace) : ""); 3933WriteLiteralNullTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""); 4251WriteLiteralNullTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : "");
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
391WriteStartElement(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""), false); 567WriteLiteralNullTag(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : "")); 570WriteEmptyTag(element.Name, (element.Form == XmlSchemaForm.Qualified ? element.Namespace : "")); 1173string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 1319string? ns = attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : string.Empty; 1381WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", GetConvertedDefaultValue(source.Type, attribute.Default), source, attribute.Mapping, false, false, false); 1899string? ns = element.Any && element.Name.Length == 0 ? null : (element.Form == XmlSchemaForm.Qualified ? (writeAccessor ? element.Namespace : element.Mapping!.Namespace) : ""); 1926WriteLiteralNullTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : ""); 2188WriteLiteralNullTag(element.Name, element.Form == XmlSchemaForm.Qualified ? element.Namespace : "");