[corlib] Add Console.[Input|Output]Encoding to the mobile profiles.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 29 Mar 2016 16:24:19 +0000 (18:24 +0200)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Tue, 29 Mar 2016 16:38:00 +0000 (18:38 +0200)
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; }