21 references to @Required
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
1999
column.AllowDBNull = !(attrib.Use == XmlSchemaUse.
Required
);
2027
string strDefault = (attrib.Use == XmlSchemaUse.
Required
) ? GetMsdataAttribute(attr, Keywords.MSD_DEFAULTVALUE) : attr.DefaultValue;
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1399
if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.
Required
)
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\SchemaUtility.cs (2)
240
instanceId.Use = XmlSchemaUse.
Required
;
251
messageNumber.Use = XmlSchemaUse.
Required
;
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
3280
case global::System.Xml.Schema.XmlSchemaUse.
@Required
: s = @"required"; break;
8679
case @"required": return global::System.Xml.Schema.XmlSchemaUse.
@Required
;
System.Xml (14)
System\Xml\Schema\Inference\Infer.cs (3)
331
attributeReference.Use = XmlSchemaUse.
Required
;
390
attributeReference.Use = XmlSchemaUse.
Required
;
440
xsa.Use = XmlSchemaUse.
Required
;
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1720
case XmlSchemaUse.
Required
:
System\Xml\Schema\SchemaSetCompiler.cs (7)
1791
else if (attributeBase.Use == XmlSchemaUse.
Required
&& (attribute.Use != XmlSchemaUse.
Required
)) { //If base is required, derived should also be required
1845
else if (attributeBase.Use == XmlSchemaUse.
Required
&& attribute.Use != XmlSchemaUse.
Required
) {
1858
else if (attributeBase.Use == XmlSchemaUse.
Required
) {
2056
if (xa.Use == XmlSchemaUse.
Required
) {
2079
case XmlSchemaUse.
Required
:
System\Xml\Serialization\SchemaObjectWriter.cs (1)
607
case XmlSchemaUse.
@Required
:s = @"required"; break;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
659
attribute.Use = XmlSchemaUse.
Required
;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1519
accessor.IsOptional = attribute.Use != XmlSchemaUse.
Required
;