9 writes to Form
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaHelper.cs (1)
150
element.
Form
= XmlSchemaForm.Qualified;
System.Private.Xml (8)
System\Xml\Schema\Inference\Infer.cs (2)
516
xse.
Form
= XmlSchemaForm.Qualified;
2391
newElement.
Form
= copyElement.Form;
System\Xml\Schema\XsdBuilder.cs (1)
1355
builder._element!.
Form
= (XmlSchemaForm)builder.ParseEnum(value, "form", s_formStringValues);
System\Xml\Serialization\XmlSchemaExporter.cs (5)
243
element.
Form
= accessor.Form;
288
e.
Form
= XmlSchemaForm.None;
829
element.
Form
= accessor.Form;
839
element.
Form
= accessor.Form == elementFormDefault ? XmlSchemaForm.None : accessor.Form;
842
element.
Form
= accessor.Form == schema.ElementFormDefault ? XmlSchemaForm.None : accessor.Form;
18 references to Form
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
2506
if (elem.
Form
== XmlSchemaForm.Unqualified)
2510
else if (elem.
Form
== XmlSchemaForm.None)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
960
XmlSchemaForm elementForm = element.
Form
;
1065
XmlSchemaForm elementForm = element.
Form
;
System.Private.Xml (14)
System\Xml\Schema\Inference\Infer.cs (1)
2391
newElement.Form = copyElement.
Form
;
System\Xml\Schema\Preprocessor.cs (4)
1295
if (element.
Form
!= XmlSchemaForm.None)
1320
element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.
Form
== XmlSchemaForm.Qualified || (element.
Form
== XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
1339
element.
Form
!= XmlSchemaForm.None ||
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
968
if (element.
Form
!= XmlSchemaForm.None)
993
element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.
Form
== XmlSchemaForm.Qualified || (element.
Form
== XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
1012
element.
Form
!= XmlSchemaForm.None ||
System\Xml\Schema\XmlSchemaComplexType.cs (2)
500
if (element.
Form
== XmlSchemaForm.None && parentSchema != null)
506
return element.
Form
;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
286
if (e.
Form
== XmlSchemaForm.Unqualified)
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1981
if (element.
Form
== XmlSchemaForm.None)
2004
return element.
Form
;