2 writes to _objectArray
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ObjectReferenceStack.cs (2)
25_objectArray = new object[InitialArraySize]; 31Array.Resize<object>(ref _objectArray, _objectArray.Length * 2);
10 references to _objectArray
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\ObjectReferenceStack.cs (10)
23if (_objectArray == null) 26_objectArray[_count++] = obj; 30if (_count == _objectArray.Length) 31Array.Resize<object>(ref _objectArray, _objectArray.Length * 2); 32_objectArray[_count++] = obj; 57if ((_objectArray != null) && _objectArray[_count - 1] == obj) 61_isReferenceArray = new bool[_objectArray.Length]; 65Array.Resize<bool>(ref _isReferenceArray, _objectArray.Length); 97if (object.ReferenceEquals(obj, _objectArray![i]) && _isReferenceArray != null && !_isReferenceArray[i])