5 references to AddSourceOption
dotnet (2)
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
65_sources = result.GetValue(ToolRestoreCommandParser.AddSourceOption);
Commands\Tool\Restore\ToolRestoreCommandParser.cs (1)
35command.Options.Add(AddSourceOption);
dotnet.Tests (3)
CommandTests\Tool\Restore\ToolRestoreParserTests.cs (3)
46result.GetRequiredValue(ToolRestoreCommandParser.AddSourceOption).First().Should().Be(expectedSourceValue); 61result.GetRequiredValue(ToolRestoreCommandParser.AddSourceOption)[0].Should().Be(expectedSourceValue1); 62result.GetRequiredValue(ToolRestoreCommandParser.AddSourceOption)[1].Should().Be(expectedSourceValue2);