{
if (s_out == null)
{
- Volatile.Write(ref s_out, CreateOutputWriter(OpenStandardOutput()));
+ Volatile.Write(ref s_out, CreateOutputWriter(ConsolePal.OpenStandardOutput()));
}
return s_out;
}
{
if (s_error == null)
{
- Volatile.Write(ref s_error, CreateOutputWriter(OpenStandardError()));
+ Volatile.Write(ref s_error, CreateOutputWriter(ConsolePal.OpenStandardError()));
}
return s_error;
}
{
throw new ArgumentOutOfRangeException(nameof(bufferSize), SR.ArgumentOutOfRange_NeedNonNegNum);
}
- return OpenStandardInput();
+ return ConsolePal.OpenStandardInput();
}
public static Stream OpenStandardOutput()
{
throw new ArgumentOutOfRangeException(nameof(bufferSize), SR.ArgumentOutOfRange_NeedNonNegNum);
}
- return OpenStandardOutput();
+ return ConsolePal.OpenStandardOutput();
}
public static Stream OpenStandardError()
{
throw new ArgumentOutOfRangeException(nameof(bufferSize), SR.ArgumentOutOfRange_NeedNonNegNum);
}
- return OpenStandardError();
+ return ConsolePal.OpenStandardError();
}
[UnsupportedOSPlatform("browser")]