13 references to _contextQueue
System.Net.HttpListener (13)
System\Net\Managed\HttpListener.Managed.cs (13)
164
lock ((
_contextQueue
as ICollection).SyncRoot)
166
int idx =
_contextQueue
.IndexOf(context);
168
_contextQueue
.RemoveAt(idx);
200
lock ((
_contextQueue
as ICollection).SyncRoot)
201
_contextQueue
.Add(context);
237
lock ((
_contextQueue
as ICollection).SyncRoot)
239
var ctxs = (HttpListenerContext[])
_contextQueue
.ToArray();
240
_contextQueue
.Clear();
259
lock ((
_contextQueue
as ICollection).SyncRoot)
261
if (
_contextQueue
.Count == 0)
266
HttpListenerContext context =
_contextQueue
[0];
267
_contextQueue
.RemoveAt(0);
286
lock ((
_contextQueue
as ICollection).SyncRoot)