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