2 instantiations of NullableMapping
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
314
mapping = new
NullableMapping
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
683
mapping = new
NullableMapping
();
24 references to NullableMapping
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (4)
288
private
NullableMapping
CreateNullableMapping(TypeMapping baseMapping, Type type)
292
NullableMapping
mapping;
295
if (existingMapping is
NullableMapping
)
297
mapping = (
NullableMapping
)existingMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
193
else if (mapping is
NullableMapping
)
194
return ExportTypeMapping(((
NullableMapping
)mapping).BaseMapping, ns);
300
element.IsNillable = accessor.IsNullable || accessor.Mapping is
NullableMapping
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (9)
325
|| (existing.Mapping is
NullableMapping
&& accessor.Mapping.TypeDesc == ((
NullableMapping
)existing.Mapping).BaseMapping.TypeDesc)
326
|| (accessor.Mapping is
NullableMapping
&& ((
NullableMapping
)accessor.Mapping).BaseMapping.TypeDesc == existing.Mapping.TypeDesc))
648
private
NullableMapping
CreateNullableMapping(TypeMapping baseMapping, Type type)
661
NullableMapping
mapping;
664
if (existingMapping is
NullableMapping
)
666
mapping = (
NullableMapping
)existingMapping;
2220
if (mapping is
NullableMapping
) return;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (4)
399
else if (mapping is
NullableMapping
)
400
ExportMapping(((
NullableMapping
)mapping).BaseMapping, ns, isAny);
429
else if (mapping is
NullableMapping
)
431
ExportElementMapping(element, ((
NullableMapping
)mapping).BaseMapping, ns, isAny);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (2)
3173
if (element.Mapping is
NullableMapping
)
3184
e.Mapping = ((
NullableMapping
)element.Mapping).BaseMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
2012
if (element.Mapping is
NullableMapping
)
2036
e.Mapping = ((
NullableMapping
)element.Mapping).BaseMapping;