20 references to IsSupported
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (1)
88if (EventSource.IsSupported)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (17)
300private static readonly EventListener? persistent_Xplat_Listener = IsSupported ? XplatEventLogger.InitializePersistentListener() : null; 450if (!IsSupported) 468if (!IsSupported) 498if (!IsSupported) 553if (!IsSupported) 610if (!IsSupported) 640if (!IsSupported) 682if (!IsSupported) 759if (IsSupported) 1532if (!IsSupported) 1620if (IsSupported) 2605if (!IsSupported) 2647if (!IsSupported) 2817if (!IsSupported) 3882if (!EventSource.IsSupported) 3993if (!EventSource.IsSupported) 4392Debug.Assert(EventSource.IsSupported);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
48if (!IsSupported)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1674internal static bool EnableWorkerTracking => IsWorkerTrackingEnabledInConfig && EventSource.IsSupported;