3 overrides of ValueType
System.CommandLine (3)
Help\HelpOption.cs (1)
49public override Type ValueType => typeof(void);
Option{T}.cs (1)
48public override Type ValueType => _argument.ValueType;
VersionOption.cs (1)
68public override Type ValueType => typeof(void);
6 references to ValueType
dotnet (1)
CliSchema.cs (1)
191option.ValueType.ToCliTypeString(),
Microsoft.DotNet.Cli.CommandLine (2)
ResultNavigationExtensions.cs (2)
24&& optionResult.Option.ValueType.IsAssignableTo(typeof(T))) // only return a value if coercing the type won't error 53&& optionResult.Option.ValueType.IsAssignableTo(typeof(T))) // only return a value if coercing the type won't error
Microsoft.DotNet.Cli.Definitions (1)
Help\HelpBuilder.Default.cs (1)
54Option option => GetUsageLabel(option.HelpName, option.ValueType, option.CompletionSources, option, option.Arity) ?? "",
System.CommandLine (2)
Help\HelpBuilder.Default.cs (2)
30? ToString(option.GetDefaultValue(), option.ValueType) 74Option option => GetUsageLabel(option.HelpName, option.ValueType, option.CompletionSources, option, option.Arity) ?? "",