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