39 references to EventListener
mscorlib (39)
system\diagnostics\eventing\eventprovider.cs (1)
225
lock (
EventListener
.EventListenersLock)
system\diagnostics\eventing\eventsource.cs (38)
222
/// <see cref="
EventListener
.DisableEvents"/>) or cause actions to be performed by the eventSource,
228
/// <see cref="
EventListener
"/> for more.
477
lock (
EventListener
.EventListenersLock)
479
foreach (WeakReference eventSourceRef in
EventListener
.s_EventSources)
1411
internal void WriteStringToListener(
EventListener
listener, string msg, SessionMask m)
1509
EventListener
.AddEventSource(this);
1546
lock (
EventListener
.EventListenersLock)
1879
private EventDispatcher GetDispatcher(
EventListener
listener)
2513
EventListener
listener = null;
2575
internal void SendCommand(
EventListener
listener, int perEventSourceSessionId, int etwSessionId,
2581
lock (
EventListener
.EventListenersLock)
3017
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
3026
foreach (WeakReference eventSourceRef in
EventListener
.s_EventSources)
3689
internal void AddListener(
EventListener
listener)
3691
lock (
EventListener
.EventListenersLock)
4002
private void ReportActivitySamplingInfo(
EventListener
listener, SessionMask sessions)
4248
EventListener
cur = s_Listeners;
4255
EventListener
prev = s_Listeners;
4258
EventListener
cur = prev.m_Next;
4448
for (
EventListener
listener = s_Listeners; listener != null; listener = listener.m_Next)
4481
private static void RemoveReferencesToListenerInEventSources(
EventListener
listenerToRemove)
4484
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
4528
Dictionary<
EventListener
, bool> allListeners = new Dictionary<
EventListener
, bool>();
4529
EventListener
cur = s_Listeners;
4555
foreach (
EventListener
listener in allListeners.Keys)
4635
internal volatile
EventListener
m_Next; // These form a linked list in s_Listeners
4646
internal static
EventListener
s_Listeners;
4709
EventListener
listener, int perEventSourceSessionId, int etwSessionId, bool enable, EventLevel level, EventKeywords matchAnyKeyword)
4726
internal
EventListener
listener;
4738
/// EventSourceCreatedEventArgs is passed to <see cref="
EventListener
.EventSourceCreated"/>
4754
/// <see cref="
EventListener
.OnEventWritten"/> when an event is fired.
5261
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
5329
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
5577
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
5678
Contract.Assert(Monitor.IsEntered(
EventListener
.EventListenersLock));
5969
internal EventDispatcher(EventDispatcher next, bool[] eventEnabled,
EventListener
listener)
5977
readonly internal
EventListener
m_Listener; // The dispatcher this entry is for