diff --git a/src/libraries/Common/src/SourceGenerators/CSharpSyntaxUtilities.cs b/src/libraries/Common/src/SourceGenerators/CSharpSyntaxUtilities.cs index 8cd2f1850b718a..651f413938a564 100644 --- a/src/libraries/Common/src/SourceGenerators/CSharpSyntaxUtilities.cs +++ b/src/libraries/Common/src/SourceGenerators/CSharpSyntaxUtilities.cs @@ -25,7 +25,7 @@ public static string FormatLiteral(object? value, TypeRef type) switch (value) { case string @string: - return SymbolDisplay.FormatLiteral(@string, quote: true); ; + return SymbolDisplay.FormatLiteral(@string, quote: true); case char @char: return SymbolDisplay.FormatLiteral(@char, quote: true); case double.NegativeInfinity: