1 instantiation of ConsoleCancelEventArgs
System.Console (1)
System\Console.cs (1)
1045
var args = new
ConsoleCancelEventArgs
(ctx.Signal == PosixSignal.SIGINT ? ConsoleSpecialKey.ControlC : ConsoleSpecialKey.ControlBreak);
8 references to ConsoleCancelEventArgs
dotnet (1)
Commands\Test\MTP\CtrlCCancellationManager.cs (1)
88
private void OnConsoleCancelKeyPress(object? sender,
ConsoleCancelEventArgs
e)
Microsoft.DotNet.Cli.Utils (1)
ProcessReaper.cs (1)
221
private void HandleCancelKeyPress(object? sender,
ConsoleCancelEventArgs
e)
MSBuild (1)
XMake.cs (1)
1190
private static void Console_CancelKeyPress(object sender,
ConsoleCancelEventArgs
e)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
128
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ConsoleCancelEventArgs
))]
netstandard (1)
netstandard.cs (1)
432
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ConsoleCancelEventArgs
))]
System.CommandLine (1)
Invocation\ProcessTerminationHandler.cs (1)
73
void OnCancelKeyPress(object? sender,
ConsoleCancelEventArgs
e)
System.Console (2)
System\Console.cs (1)
1045
var
args = new ConsoleCancelEventArgs(ctx.Signal == PosixSignal.SIGINT ? ConsoleSpecialKey.ControlC : ConsoleSpecialKey.ControlBreak);
System\ConsoleCancelEventArgs.cs (1)
7
public delegate void ConsoleCancelEventHandler(object? sender,
ConsoleCancelEventArgs
e);