2 writes to _initialized
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (2)
132
_initialized
= true;
183
_initialized
= false;
7 references to _initialized
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (7)
176
if (id < 0 || !
_initialized
)
178
Debug.Assert(id >= 0 || !
_initialized
, "expected id >= 0 if initialized");
264
&&
_initialized
// Has the instance *still* not been disposed (important for a race condition with Dispose)?
288
&&
_initialized
// Has the instance *still* not been disposed (important for a race condition with Dispose)?
375
ObjectDisposedException.ThrowIf(!
_initialized
, this);
394
ObjectDisposedException.ThrowIf(!
_initialized
, this);
504
if (slotArray == null || id >= slotArray.Length || (slot = slotArray[id].Value) == null || !
_initialized
)