2 writes to m_objs
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ObjectToIdCache.cs (2)
22
m_objs
= new object[m_ids.Length];
146
m_objs
= new object[size];
16 references to m_objs
System.Private.DataContractSerialization (16)
System\Runtime\Serialization\ObjectToIdCache.cs (16)
39
m_objs
[position] = obj;
42
if (m_currentCount >= (
m_objs
.Length - 1))
63
m_objs
[position] = newObj;
75
if (
m_objs
[i] == null)
80
if (
m_objs
[i] == obj)
85
if (i == (
m_objs
.Length - 1))
98
int cacheSize =
m_objs
.Length;
102
if (
m_objs
[next] == null)
104
m_objs
[lastVacantPosition] = null;
109
int nextStartPosition = ComputeStartPosition(
m_objs
[next]);
119
m_objs
[lastVacantPosition] =
m_objs
[next];
137
return (RuntimeHelpers.GetHashCode(o) & 0x7FFFFFFF) %
m_objs
.Length;
142
int size = GetPrime(
m_objs
.Length + 1); // The lookup does an inherent doubling
144
object?[] oldObjs =
m_objs
;
156
m_objs
[position] = obj;