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); 437_mapping = GenerateXmlTypeMapping(_rootType!, null, null, null, DefaultNamespace); 656serializers[i]._mapping = mappings[i]; 839_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) 410_tempAssembly.InvokeWriter(_mapping, xmlWriter, o, namespaces == null || namespaces.Count == 0 ? DefaultNamespaces : namespaces, encodingStyle, id); 435if (_mapping == null || !_mapping.GenerateSerializer) 440return _mapping; 498else if (ShouldUseReflectionBasedSerialization(_mapping) || _isReflectionBasedSerializer) 510return _tempAssembly.InvokeReader(_mapping, xmlReader, events, encodingStyle); 551else if (ShouldUseReflectionBasedSerialization(_mapping) || _isReflectionBasedSerializer) 561return _tempAssembly.CanRead(_mapping, xmlReader);