* Console.cs,
* GC.cs: Class is static for NET_2_0.
svn path=/trunk/mcs/; revision=33574
+2004-09-08 Marek Safar <marek.safar@seznam.cz>
+
+ * Console.cs,
+ * GC.cs: Class is static for NET_2_0.
+
2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
* Activator.cs: Make sure not to call .GetType on a
namespace System
{
- public sealed class Console
+ public
+#if NET_2_0
+ static
+#else
+ sealed
+#endif
+ class Console
{
private static TextWriter stdout;
private static TextWriter stderr;
stdin = TextReader.Synchronized (stdin);
}
+#if !NET_2_0
private Console ()
{
}
+#endif
public static TextWriter Error {
get {
namespace System
{
- public sealed class GC
+ public
+#if NET_2_0
+ static
+#else
+ sealed
+#endif
+ class GC
{
+
+#if !NET_2_0
private GC ()
{
}
+#endif
// TODO: as long as we use Boehm leave 0...
public static int MaxGeneration {