3 references to FormatPrimitive
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (3)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (3)
75
FormatPrimitive
(value, options & ~(ObjectDisplayOptions.UseQuotes | ObjectDisplayOptions.EscapeNonPrintableCharacters), inspectionContext),
101
var tmp =
FormatPrimitive
(value, ObjectDisplayOptions.UseHexadecimalNumbers, inspectionContext); // Always in hex.
301
return displayString ??
FormatPrimitive
(value, options, inspectionContext);