13 references to _contextQueue
System.Net.HttpListener (13)
System\Net\Managed\HttpListener.Managed.cs (13)
173lock ((_contextQueue as ICollection).SyncRoot) 175int idx = _contextQueue.IndexOf(context); 177_contextQueue.RemoveAt(idx); 209lock ((_contextQueue as ICollection).SyncRoot) 210_contextQueue.Add(context); 246lock ((_contextQueue as ICollection).SyncRoot) 248var ctxs = (HttpListenerContext[])_contextQueue.ToArray(); 249_contextQueue.Clear(); 269lock ((_contextQueue as ICollection).SyncRoot) 271if (_contextQueue.Count == 0) 276HttpListenerContext context = _contextQueue[0]; 277_contextQueue.RemoveAt(0); 304lock ((_contextQueue as ICollection).SyncRoot)