1 write to _stringBuilder
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Contract.InterpolatedStringHandlers.cs (1)
57
_stringBuilder
= value is null ? new StringBuilder(capacity: literalLength) : null!;
3 references to _stringBuilder
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Contract.InterpolatedStringHandlers.cs (3)
61
public void AppendLiteral(string value) =>
_stringBuilder
.Append(value);
63
public void AppendFormatted<T2>(T2 value) =>
_stringBuilder
.Append(value?.ToString());
65
public string GetFormattedText() =>
_stringBuilder
.ToString();