public static bool IsProfilerAttached()
        {
            if (IsWindows)
            {
                return(Windows.IsProfilerAttached());
            }

            return(NonWindows.IsProfilerAttached());
        }
Exemple #2
0
        public static bool IsProfilerAttached()
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return(Windows.IsProfilerAttached());
            }

            return(NonWindows.IsProfilerAttached());
        }