15 references to None
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1191if (attribute.Use != XmlSchemaUse.None) 1253if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
2168case XmlSchemaUse.None:
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
840if (attribute.Use != XmlSchemaUse.None) 900if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
2375if (attribute.Use == XmlSchemaUse.Optional || attribute.Use == XmlSchemaUse.None) 2615case XmlSchemaUse.None:
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (2)
26private XmlSchemaUse _use = XmlSchemaUse.None; 120[XmlAttribute("use"), DefaultValue(XmlSchemaUse.None)]
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (1)
327XmlSchemaUse use = o.Use == XmlSchemaUse.None ? XmlSchemaUse.Optional : o.Use;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
767attribute.Use = XmlSchemaUse.None; 790attribute.Use = XmlSchemaUse.None; 796refAttribute.Use = XmlSchemaUse.None;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1586if ((attribute.Use == XmlSchemaUse.Optional || attribute.Use == XmlSchemaUse.None) && member.TypeDesc.IsValueType && !attribute.HasDefault && !member.TypeDesc.HasIsEmpty)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
4127if (((Microsoft.Xml.Schema.XmlSchemaUse)o.@Use) != Microsoft.Xml.Schema.XmlSchemaUse.@None)