We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae46306 commit 290c71aCopy full SHA for 290c71a
src/System.CommandLine/Argument.cs
@@ -134,7 +134,7 @@ public Type ArgumentType
134
return _defaultValueFactory.Invoke(argumentResult);
135
}
136
137
- public void SetDefaultValue(object value)
+ public void SetDefaultValue(object? value)
138
{
139
SetDefaultValueFactory(() => value);
140
src/System.CommandLine/Option.cs
@@ -45,7 +45,7 @@ public virtual Argument Argument
45
IArgument IOption.Argument => Argument;
46
47
public bool Required { get; set; }
48
-
+
49
string IValueDescriptor.ValueName => Name;
50
51
Type IValueDescriptor.ValueType => Argument.ArgumentType;
0 commit comments