[PROPOSED] Unify CustomParser and DefaultValueFactory
#2791
Build and Test MacOS Debug failed
Annotations
Check failure on line 97 in src/System.CommandLine.Suggest/SuggestionDispatcher.cs
azure-pipelines / command-line-api (Build and Test MacOS Debug)
src/System.CommandLine.Suggest/SuggestionDispatcher.cs#L97
src/System.CommandLine.Suggest/SuggestionDispatcher.cs(97,13): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Option<int>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 26 in src/System.CommandLine.Tests/ArgumentTests.cs
azure-pipelines / command-line-api (Build and Test MacOS Debug)
src/System.CommandLine.Tests/ArgumentTests.cs#L26
src/System.CommandLine.Tests/ArgumentTests.cs(26,9): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Argument<string[]>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 27 in src/System.CommandLine.Tests/OptionTests.cs
azure-pipelines / command-line-api (Build and Test MacOS Debug)
src/System.CommandLine.Tests/OptionTests.cs#L27
src/System.CommandLine.Tests/OptionTests.cs(27,13): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Option<string[]>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 22 in src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs
azure-pipelines / command-line-api (Build and Test MacOS Debug)
src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs#L22
src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs(22,21): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Argument<string>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 30 in src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs
azure-pipelines / command-line-api (Build and Test MacOS Debug)
src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs#L30
src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs(30,21): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Argument<string>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'