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