16 references to ConsoleSpecialKey
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TestConsole.cs (2)
52.Single(c => c.GetParameters().First().ParameterType == typeof(ConsoleSpecialKey)); 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.DotNet.Open.Api.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TestConsole.cs (2)
52.Single(c => c.GetParameters().First().ParameterType == typeof(ConsoleSpecialKey)); 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.Extensions.ApiDescription.Tool.Tests (2)
src\Tools\Shared\TestHelpers\TestConsole.cs (2)
52.Single(c => c.GetParameters().First().ParameterType == typeof(ConsoleSpecialKey)); 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
Microsoft.Extensions.SecretManager.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TestConsole.cs (2)
52.Single(c => c.GetParameters().First().ParameterType == typeof(ConsoleSpecialKey)); 53var args = (ConsoleCancelEventArgs)ctor.Invoke(new object[] { ConsoleSpecialKey.ControlC });
MSBuild (1)
XMake.cs (1)
1147if (e.SpecialKey == ConsoleSpecialKey.ControlBreak)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
134[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ConsoleSpecialKey))]
netstandard (1)
netstandard.cs (1)
438[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ConsoleSpecialKey))]
System.Console (5)
System\Console.cs (2)
990var args = new ConsoleCancelEventArgs(ctx.Signal == PosixSignal.SIGINT ? ConsoleSpecialKey.ControlC : ConsoleSpecialKey.ControlBreak);
System\ConsoleCancelEventArgs.cs (3)
11private readonly ConsoleSpecialKey _type; 13internal ConsoleCancelEventArgs(ConsoleSpecialKey type) 25public ConsoleSpecialKey SpecialKey