1 write to _stringBuilder
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Contract.InterpolatedStringHandlers.cs (1)
21
_stringBuilder
= condition ? new StringBuilder(capacity: literalLength) : null!;
3 references to _stringBuilder
Microsoft.CodeAnalysis.InteractiveHost (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Contract.InterpolatedStringHandlers.cs (3)
25
public void AppendLiteral(string value) =>
_stringBuilder
.Append(value);
27
public void AppendFormatted<T>(T value) =>
_stringBuilder
.Append(value?.ToString());
29
public string GetFormattedText() =>
_stringBuilder
.ToString();