67 references to FastAllocateString
System.Private.CoreLib (67)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
815
string result = string.
FastAllocateString
(length * 3 - 1);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2358
string result = string.
FastAllocateString
(outputLength);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1948
result = string.
FastAllocateString
(length);
src\libraries\System.Private.CoreLib\src\System\Exception.cs (1)
151
string result = string.
FastAllocateString
(length);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (6)
932
string str = string.
FastAllocateString
(FormatSLength);
939
string str = string.
FastAllocateString
(FormatInvariantGMinLength);
958
string str = string.
FastAllocateString
(FormatInvariantGMaxLength);
984
str = string.
FastAllocateString
(FormatRLength);
991
str = string.
FastAllocateString
(FormatSLength);
998
str = string.
FastAllocateString
(FormatuLength);
src\libraries\System.Private.CoreLib\src\System\Globalization\IcuLocaleData.cs (1)
3863
string result = string.
FastAllocateString
(buffer.Length);
src\libraries\System.Private.CoreLib\src\System\Globalization\InvariantModeCasing.cs (2)
56
string result = string.
FastAllocateString
(s.Length);
102
string result = string.
FastAllocateString
(s.Length);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (3)
349
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
371
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
408
string result = string.
FastAllocateString
(s.Length);
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1249
string guidString = string.
FastAllocateString
(guidSize);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1434
string result = string.
FastAllocateString
(bufferLength);
1489
string result = string.
FastAllocateString
(bufferLength);
1545
string result = string.
FastAllocateString
(bufferLength);
1747
string result = string.
FastAllocateString
(bufferLength);
1763
string result = string.
FastAllocateString
(bufferLength);
1867
string result = string.
FastAllocateString
(bufferLength);
1922
string result = string.
FastAllocateString
(bufferLength);
1994
string result = string.
FastAllocateString
(bufferLength);
2173
string result = string.
FastAllocateString
(bufferLength);
2191
string result = string.
FastAllocateString
(bufferLength);
2295
string result = string.
FastAllocateString
(bufferLength);
2354
string result = string.
FastAllocateString
(bufferLength);
2417
string result = string.
FastAllocateString
(bufferLength);
2535
string result = string.
FastAllocateString
(bufferLength);
2553
string result = string.
FastAllocateString
(bufferLength);
src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
399
string destination = string.
FastAllocateString
(length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
89
string upperCase = string.
FastAllocateString
(value.Length);
src\libraries\System.Private.CoreLib\src\System\String.cs (11)
81
string result =
FastAllocateString
(value.Length);
107
string result =
FastAllocateString
(length);
133
string result =
FastAllocateString
(count);
167
string result =
FastAllocateString
(length);
297
string result =
FastAllocateString
(count);
316
string result =
FastAllocateString
(value.Length);
343
string result =
FastAllocateString
(length);
401
string result =
FastAllocateString
(str.Length);
548
string s =
FastAllocateString
(stringLength);
564
string result =
FastAllocateString
(1);
571
string result =
FastAllocateString
(2);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (17)
131
string result =
FastAllocateString
(totalLength);
207
string result =
FastAllocateString
(totalLength);
240
string result =
FastAllocateString
((int)totalLength);
278
string result =
FastAllocateString
((int)totalLength);
295
string result =
FastAllocateString
(length);
312
string result =
FastAllocateString
(length);
334
string result =
FastAllocateString
(length);
359
string result =
FastAllocateString
(length);
429
string result =
FastAllocateString
(totalLength);
710
string result =
FastAllocateString
(newLength);
1070
string result =
FastAllocateString
(totalLength);
1135
string result =
FastAllocateString
(totalWidth);
1153
string result =
FastAllocateString
(totalWidth);
1174
string result =
FastAllocateString
(newLength);
1282
string result =
FastAllocateString
(Length);
1418
string dst =
FastAllocateString
((int)dstLength);
2345
string result =
FastAllocateString
(length);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
556
string result = string.
FastAllocateString
(bytes.Length);
586
string result = string.
FastAllocateString
(count);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
324
string result = string.
FastAllocateString
(Length);
373
string result = string.
FastAllocateString
(length);
src\System\StubHelpers.cs (1)
348
ret = string.
FastAllocateString
(0);