3 implementations of GetCommandPath
dotnet.Tests (1)
ShellShimTests\WindowsEnvironmentPathTests.cs (1)
133public string GetCommandPath(string commandName, params string[] extensions)
Microsoft.DotNet.Cli.Utils (1)
EnvironmentProvider.cs (1)
70public string? GetCommandPath(string commandName, params string[] extensions)
Microsoft.NET.Build.Containers.UnitTests (1)
RegistryTests.cs (1)
682public string GetCommandPath(string commandName, params string[] extensions)
3 references to GetCommandPath
dotnet (2)
CommandFactory\CommandResolution\PathCommandResolver.cs (1)
15return _environment.GetCommandPath(commandResolverArguments.CommandName);
CommandFactory\CommandResolution\WindowsExePreferredCommandSpecFactory.cs (1)
22var preferredCommandPath = environment.GetCommandPath(commandName, ".exe");
Microsoft.DotNet.Cli.Utils (1)
Env.cs (1)
13s_environment.GetCommandPath(commandName, extensions);