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:
-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;