14 references to None
System.Private.Xml (13)
System\Xml\Schema\Preprocessor.cs (2)
1158if (attribute.Use != XmlSchemaUse.None) 1220if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2087case XmlSchemaUse.None:
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
832if (attribute.Use != XmlSchemaUse.None) 892if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
System\Xml\Schema\SchemaSetCompiler.cs (1)
2559case XmlSchemaUse.None:
System\Xml\Schema\XmlSchemaAttribute.cs (2)
18private XmlSchemaUse _use = XmlSchemaUse.None; 80[XmlAttribute("use"), DefaultValue(XmlSchemaUse.None)]
System\Xml\Serialization\SchemaObjectWriter.cs (1)
326XmlSchemaUse use = o.Use == XmlSchemaUse.None ? XmlSchemaUse.Optional : o.Use;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
727attribute.Use = XmlSchemaUse.None; 750attribute.Use = XmlSchemaUse.None; 756refAttribute.Use = XmlSchemaUse.None;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1446if ((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)
3848if (((global::System.Xml.Schema.XmlSchemaUse)o.@Use) != Xml.Schema.XmlSchemaUse.@None) {