Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ private string CreateTestAssemblyInTempFile(int classesCount, int methodsPerClas
);
}

public IEnumerable<(int classesCount, int methodsPerClassCount)> ValuesForTestAssemblySize =>
public IEnumerable<(
int classesCount,
int methodsPerClassCount
)> ValuesForTestAssemblySize =>
new[]
{
(classesCount: 1, methodsPerClassCount: 1),
Expand Down
6 changes: 5 additions & 1 deletion src/System.CommandLine/Binding/ModelBinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ out var boundValue
: (false, (object?)null, false);
}

private (bool success, object? newInstance, bool anyNonDefaults) InstanceFromSpecificConstructor(
private (
bool success,
object? newInstance,
bool anyNonDefaults
) InstanceFromSpecificConstructor(
BindingContext bindingContext,
ConstructorDescriptor constructor,
IReadOnlyList<BoundValue>? boundValues,
Expand Down