10 writes to Cancel
aspire (1)
Program.cs (1)
657eventArgs.Cancel = true;
dotnet (4)
Commands\MSBuild\MSBuildForwardingApp.cs (1)
128Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
Commands\Run\RunCommand.cs (1)
221Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
Commands\Test\MTP\CtrlCCancellationManager.cs (1)
93e.Cancel = true;
NuGetForwardingApp.cs (1)
26Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
Microsoft.DotNet.Cli.Utils (1)
ProcessReaper.cs (1)
224e.Cancel = true;
Microsoft.DotNet.HotReload.Watch (1)
UI\PhysicalConsole.cs (1)
112e.Cancel = true;
MSBuild (1)
XMake.cs (1)
1197e.Cancel = true; // do not terminate rudely
System.CommandLine (1)
Invocation\ProcessTerminationHandler.cs (1)
75e.Cancel = true;
System.Console (1)
System\Console.cs (1)
1046args.Cancel = ctx.Cancel;
1 reference to Cancel
System.Console (1)
System\Console.cs (1)
1048ctx.Cancel = args.Cancel;