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