5 references to FormatLiteral
Microsoft.CodeAnalysis.CSharp (4)
Parser\Lexer.cs (1)
730
var messageText = isEscaped ? info.Text : ObjectDisplay.
FormatLiteral
(info.Text, ObjectDisplayOptions.EscapeNonPrintableCharacters);
SymbolDisplay\ObjectDisplay.cs (1)
57
return
FormatLiteral
((string)obj, options);
SymbolDisplay\SymbolDisplay.cs (1)
341
return ObjectDisplay.
FormatLiteral
(value, options);
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
986
builder.Append(ObjectDisplay.
FormatLiteral
(s, options));
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpPrimitiveFormatter.cs (1)
27
return ObjectDisplay.
FormatLiteral
(value, options);