20 references to IsSupported
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (1)
109if (EventSource.IsSupported)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (17)
299private static readonly EventListener? persistent_Xplat_Listener = IsSupported ? XplatEventLogger.InitializePersistentListener() : null; 449if (!IsSupported) 467if (!IsSupported) 497if (!IsSupported) 552if (!IsSupported) 609if (!IsSupported) 639if (!IsSupported) 681if (!IsSupported) 758if (IsSupported) 1531if (!IsSupported) 1619if (IsSupported) 2606if (!IsSupported) 2648if (!IsSupported) 2819if (!IsSupported) 3870if (!EventSource.IsSupported) 3975if (!EventSource.IsSupported) 4374Debug.Assert(EventSource.IsSupported);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
49if (!IsSupported)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1674internal static bool EnableWorkerTracking => IsWorkerTrackingEnabledInConfig && EventSource.IsSupported;