dotnet/roslyn

Refactoring Suggestion: Change Signature for Type Parameters

Open

#63,644 创建于 2022年8月29日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C# (4,257 fork)batch import
Area-IDEhelp wanted

仓库指标

Star
 (20,414 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

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.

贡献者指南