diff options
Diffstat (limited to 'src/mscorlib/src/System/ConsoleSpecialKey.cs')
-rw-r--r-- | src/mscorlib/src/System/ConsoleSpecialKey.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/ConsoleSpecialKey.cs b/src/mscorlib/src/System/ConsoleSpecialKey.cs new file mode 100644 index 0000000000..d3ea091df2 --- /dev/null +++ b/src/mscorlib/src/System/ConsoleSpecialKey.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +/*============================================================================= +** +** +** +** Purpose: This enumeration represents how a process can be interrupted with +** a cancel request from the user, like Control-C and Control-Break. +** We may eventually add in a small number of other cases. +** +** +=============================================================================*/ + +using System.Runtime.InteropServices; + +namespace System { + [Serializable] + + public enum ConsoleSpecialKey + { + // We realize this is incomplete, and may add values in the future. + ControlC = 0, + ControlBreak = 1, + } +} |