8 references to s_tasks
System.Net.NameResolution (8)
System\Net\Dns.cs (8)
690lock (s_tasks) 693s_tasks.TryGetValue(key, out Task? prevTask); 700Debug.Assert(!Monitor.IsEntered(s_tasks)); 711lock (s_tasks) 713((ICollection<KeyValuePair<object, Task>>)s_tasks).Remove(new KeyValuePair<object, Task>(key!, task!)); 724lock (s_tasks) 726((ICollection<KeyValuePair<object, Task>>)s_tasks).Remove(new KeyValuePair<object, Task>(key!, task)); 734s_tasks[key] = task;