10 references to HasExtension
dotnet (10)
Commands\Solution\Add\SolutionAddCommand.cs (1)
69
if (_solutionFileFullPath.
HasExtension
(SlnfFileHelper.SlnfExtension))
Commands\Solution\Migrate\SolutionMigrateCommand.cs (1)
29
if (slnFileFullPath.
HasExtension
(".slnx"))
Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
47
if (solutionFileFullPath.
HasExtension
(SlnfFileHelper.SlnfExtension))
Commands\Solution\SolutionArgumentValidator.cs (4)
35
var slnFile = _arguments.FirstOrDefault(path => path.
HasExtension
(".sln") || path.
HasExtension
(".slnx"));
52
var projectArgs = string.Join(" ", _arguments.Where(path => !path.
HasExtension
(".sln") && !path.
HasExtension
(".slnx")));
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
322
if (string.IsNullOrEmpty(runProperties.Command) || runProperties.Command.
HasExtension
(CliConstants.DLLExtension))
Commands\Test\MTP\TestModulesFilterHandler.cs (1)
65
RunProperties runProperties = testModule.
HasExtension
(CliConstants.DLLExtension)
SlnFileFactory.cs (1)
68
if (solutionPath.
HasExtension
(".slnf"))