14 references to None
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
3267
if (((global::System.Xml.Schema.XmlSchemaUse)o.@Use) != global::System.Xml.Schema.XmlSchemaUse.
@None
) {
System.Xml (13)
System\Xml\Schema\Preprocessor.cs (2)
984
if (attribute.Use != XmlSchemaUse.
None
) {
1034
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.
None
) {
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1716
case XmlSchemaUse.
None
:
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
676
if (attribute.Use != XmlSchemaUse.
None
) {
724
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.
None
) {
System\Xml\Schema\SchemaSetCompiler.cs (1)
2075
case XmlSchemaUse.
None
:
System\Xml\Schema\XmlSchemaAttribute.cs (2)
24
XmlSchemaUse use = XmlSchemaUse.
None
;
111
[XmlAttribute("use"), DefaultValue(XmlSchemaUse.
None
)]
System\Xml\Serialization\SchemaObjectWriter.cs (1)
271
XmlSchemaUse use = o.Use == XmlSchemaUse.
None
? XmlSchemaUse.Optional : o.Use;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
657
attribute.Use = XmlSchemaUse.
None
;
675
attribute.Use = XmlSchemaUse.
None
;
681
refAttribute.Use = XmlSchemaUse.
None
;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1384
if ((attribute.Use == XmlSchemaUse.Optional || attribute.Use == XmlSchemaUse.
None
) && member.TypeDesc.IsValueType && !attribute.HasDefault && !member.TypeDesc.HasIsEmpty) {