13 references to Key
dotnet-svcutil-lib (7)
CmdCredentialsProvider.cs (7)
262
while (keyInfo.
Key
!= ConsoleKey.Enter && keyInfo.
Key
!= ConsoleKey.Escape);
265
if (keyInfo.
Key
== ConsoleKey.Escape && throwOnEscape)
270
return keyInfo.
Key
== ConsoleKey.Enter;
283
if (keyInfo.
Key
== ConsoleKey.Escape)
288
else if (keyInfo.
Key
== ConsoleKey.Backspace && userInput.Length > 0)
299
while (keyInfo.
Key
!= ConsoleKey.Enter);
System.Console (6)
System\IO\KeyParser.cs (1)
36
return new ConsoleKeyInfo(parsed.KeyChar, parsed.
Key
, (parsed.Modifiers & ConsoleModifiers.Shift) != 0, alt: true, (parsed.Modifiers & ConsoleModifiers.Control) != 0);
System\IO\StdInReader.cs (5)
168
if (!consumeKeys && keyInfo.
Key
!= ConsoleKey.Backspace) // backspace is the only character not written out in the below if/elses.
179
if (keyInfo.
Key
== ConsoleKey.Enter)
191
else if (keyInfo.
Key
== ConsoleKey.Backspace)
234
else if (keyInfo.
Key
== ConsoleKey.Tab)
245
else if (keyInfo.
Key
== ConsoleKey.Clear)