5 writes to m_FreeIndex
mscorlib (5)
system\runtime\interopservices\gchandlecookietable.cs (5)
71
++
m_FreeIndex
;
75
for (
m_FreeIndex
= 0; m_FreeIndex < MaxListSize; ++
m_FreeIndex
)
85
++
m_FreeIndex
;
143
m_FreeIndex
= index;
11 references to m_FreeIndex
mscorlib (11)
system\runtime\interopservices\gchandlecookietable.cs (11)
63
if ((
m_FreeIndex
< m_HandleList.Length) && (Volatile.Read(ref m_HandleList[
m_FreeIndex
]) == ObjectHandle.Zero))
65
Volatile.Write(ref m_HandleList[
m_FreeIndex
], handle);
66
cookie = GetCookieFromData((uint)
m_FreeIndex
, m_CycleCounts[
m_FreeIndex
]);
75
for (m_FreeIndex = 0;
m_FreeIndex
< MaxListSize; ++m_FreeIndex)
77
if (m_HandleList[
m_FreeIndex
] == ObjectHandle.Zero)
79
Volatile.Write(ref m_HandleList[
m_FreeIndex
], handle);
80
cookie = GetCookieFromData((uint)
m_FreeIndex
, m_CycleCounts[
m_FreeIndex
]);
89
if (
m_FreeIndex
+ 1 == m_HandleList.Length)