2 writes to m_objs
dotnet-svcutil-lib (2)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ObjectToIdCache.cs (2)
23m_objs = new Object[m_ids.Length]; 117m_objs = new Object[size];
17 references to m_objs
dotnet-svcutil-lib (17)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ObjectToIdCache.cs (17)
38m_objs[pos] = obj; 40if (m_currentCount >= (m_objs.Length - 1)) 62m_objs[pos] = newObj; 70int pos = ((hashcode & 0x7FFFFFFF) % m_objs.Length); 73if (m_objs[i] == null) 78if (m_objs[i] == obj) 83if (i == (m_objs.Length - 1)) 93int hashcode = RuntimeHelpers.GetHashCode(m_objs[pos]); 96j = (i + 1) % m_objs.Length; 97if (m_objs[j] == null || RuntimeHelpers.GetHashCode(m_objs[j]) != hashcode) 99m_objs[pos] = m_objs[i]; 101m_objs[i] = null; 113int size = GetPrime(m_objs.Length + 1); // The lookup does an inherent doubling 115object[] oldObjs = m_objs; 126m_objs[pos] = obj;