8 references to s_suppressedThreads
System.Private.Windows.Core.TestUtilities (8)
NoAssertContext.cs (8)
34s_suppressedThreads.AddOrUpdate(Environment.CurrentManagedThreadId, 1, (key, oldValue) => oldValue + 1); 66if (s_suppressedThreads.TryRemove(currentThread, out int count)) 73s_suppressedThreads.TryAdd(currentThread, --count); 79if (s_hooked && s_suppressedThreads.IsEmpty) 129if (!s_suppressedThreads.TryGetValue(Environment.CurrentManagedThreadId, out _)) 137if (!s_suppressedThreads.TryGetValue(Environment.CurrentManagedThreadId, out _)) 147if (!s_suppressedThreads.TryGetValue(Environment.CurrentManagedThreadId, out _)) 155if (!s_suppressedThreads.TryGetValue(Environment.CurrentManagedThreadId, out _))