Fix Console.ForegroundColor usage in NativeRuntimeEventSourceTest (#86248)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 15 May 2023 16:59:01 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Mon, 15 May 2023 16:59:01 +0000 (18:59 +0200)
commit35e61deafbc9720a3be4cd4b69043fafc2c6a060
tree2249689f6b547c56d7dd8e9c2217836fd415316d
parent6caa965f27b63936c835d5e0e081312fe3085a6b
Fix Console.ForegroundColor usage in NativeRuntimeEventSourceTest (#86248)

It throws PNSE on mobile platforms, avoid getting/setting the property if we're on one of these platforms.
src/tests/tracing/runtimeeventsource/NativeRuntimeEventSourceTest.cs