Skip to content

Suggest names for matching parameters from overloads #52534

@sharwell

Description

@sharwell

The naming suggestions for parameters should include names appearing for matching types in overloads. For example, the following parameters are all representing the same data, but appearing with three different names:

sessionName:

private RunCompilationResult? RunServerCompilation(TextWriter textWriter, List<string> arguments, BuildPaths buildPaths, string libDirectory, string sessionName, string keepAlive)

sessionKey:

string sessionKey,

pipeName:

Suggesting parameter names from overloads according to matching types (while accounting for the Async Pattern and Template Method Pattern naming conventions) would help avoid these mismatches.

Related to #52505

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions