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