44 references to Acquire
mscorlib (44)
microsoft\win32\win32native.cs (1)
743
StringBuilder sb = StringBuilderCache.
Acquire
(512);
system\appdomain.cs (3)
845
StringBuilder conditionalAptcaListBuilder = StringBuilderCache.
Acquire
();
2215
StringBuilder sb = StringBuilderCache.
Acquire
();
2284
StringBuilder appendPath = StringBuilderCache.
Acquire
();
system\AppDomainSetup.cs (3)
434
StringBuilder result = StringBuilderCache.
Acquire
();
871
StringBuilder newPath = StringBuilderCache.
Acquire
();
1407
StringBuilder result = StringBuilderCache.
Acquire
();
system\applicationid.cs (1)
92
StringBuilder sb = StringBuilderCache.
Acquire
();
system\bcldebug.cs (3)
255
StringBuilder sb = StringBuilderCache.
Acquire
();
288
StringBuilder sb = StringBuilderCache.
Acquire
();
321
StringBuilder sb = StringBuilderCache.
Acquire
();
system\collections\generic\keyvaluepair.cs (1)
44
StringBuilder s = StringBuilderCache.
Acquire
();
system\environment.cs (1)
631
StringBuilder blob = StringBuilderCache.
Acquire
(128); // A somewhat reasonable default size
system\globalization\datetimeformat.cs (3)
438
StringBuilder result = StringBuilderCache.
Acquire
();
986
StringBuilder result = StringBuilderCache.
Acquire
(Rfc1123FormatLength);
1017
StringBuilder result = StringBuilderCache.
Acquire
(roundTripFormatLength);
system\globalization\timespanformat.cs (3)
72
StringBuilder sb = StringBuilderCache.
Acquire
();
165
StringBuilder result = StringBuilderCache.
Acquire
();
365
StringBuilder sb = StringBuilderCache.
Acquire
();
system\io\binaryreader.cs (1)
290
sb = StringBuilderCache.
Acquire
(stringLength); // Actual string length in chars may be smaller.
system\io\directory.cs (1)
1108
StringBuilder sb = StringBuilderCache.
Acquire
(PathInternal.MaxShortPath + 1);
system\io\path.cs (2)
1265
StringBuilder finalPath = StringBuilderCache.
Acquire
(finalSize);
1315
StringBuilder sb = StringBuilderCache.
Acquire
();
system\io\pathinternal.cs (1)
614
StringBuilder builder = StringBuilderCache.
Acquire
(path.Length);
system\runtime\remoting\soap.cs (1)
769
StringBuilder sb = StringBuilderCache.
Acquire
(256);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
1321
StringBuilder sb = StringBuilderCache.
Acquire
(10);
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
1034
StringBuilder sb = StringBuilderCache.
Acquire
(10);
system\security\util\urlstring.cs (2)
125
StringBuilder intermediate = StringBuilderCache.
Acquire
(url.Length);
989
StringBuilder builtUrl = StringBuilderCache.
Acquire
();
system\security\util\xmlutil.cs (1)
690
StringBuilder result = StringBuilderCache.
Acquire
();
system\string.cs (6)
103
StringBuilder result = StringBuilderCache.
Acquire
();
135
StringBuilder result = StringBuilderCache.
Acquire
();
175
StringBuilder result = StringBuilderCache.
Acquire
();
3022
.
Acquire
(format.Length + args.Length * 8)
3151
StringBuilder result = StringBuilderCache.
Acquire
();
3174
StringBuilder result = StringBuilderCache.
Acquire
();
system\timezoneinfo.cs (4)
2611
StringBuilder fileMuiPath = StringBuilderCache.
Acquire
(Win32Native.MAX_PATH);
2651
StringBuilder localizedResource = StringBuilderCache.
Acquire
(Win32Native.LOAD_STRING_MAX_LENGTH);
3564
StringBuilder serializedText = StringBuilderCache.
Acquire
();
3809
StringBuilder token = StringBuilderCache.
Acquire
(initialCapacityForString);
system\typenameparser.cs (1)
311
StringBuilder sb = StringBuilderCache.
Acquire
();
system\version.cs (3)
292
sb = StringBuilderCache.
Acquire
();
303
sb = StringBuilderCache.
Acquire
();
317
sb = StringBuilderCache.
Acquire
();