dotnet/roslyn

Refactoring Suggestion: Change Signature for Type Parameters

Aberta

#63.644 aberto em 29 de ago. de 2022

 (2 comentários) (0 reação) (0 responsável)C# (4.257 forks)batch import
Area-IDEhelp wanted

Métricas do repositório

Stars
 (20.414 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador