54 references to None
System.Data.Common (1)
System\Data\XMLSchema.cs (1)
2506else if (elem.Form == XmlSchemaForm.None)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
960if (elementForm == XmlSchemaForm.None) 1065if (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)
464if (_elementFormDefault == XmlSchemaForm.None) 469if (_attributeFormDefault == XmlSchemaForm.None) 833if (attribute.Form != XmlSchemaForm.None) 847attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.None && _attributeFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 862attribute.Form != XmlSchemaForm.None /*|| 965if (element.Form != XmlSchemaForm.None) 990element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null)); 1009element.Form != XmlSchemaForm.None ||
System\Xml\Schema\XmlSchema.cs (4)
21private XmlSchemaForm _attributeFormDefault = XmlSchemaForm.None; 22private XmlSchemaForm _elementFormDefault = XmlSchemaForm.None; 230[XmlAttribute("attributeFormDefault"), DefaultValue(XmlSchemaForm.None)] 251[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)
1524arrayItemElement.Form = xmlArrayItem.Form == XmlSchemaForm.None ? XmlSchemaForm.Qualified : xmlArrayItem.Form; 1608if (attribute.Form == XmlSchemaForm.None && ns != attribute.Namespace) 1668element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.None ? elementFormDefault : xmlElement.Form; 1754arrayElement.Form = rpc ? XmlSchemaForm.Unqualified : a.XmlArray.Form == XmlSchemaForm.None ? elementFormDefault : a.XmlArray.Form; 1787if (attribute.Form == XmlSchemaForm.None && ns != attribute.Namespace) 1841element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.None ? elementFormDefault : xmlElement.Form; 1909element.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; 734attribute.Form = accessor.Form == attributeFormDefault ? XmlSchemaForm.None : accessor.Form; 737attribute.Form = accessor.Form == schema.AttributeFormDefault ? XmlSchemaForm.None : accessor.Form; 835element.Form = accessor.Form == elementFormDefault ? XmlSchemaForm.None : accessor.Form; 838element.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;