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