11 references to StringBuilderCache
MSBuildTaskHost (11)
EscapingUtilities.cs (5)
77
StringBuilder unescapedString =
StringBuilderCache
.Acquire(escapedString.Length);
130
return
StringBuilderCache
.GetStringAndRelease(unescapedString);
190
StringBuilder escapedStringBuilder =
StringBuilderCache
.Acquire(unescapedString.Length * 2);
196
return
StringBuilderCache
.GetStringAndRelease(escapedStringBuilder);
200
StringBuilderCache
.Release(escapedStringBuilder);
FileUtilities.cs (2)
1175
StringBuilder sb =
StringBuilderCache
.Acquire();
1191
return
StringBuilderCache
.GetStringAndRelease(sb);
StringBuilderCache.cs (4)
44
StringBuilder sb =
StringBuilderCache
.t_cachedInstance;
45
StringBuilderCache
.t_cachedInstance = null;
92
Debug.Assert(
StringBuilderCache
.t_cachedInstance == null, "Unexpected replacing of other StringBuilder.");
93
StringBuilderCache
.t_cachedInstance = sb;