From 86e8673826d8a0944db34423277bd720d2d27964 Mon Sep 17 00:00:00 2001 From: Andy Schwartzmeyer Date: Thu, 12 May 2016 11:59:05 -0700 Subject: [PATCH] Don't build more unused code This code is all used for reading secure strings, which we don't yet support. --- .../host/msh/ConsoleHostUserInterface.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs index ed12c95fdf..2b9ed15127 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs @@ -404,6 +404,8 @@ namespace Microsoft.PowerShell #endif } +#if !OPEN + /// /// /// Handle writing print token with proper cursor adjustment for ReadLineSafe @@ -533,7 +535,6 @@ namespace Microsoft.PowerShell /// false otherwise /// /// -#if !OPEN private static bool shouldUnsetMode( ConsoleControl.ConsoleModes flagToUnset, ref ConsoleControl.ConsoleModes m)