33 references to UnmatchedTokens
aspire (7)
Commands\ExecCommand.cs (2)
96
if (parseResult.
UnmatchedTokens
.Count == 0)
305
var allTokens = parseResult.
UnmatchedTokens
.ToList();
Commands\PipelineCommandBase.cs (2)
146
var commandArgs = GetCommandArgs(parseResult).Concat(parseResult.
UnmatchedTokens
).ToArray();
198
var unmatchedTokens = parseResult.
UnmatchedTokens
.ToArray();
Commands\RunCommand.cs (2)
226
UnmatchedTokens = parseResult.
UnmatchedTokens
.ToArray(),
621
var additionalArgs = parseResult.
UnmatchedTokens
.Where(t => t != "--detach").ToList();
Commands\StartCommand.cs (1)
54
var additionalArgs = parseResult.
UnmatchedTokens
.ToList();
Aspire.Cli.Tests (4)
Commands\RunCommandTests.cs (2)
1481
Assert.Contains("--custom-arg", result.
UnmatchedTokens
);
1482
Assert.Contains("value", result.
UnmatchedTokens
);
Commands\StartCommandTests.cs (2)
81
Assert.Contains("--custom-arg", result.
UnmatchedTokens
);
82
Assert.Contains("value", result.
UnmatchedTokens
);
dotnet (10)
Commands\Hidden\Parse\ParseCommand.cs (2)
22
if (reparsed.
UnmatchedTokens
.Any())
25
Console.WriteLine(string.Join(" ", reparsed.
UnmatchedTokens
));
Commands\Test\MTP\MSBuildUtility.cs (1)
104
LoggerUtility.SeparateBinLogArguments(parseResult.
UnmatchedTokens
, out var binLogArgs, out var otherArgs);
Commands\Test\VSTest\TestCommand.cs (7)
205
? result.
UnmatchedTokens
.TakeWhile(x => x != settings[1])
206
: result.
UnmatchedTokens
;
326
for (int i = 0; i < parseResult.
UnmatchedTokens
.Count - settingsLength; i++)
328
string arg = parseResult.
UnmatchedTokens
[i];
343
IEnumerable<string> globalPropEnumerable = parseResult.
UnmatchedTokens
;
377
if (!TryFromCommandLine(parseResult.
UnmatchedTokens
, out terminalLoggerArg) && !TryFromEnvironmentVariables(out terminalLoggerArg))
379
terminalLoggerArg = FindDefaultValue(parseResult.
UnmatchedTokens
) ?? "auto";
dotnet-suggest (1)
SuggestionDispatcher.cs (1)
205
var tokens = parseResult.
UnmatchedTokens
;
dotnet-watch (5)
CommandLine\CommandLineOptions.cs (5)
262
var unmatchedTokensBeforeDashDash = parseResult.
UnmatchedTokens
.Count - (dashDashIndex >= 0 ? parseResult.Tokens.Count - dashDashIndex - 1 : 0);
271
for (int i = 0; i < parseResult.
UnmatchedTokens
.Count; i++)
273
var token = parseResult.
UnmatchedTokens
[i];
335
var unmatchedTokensBeforeDashDash = parseResult.
UnmatchedTokens
.Count - (dashDashIndex >= 0 ? parseResult.Tokens.Count - dashDashIndex - 1 : 0);
343
if (knownCommandsByName.TryGetValue(parseResult.
UnmatchedTokens
[i], out var explicitCommand))
Microsoft.DotNet.Cli.Utils (1)
MSBuildArgs.cs (1)
121
var otherMSBuildArgs = parseResult.
UnmatchedTokens
.ToArray();
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateResult.cs (1)
68
foreach (var unmatchedToken in parseResult.
UnmatchedTokens
)
System.CommandLine (4)
Completions\CompletionContext.cs (1)
82
if (parseResult.
UnmatchedTokens
.Count > 0 ||
Invocation\ParseErrorAction.cs (1)
90
var unmatchedTokens = parseResult.
UnmatchedTokens
;
Parsing\ArgumentResult.cs (1)
67
/// Specifies the maximum number of tokens to consume for the argument. Remaining tokens are passed on and can be consumed by later arguments, or will otherwise be added to <see cref="ParseResult.
UnmatchedTokens
"/>.
Parsing\ParseDiagramAction.cs (1)
38
var unmatchedTokens = parseResult.
UnmatchedTokens
;