8 references to FormatLiteral
ConfigurationSchemaGenerator (1)
RuntimeSource\SourceGenerators\CSharpSyntaxUtilities.cs (1)
30
return SymbolDisplay.
FormatLiteral
(@char, quote: true);
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
188
char c => SymbolDisplay.
FormatLiteral
(c, true),
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
188
char c => SymbolDisplay.
FormatLiteral
(c, true),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
115
var literal = SymbolDisplay.
FormatLiteral
(val, quote: true);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
115
var literal = SymbolDisplay.
FormatLiteral
(val, quote: true);
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Emitter.cs (1)
1460
private static string FormatCharLiteral(char value) => SymbolDisplay.
FormatLiteral
(value, quote: true);
src\libraries\Common\src\SourceGenerators\CSharpSyntaxUtilities.cs (1)
30
return SymbolDisplay.
FormatLiteral
(@char, quote: true);
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Emitter.cs (1)
5414
private static string Literal(char c) => SymbolDisplay.
FormatLiteral
(c, quote: true);