30 references to CancelKeyPress
AnalyzerRunner (1)
Program.cs (1)
43Console.CancelKeyPress +=
ClientSample (2)
HubSample.cs (1)
61Console.CancelKeyPress += (sender, a) =>
RawSample.cs (1)
51Console.CancelKeyPress += (sender, a) =>
dotnet (6)
Commands\MSBuild\MSBuildForwardingApp.cs (1)
94Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
Commands\Run\RunCommand.cs (1)
173Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (1)
122Console.CancelKeyPress += (s, e) =>
Commands\Test\MTP\Terminal\SystemConsole.cs (2)
41add => Console.CancelKeyPress += value; 42remove => Console.CancelKeyPress -= value;
NuGetForwardingApp.cs (1)
26Console.CancelKeyPress += (sender, e) => { e.Cancel = true; };
dotnet-dev-certs (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-getdocument (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-openapi (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-sql-cache (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-user-jwts (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-user-secrets (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
dotnet-watch (1)
UI\PhysicalConsole.cs (1)
85Console.CancelKeyPress += (s, e) =>
GetDocument.Insider (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
17Console.CancelKeyPress += (o, e) =>
Metrics (1)
Program.cs (1)
25Console.CancelKeyPress += delegate
Metrics.Legacy (1)
src\RoslynAnalyzers\Tools\Metrics\Program.cs (1)
25Console.CancelKeyPress += delegate
Microsoft.DotNet.Cli.Utils (2)
ProcessReaper.cs (2)
35Console.CancelKeyPress += HandleCancelKeyPress; 93Console.CancelKeyPress -= HandleCancelKeyPress;
Microsoft.DotNet.HotReload.Agent.Host.Package (1)
StartupHook.cs (1)
74Console.CancelKeyPress += (_, _) => Environment.Exit(0);
Microsoft.Extensions.DotNetDeltaApplier (1)
StartupHook.cs (1)
74Console.CancelKeyPress += (_, _) => Environment.Exit(0);
MSBuild (3)
XMake.cs (3)
265Console.CancelKeyPress += Console_CancelKeyPress; 615Console.CancelKeyPress += cancelHandler; 1009Console.CancelKeyPress -= cancelHandler;
RunTests (1)
Program.cs (1)
66Console.CancelKeyPress += delegate
rzc (1)
Program.cs (1)
28Console.CancelKeyPress += (sender, e) => { cancel.Cancel(); };
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\BuildServerController.cs (1)
53Console.CancelKeyPress += (sender, e) => { cancellationTokenSource.Cancel(); };
xunit.console (1)
ConsoleRunner.cs (1)
50Console.CancelKeyPress += (sender, e) =>