99 {
100 get
101 {
103 if (encoding == null)
104 {
106 {
108 {
110 }
112 }
113 }
114 return encoding;
115 }
116 [UnsupportedOSPlatform("android")]
117 [UnsupportedOSPlatform("ios")]
118 [UnsupportedOSPlatform("tvos")]
119 set
120 {
123 {
124 ConsolePal.SetConsoleOutputEncoding(
value);
126 {
129 }
131 {
134 }
136 }
137 }
138 }
static void CheckNonNull(object obj, string paramName)
static Encoding s_outputEncoding
static readonly object s_syncObject
static bool s_isErrorTextWriterRedirected
static TextWriter s_error
static bool s_isOutTextWriterRedirected
static bool Read(ref bool location)
static void Write(ref bool location, bool value)