dotnet/roslyn
GitHub で見る'Add argument name' refactoring works only at very beginning of attribute argument
Open
#63,365 opened on 2022年8月12日
Area-AnalyzersBughelp wanted
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 256 merged PRs)
説明
Invoke lightbulb on the four locations indicated by $$
[My($$nu$$ll, null)]
class MyAttribute : System.Attribute
{
public MyAttribute(string x, string y) { _ = new MyAttribute($$nu$$ll, null); }
}
Only 3 locations shows the refactoring. The one that doesn't work is invoking from middle of attribute argument.