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