54 references to None
System.Data.Common (1)
System\Data\XMLSchema.cs (1)
2510else if (elem.Form == XmlSchemaForm.None)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
961if (elementForm == XmlSchemaForm.None) 1066if (elementForm == XmlSchemaForm.None)
System.Private.Xml (51)
System\Xml\Schema\Preprocessor.cs (8)
1022if (_elementFormDefault == XmlSchemaForm.None) 1027if (_attributeFormDefault == XmlSchemaForm.None) 1162if (attribute.Form != XmlSchemaForm.None) 1176attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1191attribute.Form != XmlSchemaForm.None /*|| 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 (8)
467if (_elementFormDefault == XmlSchemaForm.None) 472if (_attributeFormDefault == XmlSchemaForm.None) 836if (attribute.Form != XmlSchemaForm.None) 850attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 865attribute.Form != XmlSchemaForm.None /*|| 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\XmlSchema.cs (4)
21private XmlSchemaForm _attributeFormDefault = XmlSchemaForm.None; 22private XmlSchemaForm _elementFormDefault = XmlSchemaForm.None; 238[XmlAttribute("attributeFormDefault"), DefaultValue(XmlSchemaForm.None)] 259[XmlAttribute("elementFormDefault"), DefaultValue(XmlSchemaForm.None)]
System\Xml\Schema\XmlSchemaAttribute.cs (2)
17private XmlSchemaForm _form = XmlSchemaForm.None; 45[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)]
System\Xml\Schema\XmlSchemaComplexType.cs (1)
500if (element.Form == XmlSchemaForm.None && parentSchema != null)
System\Xml\Schema\XmlSchemaElement.cs (2)
21private XmlSchemaForm _form = XmlSchemaForm.None; 80[XmlAttribute("form"), DefaultValue(XmlSchemaForm.None)]
System\Xml\Serialization\Mappings.cs (1)
33private XmlSchemaForm _form = XmlSchemaForm.None;
System\Xml\Serialization\XmlArrayAttribute.cs (1)
19private XmlSchemaForm _form = XmlSchemaForm.None;
System\Xml\Serialization\XmlArrayItemAttribute.cs (1)
22private XmlSchemaForm _form = XmlSchemaForm.None;
System\Xml\Serialization\XmlAttributeAttribute.cs (1)
20private XmlSchemaForm _form = XmlSchemaForm.None;
System\Xml\Serialization\XmlElementAttribute.cs (1)
22private XmlSchemaForm _form = XmlSchemaForm.None;
System\Xml\Serialization\XmlReflectionImporter.cs (7)
1519arrayItemElement.Form = xmlArrayItem.Form == XmlSchemaForm.None ? XmlSchemaForm.Qualified : xmlArrayItem.Form; 1603if (attribute.Form == XmlSchemaForm.None && ns != attribute.Namespace) 1663element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.None ? elementFormDefault : xmlElement.Form; 1749arrayElement.Form = rpc ? XmlSchemaForm.Unqualified : a.XmlArray.Form == XmlSchemaForm.None ? elementFormDefault : a.XmlArray.Form; 1782if (attribute.Form == XmlSchemaForm.None && ns != attribute.Namespace) 1836element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.None ? elementFormDefault : xmlElement.Form; 1904element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.None ? elementFormDefault : xmlElement.Form;
System\Xml\Serialization\XmlSchemaExporter.cs (8)
272schema.ElementFormDefault = elementFormDefault == XmlSchemaForm.Unqualified ? XmlSchemaForm.None : elementFormDefault; 273schema.AttributeFormDefault = attributeFormDefault == XmlSchemaForm.Unqualified ? XmlSchemaForm.None : attributeFormDefault; 288e.Form = XmlSchemaForm.None; 294a.Form = XmlSchemaForm.None; 738attribute.Form = accessor.Form == attributeFormDefault ? XmlSchemaForm.None : accessor.Form; 741attribute.Form = accessor.Form == schema.AttributeFormDefault ? XmlSchemaForm.None : accessor.Form; 839element.Form = accessor.Form == elementFormDefault ? XmlSchemaForm.None : accessor.Form; 842element.Form = accessor.Form == schema.ElementFormDefault ? XmlSchemaForm.None : accessor.Form;
System\Xml\Serialization\XmlSchemaImporter.cs (6)
178accessor.Form = schema.ElementFormDefault == XmlSchemaForm.None ? XmlSchemaForm.Unqualified : schema.ElementFormDefault; 892if (item.Form != XmlSchemaForm.None && item.Form != XmlSchemaExporter.elementFormDefault) 1981if (element.Form == XmlSchemaForm.None) 1994return schema.ElementFormDefault == XmlSchemaForm.None ? XmlSchemaForm.Unqualified : schema.ElementFormDefault; 2009if (attribute.Form == XmlSchemaForm.None) 2021return schema.AttributeFormDefault == XmlSchemaForm.None ? XmlSchemaForm.Unqualified : schema.AttributeFormDefault;