14 references to UnrecognizedCommandOrArgument
dotnet (2)
Commands\Workload\Search\WorkloadSearchVersionsCommandParser.cs (1)
64result.AddError(string.Format(CliStrings.UnrecognizedCommandOrArgument, string.Join(' ', versionArgument)));
Extensions\ParseResultExtensions.cs (1)
46var rawResourcePartsForThisLocale = DistinctFormatStringParts(CliStrings.UnrecognizedCommandOrArgument);
dotnet.Tests (12)
CommandTests\Reference\Add\GivenDotnetAddReference.cs (2)
120cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two")} 121{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three")}");
CommandTests\Reference\List\GivenDotnetListReference.cs (2)
74cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two")} 75{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three")}");
CommandTests\Reference\Remove\GivenDotnetRemoveP2P.cs (2)
164cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two")} 165{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three")}");
CommandTests\Solution\Add\GivenDotnetSlnAdd.cs (2)
85cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two.sln")} 86{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three.slnx")}");
CommandTests\Solution\List\GivenDotnetSlnList.cs (2)
63cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two.sln")} 64{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three.sln")}");
CommandTests\Solution\Remove\GivenDotnetSlnRemove.cs (2)
51cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CliStrings.UnrecognizedCommandOrArgument, "two.sln")} 52{string.Format(CliStrings.UnrecognizedCommandOrArgument, "three.slnx")}");