21 references to IsSupported
System.Private.CoreLib (21)
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppContext.cs (1)
154if (EventSource.IsSupported)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventListener.cs (1)
335Debug.Assert(EventSource.IsSupported);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (15)
438if (!IsSupported) 456if (!IsSupported) 486if (!IsSupported) 541if (!IsSupported) 598if (!IsSupported) 628if (!IsSupported) 670if (!IsSupported) 747if (IsSupported) 1523if (!IsSupported) 1636if (IsSupported) 2626if (!IsSupported) 2668if (!IsSupported) 2839if (!IsSupported) 3886if (!EventSource.IsSupported) 4012if (!EventSource.IsSupported)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
51if (!IsSupported)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncInstrumentation.cs (2)
13public static bool IsAsyncProfilerSupported => EventSource.IsSupported; 15public static bool IsTplSupported => EventSource.IsSupported;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1449internal static bool EnableWorkerTracking => IsWorkerTrackingEnabledInConfig && EventSource.IsSupported;