dotnet/roslyn

Refactoring Suggestion: Change Signature for Type Parameters

Open

#63,644 opened on Aug 29, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

Brief description: Today, you can re-order method parameters with a nice dialog like so: image

But there is no method for re-ordering type parameters. All

Additional Information: If I have code like this:

public class Foo<T1, T3, T4, T2> { }

and want to refactor it to:

public class Foo<T1, T2, T3, T4> { }

Today, I have to touch every single place they are used by hand. This basically makes the refactoring impossible.

Contributor guide