2 instantiations of NullableMapping
System.Private.Xml (2)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
284
mapping = new
NullableMapping
();
System\Xml\Serialization\XmlReflectionImporter.cs (1)
682
mapping = new
NullableMapping
();
47 references to NullableMapping
System.Private.Xml (47)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (6)
39
(mapping is StructMapping || mapping is EnumMapping || mapping is ArrayMapping || mapping is
NullableMapping
) &&
767
if (ele.Mapping is
NullableMapping
nullableMapping)
851
else if (element.Mapping is
NullableMapping
nullableMapping)
1032
else if (mapping is
NullableMapping
nullableMapping)
1236
private object? WriteNullableMethod(
NullableMapping
nullableMapping, string? defaultNamespace)
1400
if (mapping is StructMapping || mapping is ArrayMapping || mapping is PrimitiveMapping || mapping is
NullableMapping
)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
321
if (element.Mapping is
NullableMapping
nullableMapping)
System\Xml\Serialization\SoapReflectionImporter.cs (4)
257
private
NullableMapping
CreateNullableMapping(TypeMapping baseMapping,
262
NullableMapping
mapping;
265
if (existingMapping is
NullableMapping
)
267
mapping = (
NullableMapping
)existingMapping;
System\Xml\Serialization\XmlReflectionImporter.cs (9)
331
|| (existing.Mapping is
NullableMapping
&& accessor.Mapping.TypeDesc == ((
NullableMapping
)existing.Mapping).BaseMapping!.TypeDesc)
332
|| (accessor.Mapping is
NullableMapping
&& ((
NullableMapping
)accessor.Mapping).BaseMapping!.TypeDesc == existing.Mapping.TypeDesc))
646
private
NullableMapping
CreateNullableMapping(TypeMapping baseMapping,
660
NullableMapping
mapping;
663
if (existingMapping is
NullableMapping
)
665
mapping = (
NullableMapping
)existingMapping;
2231
if (mapping is
NullableMapping
) return;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
361
else if (mapping is
NullableMapping
)
362
ExportMapping(((
NullableMapping
)mapping).BaseMapping!, ns, isAny);
390
else if (mapping is
NullableMapping
)
392
ExportElementMapping(element, ((
NullableMapping
)mapping).BaseMapping!, ns, isAny);
System\Xml\Serialization\XmlSerializationReader.cs (14)
2244
if (mapping is StructMapping || mapping is EnumMapping || mapping is
NullableMapping
)
2260
else if (mapping is
NullableMapping
)
2262
WriteNullableMethod((
NullableMapping
)mapping);
2283
else if (mapping is
NullableMapping
)
2285
WriteNullableMethod((
NullableMapping
)mapping);
2390
(mapping is StructMapping || mapping is EnumMapping || mapping is ArrayMapping || mapping is
NullableMapping
) &&
3160
private void WriteNullableMethod(
NullableMapping
nullableMapping)
3872
if (mapping is StructMapping || mapping is ArrayMapping || mapping is PrimitiveMapping || mapping is
NullableMapping
)
4246
if (e.Mapping is
NullableMapping
)
4248
TypeDesc td = ((
NullableMapping
)e.Mapping).BaseMapping!.TypeDesc!;
4278
if (e.Mapping!.TypeDesc!.IsValueType || e.Mapping is
NullableMapping
)
4285
if (e.Mapping is
NullableMapping
)
4288
TypeDesc td = ((
NullableMapping
)e.Mapping).BaseMapping!.TypeDesc!;
4630
else if (element.Mapping is
NullableMapping
)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
197
if (mapping is StructMapping || mapping is EnumMapping || mapping is
NullableMapping
)
217
else if (mapping is
NullableMapping
)
219
WriteNullableMethod((
NullableMapping
)mapping);
1274
private void WriteNullableMethod(
NullableMapping
nullableMapping)
2974
else if (element.Mapping is
NullableMapping
)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3914
if (element.Mapping is
NullableMapping
)
3925
e.Mapping = ((
NullableMapping
)element.Mapping).BaseMapping;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1900
if (element.Mapping is
NullableMapping
)
1921
e.Mapping = ((
NullableMapping
)element.Mapping).BaseMapping;