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