71 references to None
System.Data (1)
fx\src\data\System\Data\XMLSchema.cs (1)
2170
else if (elem.Form == XmlSchemaForm.
None
) {
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
982
XmlSchemaForm elementForm = (element.Form == XmlSchemaForm.
None
) ? SchemaHelper.GetSchemaWithType(SchemaObjects, schemaSet, typeName).ElementFormDefault : element.Form;
1080
XmlSchemaForm elementForm = (element.Form == XmlSchemaForm.
None
) ? SchemaHelper.GetSchemaWithType(SchemaObjects, schemaSet, typeName).ElementFormDefault : element.Form;
System.ServiceModel (1)
System\ServiceModel\Description\MessageContractImporter.cs (1)
1177
XmlSchemaForm elementForm = (element.Form != XmlSchemaForm.
None
) ? element.Form : elementFormDefault;
System.Web.Services (4)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (4)
1813
if (((global::System.Xml.Schema.XmlSchemaForm)o.@AttributeFormDefault) != global::System.Xml.Schema.XmlSchemaForm.
@None
) {
1822
if (((global::System.Xml.Schema.XmlSchemaForm)o.@ElementFormDefault) != global::System.Xml.Schema.XmlSchemaForm.
@None
) {
2243
if (((global::System.Xml.Schema.XmlSchemaForm)o.@Form) != global::System.Xml.Schema.XmlSchemaForm.
@None
) {
3261
if (((global::System.Xml.Schema.XmlSchemaForm)o.@Form) != global::System.Xml.Schema.XmlSchemaForm.
@None
) {
System.Xml (63)
System\Xml\Schema\Preprocessor.cs (8)
880
if (this.elementFormDefault == XmlSchemaForm.
None
) {
884
if (this.attributeFormDefault == XmlSchemaForm.
None
) {
987
if (attribute.Form != XmlSchemaForm.
None
) {
998
attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.
None
&& this.attributeFormDefault == XmlSchemaForm.Qualified)) ? this.targetNamespace : null));
1010
attribute.Form != XmlSchemaForm.
None
/*||
1092
if (element.Form != XmlSchemaForm.
None
) {
1111
element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.
None
&& this.elementFormDefault == XmlSchemaForm.Qualified))? this.targetNamespace : null));
1127
element.Form != XmlSchemaForm.
None
||
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
389
if (this.elementFormDefault == XmlSchemaForm.
None
) {
393
if (this.attributeFormDefault == XmlSchemaForm.
None
) {
679
if (attribute.Form != XmlSchemaForm.
None
) {
690
attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, (attribute.Form == XmlSchemaForm.Qualified || (attribute.Form == XmlSchemaForm.
None
&& this.attributeFormDefault == XmlSchemaForm.Qualified)) ? this.targetNamespace : null));
702
attribute.Form != XmlSchemaForm.
None
/*||
782
if (element.Form != XmlSchemaForm.
None
) {
801
element.SetQualifiedName(new XmlQualifiedName(element.Name, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.
None
&& this.elementFormDefault == XmlSchemaForm.Qualified))? this.targetNamespace : null));
817
element.Form != XmlSchemaForm.
None
||
System\Xml\Schema\XmlSchema.cs (4)
42
XmlSchemaForm attributeFormDefault = XmlSchemaForm.
None
;
43
XmlSchemaForm elementFormDefault = XmlSchemaForm.
None
;
263
[XmlAttribute("attributeFormDefault"), DefaultValue(XmlSchemaForm.
None
)]
293
[XmlAttribute("elementFormDefault"), DefaultValue(XmlSchemaForm.
None
)]
System\Xml\Schema\XmlSchemaAttribute.cs (2)
23
XmlSchemaForm form = XmlSchemaForm.
None
;
61
[XmlAttribute("form"), DefaultValue(XmlSchemaForm.
None
)]
System\Xml\Schema\XmlSchemaComplexType.cs (1)
507
if (element.Form == XmlSchemaForm.
None
&& parentSchema != null) {
System\Xml\Schema\XmlSchemaElement.cs (2)
28
XmlSchemaForm form = XmlSchemaForm.
None
;
105
[XmlAttribute("form"), DefaultValue(XmlSchemaForm.
None
)]
System\Xml\Serialization\Mappings.cs (1)
33
XmlSchemaForm form = XmlSchemaForm.
None
;
System\Xml\Serialization\SoapSchemaExporter.cs (1)
109
schema.ElementFormDefault = elementFormDefault == XmlSchemaForm.Unqualified ? XmlSchemaForm.
None
: elementFormDefault;
System\Xml\Serialization\SoapSchemaImporter.cs (4)
176
accessor.Form = XmlSchemaForm.
None
;
393
arrayAccessor.Form = XmlSchemaForm.
None
;
409
itemAccessor.Form = XmlSchemaForm.
None
;
462
itemAccessor.Form = XmlSchemaForm.
None
;
System\Xml\Serialization\XmlArrayAttribute.cs (1)
22
XmlSchemaForm form = XmlSchemaForm.
None
;
System\Xml\Serialization\XmlArrayItemAttribute.cs (1)
25
XmlSchemaForm form = XmlSchemaForm.
None
;
System\Xml\Serialization\XmlAttributeAttribute.cs (1)
23
XmlSchemaForm form = XmlSchemaForm.
None
;
System\Xml\Serialization\XmlCodeExporter.cs (7)
607
ExportArrayItem(metadata, sameName ? null : elementName, sameElementNs ? null : arrayElement.Namespace, sameElementType ? null : elementMapping.TypeDesc, elementMapping.TypeDesc, arrayElement.IsNullable, defaultForm ? XmlSchemaForm.
None
: arrayElement.Form, nestingLevel);
635
defaultForm ? XmlSchemaForm.
None
: attribute.Form);
662
ExportArray(metadata, sameName ? null : elemName, sameNs ? null : element.Namespace, element.IsNullable, defaultForm ? XmlSchemaForm.
None
: element.Form, member.SequenceId);
666
ExportArray(metadata, null, null, false, XmlSchemaForm.
None
, member.SequenceId);
675
ExportElement(metadata, sameName ? null : elemName, sameNs ? null : element.Namespace, sameType ? null : mapping.TypeDesc, mapping.TypeDesc, element.IsNullable, defaultForm ? XmlSchemaForm.
None
: element.Form, member.SequenceId);
688
ExportElement(metadata, elemName, sameNs ? null : element.Namespace, ((TypeMapping)element.Mapping).TypeDesc, ((TypeMapping)element.Mapping).TypeDesc, element.IsNullable, defaultForm ? XmlSchemaForm.
None
: element.Form, member.SequenceId);
789
if (form != XmlSchemaForm.
None
) {
System\Xml\Serialization\XmlElementAttribute.cs (1)
24
XmlSchemaForm form = XmlSchemaForm.
None
;
System\Xml\Serialization\XmlReflectionImporter.cs (7)
1310
arrayItemElement.Form = xmlArrayItem.Form == XmlSchemaForm.
None
? XmlSchemaForm.Qualified : xmlArrayItem.Form;
1385
if (attribute.Form == XmlSchemaForm.
None
&& ns != attribute.Namespace) {
1440
element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.
None
? elementFormDefault : xmlElement.Form;
1518
arrayElement.Form = rpc ? XmlSchemaForm.Unqualified : a.XmlArray.Form == XmlSchemaForm.
None
? elementFormDefault : a.XmlArray.Form;
1547
if (attribute.Form == XmlSchemaForm.
None
&& ns != attribute.Namespace) {
1594
element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.
None
? elementFormDefault : xmlElement.Form;
1651
element.Form = rpc ? XmlSchemaForm.Unqualified : xmlElement.Form == XmlSchemaForm.
None
? elementFormDefault : xmlElement.Form;
System\Xml\Serialization\XmlSchemaExporter.cs (8)
265
schema.ElementFormDefault = elementFormDefault == XmlSchemaForm.Unqualified ? XmlSchemaForm.
None
: elementFormDefault;
266
schema.AttributeFormDefault = attributeFormDefault == XmlSchemaForm.Unqualified ? XmlSchemaForm.
None
: attributeFormDefault;
283
e.Form = XmlSchemaForm.
None
;
289
a.Form = XmlSchemaForm.
None
;
666
attribute.Form = accessor.Form == attributeFormDefault ? XmlSchemaForm.
None
: accessor.Form;
668
attribute.Form = accessor.Form == schema.AttributeFormDefault ? XmlSchemaForm.
None
: accessor.Form;
751
element.Form = accessor.Form == elementFormDefault ? XmlSchemaForm.
None
: accessor.Form;
753
element.Form = accessor.Form == schema.ElementFormDefault ? XmlSchemaForm.
None
: accessor.Form;
System\Xml\Serialization\XmlSchemaImporter.cs (6)
208
accessor.Form = schema.ElementFormDefault == XmlSchemaForm.
None
? XmlSchemaForm.Unqualified : schema.ElementFormDefault;
870
if (item.Form != XmlSchemaForm.
None
&& item.Form != XmlSchemaExporter.elementFormDefault)
1800
if (element.Form == XmlSchemaForm.
None
) {
1809
return schema.ElementFormDefault == XmlSchemaForm.
None
? XmlSchemaForm.Unqualified : schema.ElementFormDefault;
1858
if (attribute.Form == XmlSchemaForm.
None
) {
1866
return schema.AttributeFormDefault == XmlSchemaForm.
None
? XmlSchemaForm.Unqualified : schema.AttributeFormDefault;