66 references to FastAllocateString
System.Private.CoreLib (66)
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
868
string result = string.
FastAllocateString
(length * 3 - 1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1949
result = string.
FastAllocateString
(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (1)
151
string result = string.
FastAllocateString
(length);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IcuLocaleData.cs (1)
3863
string result = string.
FastAllocateString
(buffer.Length);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (3)
342
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
364
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
401
string result = string.
FastAllocateString
(s.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1247
string guidString = string.
FastAllocateString
(guidSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1646
string result = string.
FastAllocateString
(bufferLength);
1701
string result = string.
FastAllocateString
(bufferLength);
1757
string result = string.
FastAllocateString
(bufferLength);
1959
string result = string.
FastAllocateString
(bufferLength);
1975
string result = string.
FastAllocateString
(bufferLength);
2079
string result = string.
FastAllocateString
(bufferLength);
2134
string result = string.
FastAllocateString
(bufferLength);
2206
string result = string.
FastAllocateString
(bufferLength);
2385
string result = string.
FastAllocateString
(bufferLength);
2403
string result = string.
FastAllocateString
(bufferLength);
2507
string result = string.
FastAllocateString
(bufferLength);
2566
string result = string.
FastAllocateString
(bufferLength);
2629
string result = string.
FastAllocateString
(bufferLength);
2747
string result = string.
FastAllocateString
(bufferLength);
2765
string result = string.
FastAllocateString
(bufferLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
693
string destination = string.
FastAllocateString
(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
90
string upperCase = string.
FastAllocateString
(value.Length);
src\runtime\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\runtime\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);
708
string result =
FastAllocateString
(newLength);
1068
string result =
FastAllocateString
(totalLength);
1133
string result =
FastAllocateString
(totalWidth);
1151
string result =
FastAllocateString
(totalWidth);
1172
string result =
FastAllocateString
(newLength);
1280
string result =
FastAllocateString
(Length);
1416
string dst =
FastAllocateString
((int)dstLength);
2347
string result =
FastAllocateString
(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
557
string result = string.
FastAllocateString
(bytes.Length);
587
string result = string.
FastAllocateString
(count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
324
string result = string.
FastAllocateString
(Length);
373
string result = string.
FastAllocateString
(length);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
394
result = string.
FastAllocateString
(lenUnicode);