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)
60if (_objectManager != null) 62_objectManager.TopObject = value; 104_objectManager!.DoFixups(); 116Debug.Assert(_objectManager != null); 117TopObject = _objectManager.GetObject(_topId); 127_objectManager!.RaiseDeserializationEvent(); // This will raise both IDeserialization and [OnDeserialized] events 164return ReadObjectInfo.Create(objectType, _surrogates, _context, _objectManager, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly); 172return ReadObjectInfo.Create(objectType, memberNames, memberTypes, _surrogates, _context, _objectManager, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly); 285Debug.Assert(_objectManager != null); 287_objectManager.RaiseOnDeserializingEvent(pr._newObj); 300pr._objectInfo ??= ReadObjectInfo.Create(pr._dtType, _surrogates, _context, _objectManager, _serObjectInfoInit, _formatterConverter, _isSimpleAssembly); 568Debug.Assert(_objectManager != null); 570object? refObj = _objectManager.GetObject(pr._idRef); 578_objectManager.RecordArrayElementFixup(objectPr._objectId, fixupIndex, pr._idRef); 768Debug.Assert(_objectManager != null); 770object? refObj = _objectManager.GetObject(pr._idRef); 902Debug.Assert(_objectManager != null); 905_objectManager.RegisterString((string?)obj, pr._objectId, si, parentId, memberInfo); 910_objectManager.RegisterObject(obj, pr._objectId, si, parentId, memberInfo, indexMap);