10 writes to IsNillable
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaExporter.cs (5)
112
topLevelElement.
IsNillable
= true;
147
element.
IsNillable
= true;
390
keyValueElement.
IsNillable
= true;
400
element.
IsNillable
= true;
528
topLevelElement.
IsNillable
= dataContract.IsTopLevelElementNullable;
System.Private.Xml (5)
System\Xml\Schema\Inference\Infer.cs (2)
1220
xse.
IsNillable
= true;
2396
newElement.
IsNillable
= copyElement.IsNillable;
System\Xml\Schema\XsdBuilder.cs (1)
1390
builder._element!.
IsNillable
= builder.ParseBoolean(value, "nillable");
System\Xml\Serialization\XmlSchemaExporter.cs (2)
241
element.
IsNillable
= accessor.IsNullable;
821
element.
IsNillable
= accessor.IsNullable;
21 references to IsNillable
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1632
HandleComplexType(typeNode, table!, tableChildren, node.
IsNillable
);
2484
column.AllowDBNull = FromInference || (elem.MinOccurs == 0) || elem.
IsNillable
;
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\SchemaHelper.cs (1)
220
isNullable = schemaElement.
IsNillable
;
System\Runtime\Serialization\SchemaImporter.cs (3)
356
xmlDataContract.IsTopLevelElementNullable = element.
IsNillable
;
956
bool memberIsNullable = element.
IsNillable
;
1062
dataContract.IsItemTypeNullable = element.
IsNillable
;
System.Private.Xml (15)
System\Xml\Schema\Inference\Infer.cs (2)
2394
if (copyElement.
IsNillable
)
2396
newElement.IsNillable = copyElement.
IsNillable
;
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
1412
(derivedElement.
IsNillable
== baseElement.
IsNillable
) &&
2279
decl.IsNillable = xe.
IsNillable
;
System\Xml\Schema\SchemaSetCompiler.cs (3)
1668
(baseElement.
IsNillable
|| !derivedElement.
IsNillable
) &&
2738
decl.IsNillable = xe.
IsNillable
;
System\Xml\Serialization\Mappings.cs (2)
1248
if (e1.
IsNillable
!= e2.
IsNillable
)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
998
if (o.
IsNillable
)
1000
WriteAttribute(@"nillable", @"", XmlConvert.ToString(o.
IsNillable
));
System\Xml\Serialization\XmlSchemaImporter.cs (2)
297
accessor.IsNullable = element.
IsNillable
;
1221
arrayAccessor.IsNullable = element.
IsNillable
;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
803
return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, nav.SchemaInfo!.SchemaElement!.
IsNillable
);