Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Henry <ludovic@xamarin.com>2017-03-03 19:02:50 +0300
committerLudovic Henry <ludovic@xamarin.com>2017-03-03 19:03:00 +0300
commitba1a79e89b65fe0c9ea10e3c58b3a49316cf8101 (patch)
treef4186541b2fff496a1fc826d76c3410ce579d9c6
parentd87c966d80c1274373ddafe3375bf1730cd430ed (diff)
[corert] Import System.Diagnostics.Debugcorert-debug
-rw-r--r--src/Common/src/System/Diagnostics/Debug.cs4
-rw-r--r--src/System.Private.CoreLib/src/System/Tuple.cs2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Common/src/System/Diagnostics/Debug.cs b/src/Common/src/System/Diagnostics/Debug.cs
index dedc3d4f3..3003b74db 100644
--- a/src/Common/src/System/Diagnostics/Debug.cs
+++ b/src/Common/src/System/Diagnostics/Debug.cs
@@ -4,7 +4,11 @@
#define DEBUG // Do not remove this, it is needed to retain calls to these conditional methods in release builds
+#if MONO
+namespace System.Diagnostics.Private
+#else
namespace System.Diagnostics
+#endif
{
/// <summary>
/// Provides a set of properties and methods for debugging code.
diff --git a/src/System.Private.CoreLib/src/System/Tuple.cs b/src/System.Private.CoreLib/src/System/Tuple.cs
index 748095a06..859d862b9 100644
--- a/src/System.Private.CoreLib/src/System/Tuple.cs
+++ b/src/System.Private.CoreLib/src/System/Tuple.cs
@@ -3,7 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
+#if MONO
using System.Diagnostics.Private;
+#endif
using System.Runtime.CompilerServices;
using System.Text;