We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c15322 commit b7e8a57Copy full SHA for b7e8a57
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/SA1308CodeFixProvider.cs
@@ -60,11 +60,6 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
60
break;
61
}
62
63
- if (numberOfCharsToRemove == 0)
64
- {
65
- continue;
66
- }
67
-
68
// The prefix is the full variable name. In this case we cannot generate a valid variable name and thus will not offer a code fix.
69
if (token.ValueText.Length == numberOfCharsToRemove)
70
{
0 commit comments