dotnet/roslyn
Voir sur GitHubInvert if refactoring is not available at the top-level
Open
#71 424 ouverte le 30 déc. 2023
Area-IDEBughelp 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
Version Used: 4.8.0-7.23558.1 (e0917286)
Steps to Reproduce:
- Create a new console project. And replace
Program.cswith the followingif (int.Parse("0") == 2) { Console.WriteLine("Hello"); } else { Console.WriteLine("World"); } - Put the text cursor at the beginning of
if - Open refactorings
Diagnostic Id: N/A
Expected Behavior: Invert if refactoring is applicable
Actual Behavior: Invert if is not present in refactorings