1 instantiation of ConsoleCancelEventArgs
System.Console (1)
System\Console.cs (1)
990var args = new ConsoleCancelEventArgs(ctx.Signal == PosixSignal.SIGINT ? ConsoleSpecialKey.ControlC : ConsoleSpecialKey.ControlBreak);
22 references to ConsoleCancelEventArgs
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (4)
src\Tools\Shared\TestHelpers\TestConsole.cs (4)
47public ConsoleCancelEventArgs ConsoleCancelKey() 49var ctor = typeof(ConsoleCancelEventArgs) 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.AspNetCore.Hosting (1)
Internal\WebHostLifetime.cs (1)
42private void CancelKeyPress(object? sender, ConsoleCancelEventArgs eventArgs)
Microsoft.DotNet.Open.Api.Tools.Tests (4)
src\Tools\Shared\TestHelpers\TestConsole.cs (4)
47public ConsoleCancelEventArgs ConsoleCancelKey() 49var ctor = typeof(ConsoleCancelEventArgs) 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.Extensions.ApiDescription.Tool.Tests (4)
src\Tools\Shared\TestHelpers\TestConsole.cs (4)
47public ConsoleCancelEventArgs ConsoleCancelKey() 49var ctor = typeof(ConsoleCancelEventArgs) 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.Extensions.SecretManager.Tools.Tests (4)
src\Tools\Shared\TestHelpers\TestConsole.cs (4)
47public ConsoleCancelEventArgs ConsoleCancelKey() 49var ctor = typeof(ConsoleCancelEventArgs) 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
MSBuild (1)
XMake.cs (1)
1145private static void Console_CancelKeyPress(object sender, ConsoleCancelEventArgs e)
mscorlib (1)
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.Console (2)
System\Console.cs (1)
990var args = new ConsoleCancelEventArgs(ctx.Signal == PosixSignal.SIGINT ? ConsoleSpecialKey.ControlC : ConsoleSpecialKey.ControlBreak);
System\ConsoleCancelEventArgs.cs (1)
7public delegate void ConsoleCancelEventHandler(object? sender, ConsoleCancelEventArgs e);