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)
176if (id < 0 || !_initialized) 178Debug.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)? 375ObjectDisposedException.ThrowIf(!_initialized, this); 394ObjectDisposedException.ThrowIf(!_initialized, this); 504if (slotArray == null || id >= slotArray.Length || (slot = slotArray[id].Value) == null || !_initialized)