9 writes to _mapping
System.Private.Xml (9)
System\Xml\Serialization\XmlSerializer.cs (9)
205_mapping = xmlTypeMapping; 223_mapping = GetKnownMapping(type, defaultNamespace)!; 256_mapping = importer.ImportTypeMapping(type, null, defaultNamespace); 263_mapping = XmlReflectionImporter.GetTopLevelMapping(type, defaultNamespace); 271_mapping ??= XmlReflectionImporter.GetTopLevelMapping(type, defaultNamespace); 282_mapping = GenerateXmlTypeMapping(type, overrides, extraTypes, root, defaultNamespace); 436_mapping = GenerateXmlTypeMapping(_rootType!, null, null, null, DefaultNamespace); 655serializers[i]._mapping = mappings[i]; 838_mapping = mapping;
13 references to _mapping
System.Private.Xml (13)
System\Xml\Serialization\XmlSerializer.cs (13)
224if (_mapping != null) 257_tempAssembly = GenerateTempAssembly(_mapping, type, defaultNamespace)!; 264_tempAssembly = new TempAssembly(new XmlMapping[] { _mapping }, assembly, contract); 285_tempAssembly = GenerateTempAssembly(_mapping, type, defaultNamespace, location); 397else if (ShouldUseReflectionBasedSerialization(_mapping) || _isReflectionBasedSerializer) 409_tempAssembly.InvokeWriter(_mapping, xmlWriter, o, namespaces == null || namespaces.Count == 0 ? DefaultNamespaces : namespaces, encodingStyle, id); 434if (_mapping == null || !_mapping.GenerateSerializer) 439return _mapping; 497else if (ShouldUseReflectionBasedSerialization(_mapping) || _isReflectionBasedSerializer) 509return _tempAssembly.InvokeReader(_mapping, xmlReader, events, encodingStyle); 550else if (ShouldUseReflectionBasedSerialization(_mapping) || _isReflectionBasedSerializer) 560return _tempAssembly.CanRead(_mapping, xmlReader);