2 writes to m_objs
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ObjectToIdCache.cs (2)
19
m_objs
= new object[m_ids.Length];
134
m_objs
= new object[size];
16 references to m_objs
System.Private.DataContractSerialization (16)
System\Runtime\Serialization\ObjectToIdCache.cs (16)
35
m_objs
[position] = obj;
37
if (m_currentCount >= (
m_objs
.Length - 1))
58
m_objs
[position] = newObj;
68
if (
m_objs
[i] == null)
73
if (
m_objs
[i] == obj)
78
if (i == (
m_objs
.Length - 1))
90
int cacheSize =
m_objs
.Length;
94
if (
m_objs
[next] == null)
96
m_objs
[lastVacantPosition] = null;
100
int nextStartPosition = ComputeStartPosition(
m_objs
[next]);
109
m_objs
[lastVacantPosition] =
m_objs
[next];
125
return (RuntimeHelpers.GetHashCode(o) & 0x7FFFFFFF) %
m_objs
.Length;
130
int size = GetPrime(
m_objs
.Length + 1); // The lookup does an inherent doubling
132
object?[] oldObjs =
m_objs
;
142
m_objs
[position] = obj;