10 writes to IsNillable
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaExporter.cs (5)
112topLevelElement.IsNillable = true; 147element.IsNillable = true; 391keyValueElement.IsNillable = true; 401element.IsNillable = true; 529topLevelElement.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;
22 references to IsNillable
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1640HandleComplexType(typeNode, table!, tableChildren, node.IsNillable); 2496column.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)
312accessor.IsNullable = element.IsNillable; 1253arrayAccessor.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);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (1)
241return codeExporter.GetElementTypeReference(dataContract, element.IsNillable);