6 references to StreamHandleType
Microsoft.Build (2)
Logging\SimpleErrorLogger.cs (2)
27
(acceptAnsiColorCodes, _, originalConsoleMode) = NativeMethods.QueryIsScreenAndTryEnableAnsiColorCodes(NativeMethods.
StreamHandleType
.StdErr);
88
NativeMethods.RestoreConsoleMode(originalConsoleMode, NativeMethods.
StreamHandleType
.StdErr);
Microsoft.Build.Framework (4)
NativeMethods.cs (4)
1580
internal static (bool acceptAnsiColorCodes, bool outputIsScreen, uint? originalConsoleMode) QueryIsScreenAndTryEnableAnsiColorCodes(
StreamHandleType
handleType =
StreamHandleType
.StdOut)
1636
internal static void RestoreConsoleMode(uint? originalConsoleMode,
StreamHandleType
handleType =
StreamHandleType
.StdOut)