From ada6edbad87288013c0efa4ec111ba655d0a863c Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Wed, 28 Mar 2018 13:57:41 -0400 Subject: [PATCH] [bcl] Fix the compilation of System tests in the mobile profile. (#7882) --- mcs/class/System/Test/System.Diagnostics/PerformanceCounterTest.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mcs/class/System/Test/System.Diagnostics/PerformanceCounterTest.cs b/mcs/class/System/Test/System.Diagnostics/PerformanceCounterTest.cs index 8a97a856303..ae076113ef0 100644 --- a/mcs/class/System/Test/System.Diagnostics/PerformanceCounterTest.cs +++ b/mcs/class/System/Test/System.Diagnostics/PerformanceCounterTest.cs @@ -19,6 +19,8 @@ using System.Diagnostics; using System.Collections; using System.Collections.Specialized; +#if !MOBILE + namespace MonoTests.System.Diagnostics { // The first part is from external/corefx. @@ -326,3 +328,5 @@ namespace MonoTests.System.Diagnostics } } } + +#endif -- 2.11.4.GIT