14 references to None
System.Private.Xml (13)
System\Xml\Schema\Preprocessor.cs (2)
1158
if (attribute.Use != XmlSchemaUse.
None
)
1220
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.
None
)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2087
case XmlSchemaUse.
None
:
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
832
if (attribute.Use != XmlSchemaUse.
None
)
892
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.
None
)
System\Xml\Schema\SchemaSetCompiler.cs (1)
2559
case XmlSchemaUse.
None
:
System\Xml\Schema\XmlSchemaAttribute.cs (2)
18
private XmlSchemaUse _use = XmlSchemaUse.
None
;
80
[XmlAttribute("use"), DefaultValue(XmlSchemaUse.
None
)]
System\Xml\Serialization\SchemaObjectWriter.cs (1)
326
XmlSchemaUse use = o.Use == XmlSchemaUse.
None
? XmlSchemaUse.Optional : o.Use;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
727
attribute.Use = XmlSchemaUse.
None
;
750
attribute.Use = XmlSchemaUse.
None
;
756
refAttribute.Use = XmlSchemaUse.
None
;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1481
if ((attribute.Use == XmlSchemaUse.Optional || attribute.Use == XmlSchemaUse.
None
) && member.TypeDesc!.IsValueType && !attribute.HasDefault && !member.TypeDesc.HasIsEmpty)
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
3848
if (((global::System.Xml.Schema.XmlSchemaUse)o.@Use) != Xml.Schema.XmlSchemaUse.
@None
) {