59 references to IsEnabled
System.Private.CoreLib (59)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.CoreCLR.cs (16)
48if (IsEnabled.AnyAsyncEvents(eventKeywords)) 54if (IsEnabled.CreateRuntimeAsyncContextEvent(eventKeywords)) 59if (IsEnabled.CreateRuntimeAsyncCallstackEvent(eventKeywords) && nextContinuation != null) 87if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 90if (IsEnabled.ResumeRuntimeAsyncContextEvent(activeEventKeywords)) 95if (IsEnabled.ResumeRuntimeAsyncCallstackEvent(activeEventKeywords)) 121if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 125if (IsEnabled.SuspendRuntimeAsyncCallstackEvent(activeEventKeywords) && nextContinuation != null) 130if (IsEnabled.SuspendRuntimeAsyncContextEvent(activeEventKeywords)) 148if (IsEnabled.CompleteRuntimeAsyncContextEvent(context.ActiveEventKeywords)) 164if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 167if (IsEnabled.UnwindRuntimeAsyncExceptionEvent(activeEventKeywords)) 172if (IsEnabled.CompleteRuntimeAsyncContextEvent(activeEventKeywords)) 185if (IsEnabled.UnwindRuntimeAsyncExceptionEvent(context.ActiveEventKeywords)) 200if (IsEnabled.ResumeRuntimeAsyncMethodEvent(context.ActiveEventKeywords)) 215if (IsEnabled.CompleteRuntimeAsyncMethodEvent(context.ActiveEventKeywords))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfiler.cs (43)
203if (IsEnabled.AnyAsyncEvents(ActiveEventKeywords)) 301if (IsEnabled.AnyAsyncEvents(ActiveEventKeywords)) 366flags |= IsEnabled.CreateRuntimeAsyncContextEvent(ActiveEventKeywords) || IsEnabled.CreateRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CreateAsyncContext : AsyncInstrumentation.Flags.Disabled; 367flags |= IsEnabled.ResumeRuntimeAsyncContextEvent(ActiveEventKeywords) || IsEnabled.ResumeRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled; 368flags |= IsEnabled.SuspendRuntimeAsyncContextEvent(ActiveEventKeywords) || IsEnabled.SuspendRuntimeAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.SuspendAsyncContext : AsyncInstrumentation.Flags.Disabled; 369flags |= IsEnabled.CompleteRuntimeAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncContext : AsyncInstrumentation.Flags.Disabled; 370flags |= IsEnabled.UnwindRuntimeAsyncExceptionEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.UnwindAsyncException : AsyncInstrumentation.Flags.Disabled; 371flags |= IsEnabled.ResumeRuntimeAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncMethod : AsyncInstrumentation.Flags.Disabled; 372flags |= IsEnabled.CompleteRuntimeAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncMethod : AsyncInstrumentation.Flags.Disabled; 373flags |= IsEnabled.CreateStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CreateAsyncContext : AsyncInstrumentation.Flags.Disabled; 374flags |= IsEnabled.ResumeStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled; 375flags |= IsEnabled.SuspendStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.SuspendAsyncContext : AsyncInstrumentation.Flags.Disabled; 376flags |= IsEnabled.CompleteStateMachineAsyncContextEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncContext : AsyncInstrumentation.Flags.Disabled; 377flags |= IsEnabled.UnwindStateMachineAsyncExceptionEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.UnwindAsyncException : AsyncInstrumentation.Flags.Disabled; 378flags |= IsEnabled.ResumeStateMachineAsyncCallstackEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncContext : AsyncInstrumentation.Flags.Disabled; 379flags |= IsEnabled.ResumeStateMachineAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.ResumeAsyncMethod : AsyncInstrumentation.Flags.Disabled; 380flags |= IsEnabled.CompleteStateMachineAsyncMethodEvent(ActiveEventKeywords) ? AsyncInstrumentation.Flags.CompleteAsyncMethod : AsyncInstrumentation.Flags.Disabled; 928if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 931if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords)) 936if (IsEnabled.CreateStateMachineAsyncContextEvent(activeEventKeywords)) 955if (IsEnabled.CreateStateMachineAsyncContextEvent(context.ActiveEventKeywords)) 973if (IsEnabled.AnyAsyncEvents(activeEventKeywords) && IsEnabled.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords)) 1018if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 1021if (IsEnabled.ResumeStateMachineAsyncContextEvent(activeEventKeywords)) 1026if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords)) 1035if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(context.ActiveEventKeywords) && info.ContinuationChainChanged) 1043if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(context.ActiveEventKeywords) && info.AsyncProfilerInfo.ReachedLastContinuation) 1078if (IsEnabled.SuspendStateMachineAsyncContextEvent(context.ActiveEventKeywords)) 1102if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 1105if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords)) 1110if (IsEnabled.CompleteStateMachineAsyncContextEvent(activeEventKeywords)) 1132if (IsEnabled.UnwindStateMachineAsyncExceptionEvent(context.ActiveEventKeywords)) 1163if (IsEnabled.AnyAsyncEvents(activeEventKeywords)) 1166if (IsEnabled.ResumeStateMachineAsyncCallstackEvent(activeEventKeywords)) 1171if (IsEnabled.ResumeStateMachineAsyncMethodEvent(activeEventKeywords)) 1199if (IsEnabled.CompleteStateMachineAsyncMethodEvent(context.ActiveEventKeywords)) 1255if (IsEnabled.AnyAsyncEvents(context.ActiveEventKeywords)) 1317if (IsEnabled.AnyAsyncEvents(context.ActiveEventKeywords)) 1460if (IsEnabled.AnyAsyncEvents(Config.ActiveEventKeywords))