+2010-04-06 Jb Evain <jbevain@novell.com>
+
+ * Debug.cs (Assert, WriteLine): add net_4_0 overloads.
+
2010-03-11 Sebastien Pouliot <sebastien@ximian.com>
* Debug_2_1.cs: Change type to static to match SL4
TraceImpl.Assert (condition, message, detailMessage);
}
+#if NET_4_0
+ [Conditional ("DEBUG")]
+ public static void Assert (bool condition, string message,
+ string detailMessageFormat, params object [] args)
+ {
+ TraceImpl.Assert (condition,
+ message,
+ string.Format (detailMessageFormat, args));
+ }
+#endif
+
[Conditional("DEBUG")]
public static void Close ()
{
TraceImpl.WriteLine (message);
}
+#if NET_4_0
+ [Conditional("DEBUG")]
+ public static void WriteLine (string format, params object [] args)
+ {
+ TraceImpl.WriteLine (string.Format (format, args));
+ }
+#endif
+
[Conditional("DEBUG")]
public static void WriteLine (object value, string category)
{