Просмотр исходного кода

The 'Debugger' class (1) already exists (in the corlib assembly), and
(2) is supposed to be in the corlib assembly. Two strikes against me for
not reading the @#$% docs closely enough to figure this out.

Remove the files I added, as they're unnecessary.

svn path=/trunk/mcs/; revision=3699

Jonathan Pryor 24 лет назад
Родитель
Сommit
3afeebb47e

+ 0 - 4
mcs/class/System/System.Diagnostics/ChangeLog

@@ -1,7 +1,3 @@
-2002-04-08  Jonathan Pryor <[email protected]>
-
-	* Debugger.cs: Added new file; used by DefaultTraceListener
-
 2002-04-07  Jonathan Pryor <[email protected]>
 
 	* TraceListener.cs: Fix stack overflow bug

+ 0 - 58
mcs/class/System/System.Diagnostics/Debugger.cs

@@ -1,58 +0,0 @@
-//
-// System.Diagnostics.Debugger.cs
-//
-// Authors:
-//   Jonathan Pryor ([email protected])
-//
-// (C) 2002
-//
-
-using System;
-using System.Diagnostics;
-
-namespace System.Diagnostics {
-
-	[MonoTODO]
-	public sealed class Debugger {
-
-		[MonoTODO]
-		public Debugger ()
-		{
-		}
-
-		public static readonly string DefaultCategory = null;
-
-		[MonoTODO]
-		public static bool IsAttached {
-			get {return false;}
-		}
-
-		[MonoTODO]
-		public static void Break ()
-		{
-			throw new NotImplementedException ();
-		}
-
-		[MonoTODO]
-		public static bool IsLogging ()
-		{
-			// Return false. DefaultTraceListener invokes this method, so throwing
-			// a NotImplementedException wouldn't be appropriate.
-      return false;
-		}
-
-		[MonoTODO]
-		public static bool Launch ()
-		{
-			throw new NotImplementedException ();
-		}
-
-		[MonoTODO]
-		public static void Log (int level, string category, string message)
-		{
-			// Do nothing. DefaultTraceListener invokes this method, so throwing
-			// a NotImplementedException wouldn't be appropriate.
-		}
-	}
-}
-