8 references to ConsoleKeyInfo
System.Console (8)
System\IO\KeyParser.cs (5)
27
return new
ConsoleKeyInfo
(buffer[startIndex++], ConsoleKey.Backspace, false, false, false);
36
return new
ConsoleKeyInfo
(parsed.KeyChar, parsed.Key, (parsed.Modifiers & ConsoleModifiers.Shift) != 0, alt: true, (parsed.Modifiers & ConsoleModifiers.Control) != 0);
109
parsed = new
ConsoleKeyInfo
(default, ConsoleKey.F1 + input[3] - 'A', false, false, false);
310
=>
new
(keyChar, key, (modifiers & ConsoleModifiers.Shift) != 0, (modifiers & ConsoleModifiers.Alt) != 0, (modifiers & ConsoleModifiers.Control) != 0);
353
return new
ConsoleKeyInfo
(keyChar, key, isShift, isAlt, isCtrl);
System\IO\StdInReader.cs (1)
359
return new
ConsoleKeyInfo
((char)
System\TerminalFormatStrings.cs (2)
233
KeyFormatToConsoleKey[keyFormat] = new
ConsoleKeyInfo
(key == ConsoleKey.Enter ? '\r' : '\0', key, shift, alt, control);
252
KeyFormatToConsoleKey[keyFormat] = new
ConsoleKeyInfo
('\0', key, shift, alt, control);