dotnet/roslyn
Auf GitHub ansehen'Add argument name' refactoring works only at very beginning of attribute argument
Open
#63.365 geöffnet am 12. Aug. 2022
Area-AnalyzersBughelp wanted
Repository-Metriken
- Stars
- (20.414 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)
Beschreibung
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.