6 references to s_contextHash
System.Windows.Forms (6)
System\Windows\Forms\Application.ThreadContext.cs (6)
93
s_contextHash
[_id] = this;
321
s_contextHash
.Remove(_id);
449
if (
s_contextHash
is not null)
451
ThreadContext[] contexts = new ThreadContext[
s_contextHash
.Values.Count];
452
s_contextHash
.Values.CopyTo(contexts, 0);
514
if (!
s_contextHash
.TryGetValue(id, out ThreadContext? context) && id == PInvokeCore.GetCurrentThreadId())