11 writes to CustomParser
crossgen2 (1)
Crossgen2RootCommand.cs (1)
20new("input-file-path") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, true), Description = "Input file(s)", Arity = ArgumentArity.OneOrMore };
ilc (1)
ILCompilerRootCommand.cs (1)
18new("input-file-path") { CustomParser = result => Helpers.BuildPathDictionary(result.Tokens, true), Description = "Input file(s)", Arity = ArgumentArity.OneOrMore };
Microsoft.DotNet.Cli.CommandLine (2)
SpanParsableExtensions.cs (2)
58a.CustomParser = StaticSingleItemParser<T>; 75a.CustomParser = StaticMultiItemItemParser<T>;
Microsoft.DotNet.Cli.Definitions (3)
Commands\Reference\ReferenceAddCommandDefinition.cs (1)
26CustomParser = arguments =>
Common\CommonArguments.cs (2)
20CustomParser = argumentResult => ParsePackageIdentityWithVersionSeparator(argumentResult.Tokens[0]?.Value), 29CustomParser = argumentResult => ParsePackageIdentityWithVersionSeparator(argumentResult.Tokens[0]?.Value)!.Value,
NuGet.CommandLine.XPlat (3)
Commands\Package\Download\PackageDownloadCommand.cs (1)
33CustomParser = PackageWithNuGetVersion.Parse
Commands\Package\Update\PackageUpdateCommand.cs (1)
31CustomParser = PackageWithVersionRange.Parse
Commands\Why\WhyCommand.cs (1)
73CustomParser = ar =>
System.CommandLine (1)
Option{T}.cs (1)
42set => _argument.CustomParser = value;
3 references to CustomParser
System.CommandLine (3)
Argument{T}.cs (1)
28/// The same instance can be set as <see cref="CustomParser"/>. In that case,
Option{T}.cs (2)
38/// <inheritdoc cref="Argument{T}.CustomParser" /> 41get => _argument.CustomParser;