24 references to Acquire
Microsoft.Build (4)
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
FileUtilities.cs (1)
1175
StringBuilder sb = StringBuilderCache.
Acquire
();
Logging\BaseConsoleLogger.cs (1)
1215
return StringBuilderCache.
Acquire
(capacity);
Microsoft.Build.Engine.OM.UnitTests (3)
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
FileUtilities.cs (1)
1175
StringBuilder sb = StringBuilderCache.
Acquire
();
Microsoft.Build.Framework (1)
StringBuilderCache.cs (1)
76
/// <param name="sb">The <see cref="StringBuilder"/> to cache. Likely returned from <see cref="
Acquire
(int)"/>.</param>
Microsoft.Build.Framework.UnitTests (2)
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
Microsoft.Build.Tasks.Core (7)
AssemblyDependency\ResolveAssemblyReference.cs (1)
1115
StringBuilder logConflict = StringBuilderCache.
Acquire
();
CreateCSharpManifestResourceName.cs (1)
112
var manifestName = StringBuilderCache.
Acquire
();
CreateVisualBasicManifestResourceName.cs (1)
110
var manifestName = StringBuilderCache.
Acquire
();
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
Exec.cs (1)
606
fileName = StringBuilderCache.
Acquire
(batchFileForCommandLine.Length);
FileUtilities.cs (1)
1175
StringBuilder sb = StringBuilderCache.
Acquire
();
Microsoft.Build.Utilities.Core (3)
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
FileUtilities.cs (1)
1175
StringBuilder sb = StringBuilderCache.
Acquire
();
MSBuild (4)
CommandLineSwitches.cs (1)
887
StringBuilder sb = StringBuilderCache.
Acquire
();
EscapingUtilities.cs (2)
77
StringBuilder unescapedString = StringBuilderCache.
Acquire
(escapedString.Length);
190
StringBuilder escapedStringBuilder = StringBuilderCache.
Acquire
(unescapedString.Length * 2);
FileUtilities.cs (1)
1175
StringBuilder sb = StringBuilderCache.
Acquire
();