Skip to content

unify CustomParser and DefaultValueFactory via new SetValueFactory API

f29df73
Select commit
Loading
Failed to load commit list.
Draft

[PROPOSED] Unify CustomParser and DefaultValueFactory #2791

unify CustomParser and DefaultValueFactory via new SetValueFactory API
f29df73
Select commit
Loading
Failed to load commit list.
Azure Pipelines / command-line-api (Build and Test Source-Build (Managed)) failed Apr 2, 2026 in 1m 25s

Build and Test Source-Build (Managed) failed

Annotations

Check failure on line 97 in src/System.CommandLine.Suggest/SuggestionDispatcher.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / command-line-api (Build and Test Source-Build (Managed))

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.'