#if FAT namespace LinqInternal.Threading { internal static partial class ThreadingHelper { // Leaked private static readonly TrackingThreadLocal _threadRuntimeUniqueId = new TrackingThreadLocal(RuntimeUniqueIdProdiver.GetNextId); public static bool HasThreadUniqueId { get { return _threadRuntimeUniqueId.IsValueCreated; } } public static RuntimeUniqueIdProdiver.UniqueId ThreadUniqueId { get { return _threadRuntimeUniqueId.Value; } } } } #endif