2 writes to objectArray
System.Runtime.Serialization (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.Runtime.Serialization (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;
58
if ((
objectArray
!= null) &&
objectArray
[count - 1] == obj)
62
isReferenceArray = new bool[
objectArray
.Length];
67
Array.Resize<bool>(ref isReferenceArray,
objectArray
.Length);
98
if (Object.ReferenceEquals(obj,
objectArray
[i]) && isReferenceArray != null && !isReferenceArray[i])