34 references to IsNullable
dotnet-svcutil-lib (34)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
694
bool sameNullable = arrayElement.IsNullable == elementMapping.TypeDesc.
IsNullable
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (4)
281
element.IsNullable = root.IsNullableSpecified ? root.IsNullable : model.TypeDesc.
IsNullable
|| model.TypeDesc.IsOptionalValue;
285
element.IsNullable = model.TypeDesc.
IsNullable
|| model.TypeDesc.IsOptionalValue;
1506
arrayItemElement.IsNullable = xmlArrayItem.IsNullableSpecified ? xmlArrayItem.IsNullable : targetTypeDesc.
IsNullable
|| targetTypeDesc.IsOptionalValue;
2222
if (isNullable && !typeDesc.
IsNullable
) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidIsNullable, typeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (3)
152
accessor.IsNullable = typeMapping.TypeDesc.
IsNullable
;
1002
if (item.IsNullable != item.Mapping.TypeDesc.
IsNullable
)
1356
if (arrayMapping.TypeDesc.
IsNullable
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (13)
2261
if (derived.TypeDesc.
IsNullable
)
2363
if (mapping.TypeDesc.
IsNullable
)
2367
if (mapping.TypeDesc.
IsNullable
)
2561
if (memberTypeDesc.
IsNullable
)
2709
if (memberTypeDesc.
IsNullable
)
2753
WriteElements(source, choiceSource, elements, text, choice, "a", writeAccessors, memberTypeDesc.
IsNullable
);
2764
if (arrayTypeDesc.
IsNullable
)
2788
if (arrayTypeDesc.
IsNullable
)
2887
WriteElements(arrayName + "i", choiceName + "i", elements, text, choice, arrayName + "a", true, arrayElementTypeDesc.
IsNullable
);
2891
WriteElements(RaCodeGen.GetStringForArrayMember(arrayName, "i" + arrayName, arrayTypeDesc), elements, text, choice, arrayName + "a", true, arrayElementTypeDesc.
IsNullable
);
3236
if (mapping.TypeDesc.
IsNullable
)
3294
if (mapping.TypeDesc.
IsNullable
)
3390
if (mapping.TypeDesc.
IsNullable
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (13)
786
if (derived.TypeDesc.
IsNullable
)
964
if (mapping.TypeDesc.
IsNullable
)
976
if (mapping.TypeDesc.
IsNullable
)
1218
if (memberTypeDesc.
IsNullable
)
1426
if (memberTypeDesc.
IsNullable
)
1492
WriteElements(source, choiceSource, elements, text, choice, "a" + memberTypeDesc.Name, writeAccessors, memberTypeDesc.
IsNullable
);
1503
if (arrayTypeDesc.
IsNullable
)
1550
if (arrayTypeDesc.
IsNullable
)
1638
WriteElements(new SourceInfo(arrayNamePlusI, null, null, arrayElementTypeDesc.Type, ilg), choiceName + "i", elements, text, choice, arrayNamePlusA, true, arrayElementTypeDesc.
IsNullable
);
1642
WriteElements(new SourceInfo(RaCodeGen.GetStringForArrayMember(arrayName, iPlusArrayName, arrayTypeDesc), null, null, arrayElementTypeDesc.Type, ilg), null, elements, text, choice, arrayNamePlusA, true, arrayElementTypeDesc.
IsNullable
);
2063
if (mapping.TypeDesc.
IsNullable
)
2079
if (mapping.TypeDesc.
IsNullable
)
2121
if (mapping.TypeDesc.
IsNullable
)