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