1 write to m_elements
mscorlib (1)
system\threading\CancellationTokenSource.cs (1)
1193m_elements = new T[size];
8 references to m_elements
mscorlib (8)
system\threading\CancellationTokenSource.cs (8)
1120Contract.Assert(tryIndex >= 0 && tryIndex < curr.m_elements.Length, "tryIndex is outside of bounds"); 1122if (curr.m_elements[tryIndex] == null && Interlocked.CompareExchange(ref curr.m_elements[tryIndex], element, null) == null) 1139tail.m_elements.Length == 4096 ? 4096 : tail.m_elements.Length * 2, tail); 1200get { return Volatile.Read<T>(ref m_elements[index]); } 1205get { return m_elements.Length; } 1226T prevailingValue = Interlocked.CompareExchange(ref m_elements[index], null, expectedElement);