[corlib] Add Console.[Input|Output]Encoding to the mobile profiles.
[mono.git] / mcs / class / corlib / System / Console.cs
index aee50509f8f299f121260c1a47ac362951d5d504..fc90408e6ec1371a92a3bc8d74364c5cf0545a9e 100644 (file)
@@ -524,7 +524,6 @@ namespace System
 
 #endif
 
-#if !NET_2_1
                // FIXME: Console should use these encodings when changed
                static Encoding inputEncoding;
                static Encoding outputEncoding;
@@ -545,6 +544,7 @@ namespace System
                        }
                }
 
+#if !NET_2_1
                public static ConsoleColor BackgroundColor {
                        get { return ConsoleDriver.BackgroundColor; }
                        set { ConsoleDriver.BackgroundColor = value; }