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