diff --git a/src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs b/src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs index 1fa2b13390..0a9db21aba 100644 --- a/src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs +++ b/src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs @@ -162,7 +162,7 @@ public void Parameters_named_arguments_generate_command_arguments_having_the_cor var rootCommandArgument = parser.Configuration.RootCommand.Arguments.Single(); - rootCommandArgument.Type + rootCommandArgument.ValueType .Should() .Be(expectedType); } diff --git a/src/System.CommandLine.DragonFruit/CommandLine.cs b/src/System.CommandLine.DragonFruit/CommandLine.cs index 380362c94c..63e7bd7f0a 100644 --- a/src/System.CommandLine.DragonFruit/CommandLine.cs +++ b/src/System.CommandLine.DragonFruit/CommandLine.cs @@ -279,7 +279,7 @@ public static IEnumerable