24 references to Acquire
Microsoft.Build (4)
EscapingUtilities.cs (2)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
FileUtilities.cs (1)
1175StringBuilder sb = StringBuilderCache.Acquire();
Logging\BaseConsoleLogger.cs (1)
1215return StringBuilderCache.Acquire(capacity);
Microsoft.Build.Engine.OM.UnitTests (3)
EscapingUtilities.cs (2)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
FileUtilities.cs (1)
1175StringBuilder 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)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
Microsoft.Build.Tasks.Core (7)
AssemblyDependency\ResolveAssemblyReference.cs (1)
1115StringBuilder logConflict = StringBuilderCache.Acquire();
CreateCSharpManifestResourceName.cs (1)
112var manifestName = StringBuilderCache.Acquire();
CreateVisualBasicManifestResourceName.cs (1)
110var manifestName = StringBuilderCache.Acquire();
EscapingUtilities.cs (2)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
Exec.cs (1)
606fileName = StringBuilderCache.Acquire(batchFileForCommandLine.Length);
FileUtilities.cs (1)
1175StringBuilder sb = StringBuilderCache.Acquire();
Microsoft.Build.Utilities.Core (3)
EscapingUtilities.cs (2)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
FileUtilities.cs (1)
1175StringBuilder sb = StringBuilderCache.Acquire();
MSBuild (4)
CommandLineSwitches.cs (1)
887StringBuilder sb = StringBuilderCache.Acquire();
EscapingUtilities.cs (2)
77StringBuilder unescapedString = StringBuilderCache.Acquire(escapedString.Length); 190StringBuilder escapedStringBuilder = StringBuilderCache.Acquire(unescapedString.Length * 2);
FileUtilities.cs (1)
1175StringBuilder sb = StringBuilderCache.Acquire();