46 references to IsEnabled
mscorlib (42)
system\Collections\Concurrent\CDSCollectionETWBCLProvider.cs (5)
67
if (
IsEnabled
(EventLevel.Warning, ALL_KEYWORDS))
76
if (
IsEnabled
(EventLevel.Warning, ALL_KEYWORDS))
91
if (
IsEnabled
(EventLevel.Warning, ALL_KEYWORDS))
111
if (
IsEnabled
(EventLevel.Verbose, ALL_KEYWORDS))
120
if (
IsEnabled
(EventLevel.Verbose, ALL_KEYWORDS))
system\diagnostics\eventing\activitytracker.cs (1)
67
if (System.Threading.Tasks.TplEtwProvider.Log.
IsEnabled
(EventLevel.Informational, System.Threading.Tasks.TplEtwProvider.Keywords.TasksFlowActivityIds))
System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs (1)
246
if (!this.eventSource.
IsEnabled
(options.Level, options.Keywords))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
364
if (this.
IsEnabled
((EventLevel)level, keywords))
840
if (this.
IsEnabled
((EventLevel)level, keywords))
system\io\filestream.cs (3)
330
if (FrameworkEventSource.IsInitialized && FrameworkEventSource.Log.
IsEnabled
(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
2061
if (FrameworkEventSource.IsInitialized && FrameworkEventSource.Log.
IsEnabled
(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
2320
if (FrameworkEventSource.IsInitialized && FrameworkEventSource.Log.
IsEnabled
(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
system\threading\CDSsyncETWBCLProvider.cs (3)
66
if (
IsEnabled
(EventLevel.Warning, ALL_KEYWORDS))
80
if (
IsEnabled
(EventLevel.Informational, ALL_KEYWORDS))
100
if (
IsEnabled
(EventLevel.Verbose, ALL_KEYWORDS))
system\threading\Tasks\TPLETWProvider.cs (23)
50
if (
IsEnabled
(EventLevel.Informational, Keywords.TasksFlowActivityIds))
53
TasksSetActivityIds =
IsEnabled
(EventLevel.Informational, Keywords.TasksSetActivityIds);
55
Debug =
IsEnabled
(EventLevel.Informational, Keywords.Debug);
56
DebugActivityId =
IsEnabled
(EventLevel.Informational, Keywords.DebugActivityId);
230
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.Parallel))
273
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.Parallel))
312
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.Parallel))
350
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.Parallel))
372
if (IsEnabled() &&
IsEnabled
(EventLevel.Verbose, Keywords.Parallel))
392
if (IsEnabled() &&
IsEnabled
(EventLevel.Verbose, Keywords.Parallel))
426
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.TaskTransfer|Keywords.Tasks))
466
if (
IsEnabled
(EventLevel.Informational, Keywords.Tasks))
486
if (
IsEnabled
(EventLevel.Informational, Keywords.Tasks))
524
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.TaskTransfer|Keywords.Tasks))
564
if (IsEnabled() &&
IsEnabled
(EventLevel.Verbose, Keywords.Tasks))
579
if (IsEnabled() &&
IsEnabled
(EventLevel.Verbose, Keywords.Tasks))
594
if (IsEnabled() &&
IsEnabled
(EventLevel.Verbose, Keywords.Tasks))
611
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.TaskTransfer|Keywords.Tasks))
638
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.AsyncCausalityOperation))
664
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.AsyncCausalityRelation))
673
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.AsyncCausalityOperation))
682
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork))
691
if (IsEnabled() &&
IsEnabled
(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork))
system\threading\threadpool.cs (2)
561
loggingEnabled = FrameworkEventSource.Log.
IsEnabled
(EventLevel.Verbose, FrameworkEventSource.Keywords.ThreadPool|FrameworkEventSource.Keywords.ThreadTransfer);
732
workQueue.loggingEnabled = FrameworkEventSource.Log.
IsEnabled
(EventLevel.Verbose, FrameworkEventSource.Keywords.ThreadPool|FrameworkEventSource.Keywords.ThreadTransfer);
system\threading\timer.cs (2)
583
if (FrameworkEventSource.IsInitialized && FrameworkEventSource.Log.
IsEnabled
(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
696
if (FrameworkEventSource.IsInitialized && FrameworkEventSource.Log.
IsEnabled
(EventLevel.Informational, FrameworkEventSource.Keywords.ThreadTransfer))
System.Core (4)
System\Linq\Parallel\Utils\PLINQETWProvider.cs (4)
95
if (
IsEnabled
(EventLevel.Informational, ALL_KEYWORDS))
124
if (
IsEnabled
(EventLevel.Informational, ALL_KEYWORDS))
154
if (
IsEnabled
(EventLevel.Verbose, ALL_KEYWORDS))
185
if (
IsEnabled
(EventLevel.Verbose, ALL_KEYWORDS))