dotnet/roslyn

Change signature removes parameter I didn't select to be removed

Open

#62.824 aperta il 21 lug 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBughelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Using https://github.com/dotnet/roslyn/commit/deabaa7744075fec2b2688872576561259761552

Go to https://github.com/dotnet/roslyn/blob/deabaa7744075fec2b2688872576561259761552/src/Analyzers/Core/Analyzers/AbstractBuiltInCodeStyleDiagnosticAnalyzer.cs#L72

Invoke "Change signature" and remove the unused language parameter. Note this strange change:

image

It also uses named arguments unnecessarily, but that's a minor point

image

Guida contributor