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