20 references to IsSupported
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (1)
134
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
)
1534
if (!
IsSupported
)
1622
if (
IsSupported
)
2615
if (!
IsSupported
)
2657
if (!
IsSupported
)
2828
if (!
IsSupported
)
3879
if (!EventSource.
IsSupported
)
3984
if (!EventSource.
IsSupported
)
4383
Debug.Assert(EventSource.
IsSupported
);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
56
if (!
IsSupported
)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1674
internal static bool EnableWorkerTracking => IsWorkerTrackingEnabledInConfig && EventSource.
IsSupported
;