We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5177ec4 commit 4434257Copy full SHA for 4434257
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1139CodeFixProvider.cs
@@ -106,7 +106,7 @@ private static SyntaxNode GenerateReplacementNode(CastExpressionSyntax node)
106
var prefix = plusMinusSyntax == null
107
? string.Empty
108
: plusMinusSyntax.OperatorToken.Text;
109
- var literalWithoutSuffix = LiteralExpressionHelpers.StripLiteralSuffix(literalExpressionSyntax);
+ var literalWithoutSuffix = literalExpressionSyntax.StripLiteralSuffix();
110
var correspondingSuffix = LiteralSyntaxKindToSuffix[typeToken.Kind()];
111
var fixedCodePreservingText = SyntaxFactory.ParseExpression(prefix + literalWithoutSuffix + correspondingSuffix);
112
0 commit comments