5 references to FormatLiteral
Microsoft.CodeAnalysis.CSharp (4)
SymbolDisplay\ObjectDisplay.cs (1)
67
return
FormatLiteral
((char)obj, options);
SymbolDisplay\SymbolDisplay.cs (1)
357
return ObjectDisplay.
FormatLiteral
(c, options);
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
983
builder.Append(ObjectDisplay.
FormatLiteral
(c, options));
Syntax\SyntaxFactory.cs (1)
630
return Literal(ObjectDisplay.
FormatLiteral
(value, ObjectDisplayOptions.UseQuotes | ObjectDisplayOptions.EscapeNonPrintableCharacters), value);
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpPrimitiveFormatter.cs (1)
33
return ObjectDisplay.
FormatLiteral
(c, options);