2 writes to _objectManager
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectReader.cs (2)
95
_objectManager
= new ObjectManager(_surrogates, _context);
150
_objectManager
= new ObjectManager(_surrogates, _context);
19 references to _objectManager
System.Runtime.Serialization.Formatters (19)
System\Runtime\Serialization\Formatters\Binary\BinaryObjectReader.cs (19)
60
if (
_objectManager
!= null)
62
_objectManager
.TopObject = value;
104
_objectManager
!.DoFixups();
116
Debug.Assert(
_objectManager
!= null);
117
TopObject =
_objectManager
.GetObject(_topId);
127
_objectManager
!.RaiseDeserializationEvent(); // This will raise both IDeserialization and [OnDeserialized] events
164
return ReadObjectInfo.Create(objectType, _surrogates, _context,
_objectManager
, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly);
172
return ReadObjectInfo.Create(objectType, memberNames, memberTypes, _surrogates, _context,
_objectManager
, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly);
285
Debug.Assert(
_objectManager
!= null);
287
_objectManager
.RaiseOnDeserializingEvent(pr._newObj);
300
pr._objectInfo ??= ReadObjectInfo.Create(pr._dtType, _surrogates, _context,
_objectManager
, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly);
568
Debug.Assert(
_objectManager
!= null);
570
object? refObj =
_objectManager
.GetObject(pr._idRef);
578
_objectManager
.RecordArrayElementFixup(objectPr._objectId, fixupIndex, pr._idRef);
768
Debug.Assert(
_objectManager
!= null);
770
object? refObj =
_objectManager
.GetObject(pr._idRef);
902
Debug.Assert(
_objectManager
!= null);
905
_objectManager
.RegisterString((string?)obj, pr._objectId, si, parentId, memberInfo);
910
_objectManager
.RegisterObject(obj, pr._objectId, si, parentId, memberInfo, indexMap);