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