2 writes to BaseMapping
System.Private.Xml (2)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
285
mapping.
BaseMapping
= baseMapping;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
683
mapping.
BaseMapping
= baseMapping;
22 references to BaseMapping
System.Private.Xml (22)
System\Xml\Serialization\Mappings.cs (1)
376
get { return
BaseMapping
!.DefaultElementName; }
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
769
TypeDesc td = nullableMapping.
BaseMapping
!.TypeDesc!;
1242
element.Mapping = nullableMapping.
BaseMapping
;
1244
element.IsNullable = nullableMapping.
BaseMapping
!.TypeDesc!.IsNullable;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
326
e.Mapping = nullableMapping.
BaseMapping
;
System\Xml\Serialization\SoapReflectionImporter.cs (2)
268
if (mapping.
BaseMapping
is PrimitiveMapping && baseMapping is PrimitiveMapping)
270
else if (mapping.
BaseMapping
== baseMapping)
System\Xml\Serialization\XmlReflectionImporter.cs (4)
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))
666
if (mapping.
BaseMapping
is PrimitiveMapping && baseMapping is PrimitiveMapping)
668
else if (mapping.
BaseMapping
== baseMapping)
System\Xml\Serialization\XmlSchemaExporter.cs (2)
362
ExportMapping(((NullableMapping)mapping).
BaseMapping
!, ns, isAny);
392
ExportElementMapping(element, ((NullableMapping)mapping).
BaseMapping
!, ns, isAny);
System\Xml\Serialization\XmlSerializationReader.cs (5)
3163
bool useReflection = nullableMapping.
BaseMapping
!.TypeDesc!.UseReflection;
3195
element.Mapping = nullableMapping.
BaseMapping
;
3197
element.IsNullable = nullableMapping.
BaseMapping
.TypeDesc.IsNullable;
4248
TypeDesc td = ((NullableMapping)e.Mapping).
BaseMapping
!.TypeDesc!;
4288
TypeDesc td = ((NullableMapping)e.Mapping).
BaseMapping
!.TypeDesc!;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
1305
element.Mapping = nullableMapping.
BaseMapping
;
1307
element.IsNullable = nullableMapping.
BaseMapping
!.TypeDesc!.IsNullable;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3925
e.Mapping = ((NullableMapping)element.Mapping).
BaseMapping
;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
1921
e.Mapping = ((NullableMapping)element.Mapping).
BaseMapping
;