[PROPOSED] Unify CustomParser and DefaultValueFactory
#2791
Build and Test Ubuntu Release failed
Annotations
Check failure on line 26 in src/System.CommandLine.Tests/ArgumentTests.cs
azure-pipelines / command-line-api (Build and Test Ubuntu Release)
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 50 in src/System.CommandLine.Tests/ArgumentTests.cs
azure-pipelines / command-line-api (Build and Test Ubuntu Release)
src/System.CommandLine.Tests/ArgumentTests.cs#L50
src/System.CommandLine.Tests/ArgumentTests.cs(50,13): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Argument<string>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 101 in src/System.CommandLine.Tests/VersionOptionTests.cs
azure-pipelines / command-line-api (Build and Test Ubuntu Release)
src/System.CommandLine.Tests/VersionOptionTests.cs#L101
src/System.CommandLine.Tests/VersionOptionTests.cs(101,21): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Option<bool>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 118 in src/System.CommandLine.Tests/VersionOptionTests.cs
azure-pipelines / command-line-api (Build and Test Ubuntu Release)
src/System.CommandLine.Tests/VersionOptionTests.cs#L118
src/System.CommandLine.Tests/VersionOptionTests.cs(118,43): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Argument<bool>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'
Check failure on line 153 in src/System.CommandLine.Tests/Binding/TypeConversionTests.cs
azure-pipelines / command-line-api (Build and Test Ubuntu Release)
src/System.CommandLine.Tests/Binding/TypeConversionTests.cs#L153
src/System.CommandLine.Tests/Binding/TypeConversionTests.cs(153,50): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Option<int>.DefaultValueFactory' is obsolete: 'Use SetValueFactory(..., ValueFactoryInvocation.WhenTokensNotMatched) instead.'