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