dotnet/roslyn

Refactoring Suggestion: Change Signature for Type Parameters

Open

#63 644 ouverte le 29 août 2022

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)C# (4 257 forks)batch import
Area-IDEhelp wanted

Métriques du dépôt

Stars
 (20 414 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

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.

Guide contributeur