20 references to IsSupported
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\AppContext.cs (1)
132
if (EventSource.
IsSupported
)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventListener.cs (1)
335
Debug.Assert(EventSource.
IsSupported
);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (16)
287
private static readonly EventListener? persistent_Xplat_Listener =
IsSupported
? XplatEventLogger.InitializePersistentListener() : null;
438
if (!
IsSupported
)
456
if (!
IsSupported
)
486
if (!
IsSupported
)
541
if (!
IsSupported
)
598
if (!
IsSupported
)
628
if (!
IsSupported
)
670
if (!
IsSupported
)
747
if (
IsSupported
)
1523
if (!
IsSupported
)
1636
if (
IsSupported
)
2626
if (!
IsSupported
)
2668
if (!
IsSupported
)
2839
if (!
IsSupported
)
3886
if (!EventSource.
IsSupported
)
4008
if (!EventSource.
IsSupported
)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
51
if (!
IsSupported
)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1431
internal static bool EnableWorkerTracking => IsWorkerTrackingEnabledInConfig && EventSource.
IsSupported
;