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