Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsValueCreated

bool System.Threading.ThreadLocal< T >.IsValueCreated
get

Definition at line 215 of file ThreadLocal.cs.

216 {
217 get
218 {
219 int num = ~_idComplement;
220 if (num < 0)
221 {
222 throw new ObjectDisposedException(SR.ThreadLocal_Disposed);
223 }
224 LinkedSlotVolatile[] array = ts_slotArray;
225 if (array != null && num < array.Length)
226 {
227 return array[num].Value != null;
228 }
229 return false;
230 }
231 }
static LinkedSlotVolatile[] ts_slotArray

Referenced by System.Threading.ThreadLocal< T >.GetValueSlow().