52 references to FastAllocateString
System.Private.CoreLib (52)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
801
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\Guid.cs (1)
1179
string guidString = string.
FastAllocateString
(guidSize);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1392
string result = string.
FastAllocateString
(bufferLength);
1447
string result = string.
FastAllocateString
(bufferLength);
1503
string result = string.
FastAllocateString
(bufferLength);
1705
string result = string.
FastAllocateString
(bufferLength);
1721
string result = string.
FastAllocateString
(bufferLength);
1825
string result = string.
FastAllocateString
(bufferLength);
1880
string result = string.
FastAllocateString
(bufferLength);
1952
string result = string.
FastAllocateString
(bufferLength);
2131
string result = string.
FastAllocateString
(bufferLength);
2149
string result = string.
FastAllocateString
(bufferLength);
2253
string result = string.
FastAllocateString
(bufferLength);
2312
string result = string.
FastAllocateString
(bufferLength);
2375
string result = string.
FastAllocateString
(bufferLength);
2493
string result = string.
FastAllocateString
(bufferLength);
2511
string result = string.
FastAllocateString
(bufferLength);
src\libraries\System.Private.CoreLib\src\System\String.cs (5)
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);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (16)
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);
1418
string dst =
FastAllocateString
((int)dstLength);
2287
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)
322
string result = string.
FastAllocateString
(Length);
371
string result = string.
FastAllocateString
(length);
src\System\StubHelpers.cs (1)
313
ret = string.
FastAllocateString
(0);