[corert] Import System.Diagnostics.Debug
[mono.git] / mcs / class / corlib / corert / Debug.cs
index 7a7b21675c78b75258d96c474126e676d3c89a41..3eaf922d1345de6a66c9acf4482ae86c20396cdf 100644 (file)
@@ -1,17 +1,21 @@
+
 namespace System.Diagnostics.Private
 {
-       static class Debug
+       static partial class Debug
        {
-               public static void Assert (bool condition)
-               {
-               }
+               internal static IDebugLogger s_logger = new MonoDebugLogger();
 
-               public static void Assert (bool condition, string message)
+               internal sealed class MonoDebugLogger : IDebugLogger
                {
-               }
+                       public void ShowAssertDialog(string stackTrace, string message, string detailMessage)
+                       {
+                               // FIXME should we g_error in this case?
+                       }
 
-               public static void Fail (string message)
-               {
+                       public void WriteCore(string message)
+                       {
+                               // FIXME should we g_debug in this case?
+                       }
                }
        }
 }