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