15 writes to IsNillable
System.Runtime.Serialization (5)
System\Runtime\Serialization\SchemaExporter.cs (5)
120
topLevelElement.
IsNillable
= true;
153
element.
IsNillable
= true;
390
keyValueElement.
IsNillable
= true;
400
element.
IsNillable
= true;
522
topLevelElement.
IsNillable
= dataContract.IsTopLevelElementNullable;
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractExporter.cs (2)
364
element.
IsNillable
= isNillable;
388
element.
IsNillable
= isNillable;
System\ServiceModel\Description\MessageContractImporter.cs (1)
1755
element.
IsNillable
= true;
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
8752
o.
@IsNillable
= System.Xml.XmlConvert.ToBoolean(Reader.Value);
System.Xml (6)
System\Xml\Schema\Inference\Infer.cs (2)
1234
xse.
IsNillable
= true;
2377
newElement.
IsNillable
= copyElement.IsNillable;
System\Xml\Schema\XsdBuilder.cs (1)
1311
builder.element.
IsNillable
= builder.ParseBoolean(value, "nillable");
System\Xml\Serialization\SoapSchemaExporter.cs (1)
261
element.
IsNillable
= accessor.IsNullable || accessor.Mapping is NullableMapping;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
237
element.
IsNillable
= accessor.IsNullable;
735
element.
IsNillable
= accessor.IsNullable;
29 references to IsNillable
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
1413
HandleComplexType(typeNode, table, tableChildren, node.
IsNillable
);
2158
column.AllowDBNull = this.FromInference ||(elem.MinOccurs == 0 ) || elem.
IsNillable
;
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
756
return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, nav.SchemaInfo.SchemaElement.
IsNillable
);
System.Runtime.Serialization (5)
System\Runtime\Serialization\SchemaHelper.cs (1)
223
isNullable = schemaElement.
IsNillable
;
System\Runtime\Serialization\SchemaImporter.cs (3)
366
xmlDataContract.IsTopLevelElementNullable = element.
IsNillable
;
978
bool memberIsNullable = element.
IsNillable
;
1077
dataContract.IsItemTypeNullable = element.
IsNillable
;
System\Runtime\Serialization\XsdDataContractImporter.cs (1)
186
return codeExporter.GetElementTypeReference(dataContract, element.
IsNillable
);
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractImporter.cs (2)
1590
if (!element.
IsNillable
&& !SchemaHelper.IsElementValueType(element))
1745
DataContractSerializerOperationGenerator.Add(part, typeRef, knownTypeRefs, !element.
IsNillable
&& !IsValueType(typeName));
System\ServiceModel\Description\SchemaHelper.cs (2)
115
if (e1.
IsNillable
!= e2.
IsNillable
)
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
2249
if (((global::System.Boolean)o.
@IsNillable
) != false) {
2250
WriteAttribute(@"nillable", @"", System.Xml.XmlConvert.ToString((global::System.Boolean)((global::System.Boolean)o.
@IsNillable
)));
System.Xml (15)
System\Xml\Schema\Inference\Infer.cs (2)
2375
if (copyElement.
IsNillable
)
2377
newElement.IsNillable = copyElement.
IsNillable
;
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
1118
(derivedElement.
IsNillable
== baseElement.
IsNillable
) &&
1872
decl.IsNillable = xe.
IsNillable
;
System\Xml\Schema\SchemaSetCompiler.cs (3)
1307
(baseElement.
IsNillable
|| !derivedElement.
IsNillable
) &&
2219
decl.IsNillable = xe.
IsNillable
;
System\Xml\Serialization\Mappings.cs (2)
1104
if (e1.
IsNillable
!= e2.
IsNillable
)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
832
if (o.
IsNillable
) {
833
WriteAttribute(@"nillable", @"", XmlConvert.ToString(o.
IsNillable
));
System\Xml\Serialization\SoapSchemaImporter.cs (1)
175
accessor.IsNullable = element.
IsNillable
;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
327
accessor.IsNullable = element.
IsNillable
;
1175
arrayAccessor.IsNullable = element.
IsNillable
;