diff options
author | Jb Evain <jbevain@gmail.com> | 2007-08-09 21:22:18 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2007-08-09 21:22:18 +0400 |
commit | 8227d2879594826be4229e09c4cde35b9a49e8c3 (patch) | |
tree | 76464c358bd0451f19238ad6e537c6757347584d /mcs/class/System/System.Diagnostics/Debug_2_1.cs | |
parent | b572fe6faa6d3d9ae17ba2e094d8685c75bad199 (diff) |
remove unneeded stuff for 2.1
svn path=/trunk/mcs/; revision=83775
Diffstat (limited to 'mcs/class/System/System.Diagnostics/Debug_2_1.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/Debug_2_1.cs | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/Debug_2_1.cs b/mcs/class/System/System.Diagnostics/Debug_2_1.cs new file mode 100644 index 00000000000..7fff121101a --- /dev/null +++ b/mcs/class/System/System.Diagnostics/Debug_2_1.cs @@ -0,0 +1,72 @@ +// +// System.Diagnostics.Debug (for 2.1 profile) +// +// Authors: +// Jb Evain <jbevain@novell.com> +// +// (c) 2007 Novell, Inc. (http://www.novell.com) +// + +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +#if NET_2_1 + +using System; + +namespace System.Diagnostics { + + public static class Debug { + + public static void Assert (bool condition) + { + } + + public static void Assert (bool condition, string message) + { + } + + public static void Assert (bool condition, string message, string details) + { + } + + public static void Assert (bool condition, string message, string details, object [] args) + { + } + + public static void WriteLine (object obj) + { + throw new NotImplementedException (); + } + + public static void WriteLine (string message) + { + throw new NotImplementedException (); + } + + public static void WriteLine (string format, params object [] args) + { + throw new NotImplementedException (); + } + } +} + +#endif |