24 references to Shift
System.Console (24)
System\ConsoleKeyInfo.cs (1)
29
_mods |= ConsoleModifiers.
Shift
;
System\IO\KeyParser.cs (23)
36
return new ConsoleKeyInfo(parsed.KeyChar, parsed.Key, (parsed.Modifiers & ConsoleModifiers.
Shift
) != 0, alt: true, (parsed.Modifiers & ConsoleModifiers.Control) != 0);
182
'a' => (ConsoleKey.UpArrow, ConsoleModifiers.
Shift
), // rxvt
184
'b' => (ConsoleKey.DownArrow, ConsoleModifiers.
Shift
), // used by rxvt
186
'c' => (ConsoleKey.RightArrow, ConsoleModifiers.
Shift
), // used by rxvt
188
'd' => (ConsoleKey.LeftArrow, ConsoleModifiers.
Shift
), // used by rxvt
232
_ when char.IsBetween(character, 'Y', 'Z') => (ConsoleKey.F1 + character - 'Y', ConsoleModifiers.
Shift
),
233
_ when char.IsBetween(character, 'a', 'j') => (ConsoleKey.F3 + character - 'a', ConsoleModifiers.
Shift
),
235
_ when char.IsBetween(character, 'w', 'z') => (ConsoleKey.F1 + character - 'w', ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
236
'@' => (ConsoleKey.F5, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
237
'[' => (ConsoleKey.F6, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
238
'<' or '\\' => (ConsoleKey.F7, ConsoleModifiers.Control | ConsoleModifiers.
Shift
), // the Spec says <, PuTTy uses \.
239
']' => (ConsoleKey.F8, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
240
'^' => (ConsoleKey.F9, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
241
'_' => (ConsoleKey.F10, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
242
'`' => (ConsoleKey.F11, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
243
'{' => (ConsoleKey.F12, ConsoleModifiers.Control | ConsoleModifiers.
Shift
),
286
'2' => ConsoleModifiers.
Shift
,
288
'4' => ConsoleModifiers.
Shift
| ConsoleModifiers.Alt,
290
'6' => ConsoleModifiers.
Shift
| ConsoleModifiers.Control,
292
'8' => ConsoleModifiers.
Shift
| ConsoleModifiers.Alt | ConsoleModifiers.Control,
304
'$' => ConsoleModifiers.
Shift
,
305
'@' => ConsoleModifiers.Control | ConsoleModifiers.
Shift
,
310
=> new(keyChar, key, (modifiers & ConsoleModifiers.
Shift
) != 0, (modifiers & ConsoleModifiers.Alt) != 0, (modifiers & ConsoleModifiers.Control) != 0);