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