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