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