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