19 references to Required
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
2299column.AllowDBNull = !(attrib.Use == XmlSchemaUse.Required); 2332string? strDefault = (attrib.Use == XmlSchemaUse.Required) ? GetMsdataAttribute(attr, Keywords.MSD_DEFAULTVALUE) : attr.DefaultValue;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1385if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required)
System.Private.Xml (14)
System\Xml\Schema\Inference\Infer.cs (3)
311attributeReference.Use = XmlSchemaUse.Required; 371attributeReference.Use = XmlSchemaUse.Required; 421xsa.Use = XmlSchemaUse.Required;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2091case XmlSchemaUse.Required:
System\Xml\Schema\SchemaSetCompiler.cs (7)
2258else if (attributeBase.Use == XmlSchemaUse.Required && (attribute.Use != XmlSchemaUse.Required)) 2318else if (attributeBase.Use == XmlSchemaUse.Required && attribute.Use != XmlSchemaUse.Required) 2335else if (attributeBase.Use == XmlSchemaUse.Required) 2531if (xa.Use == XmlSchemaUse.Required) 2563case XmlSchemaUse.Required:
System\Xml\Serialization\SchemaObjectWriter.cs (1)
736case XmlSchemaUse.@Required: s = @"required"; break;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
730attribute.Use = XmlSchemaUse.Required;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1598accessor.IsOptional = attribute.Use != XmlSchemaUse.Required;
System.Web.Services.Description (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
3861case Xml.Schema.XmlSchemaUse.@Required: s = @"required"; break; 10669case @"required": return Xml.Schema.XmlSchemaUse.@Required;