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