66 references to FastAllocateString
System.Private.CoreLib (66)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
868
string result = string.
FastAllocateString
(length * 3 - 1);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1949
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)
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\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)
1646
string result = string.
FastAllocateString
(bufferLength);
1701
string result = string.
FastAllocateString
(bufferLength);
1758
string result = string.
FastAllocateString
(bufferLength);
1966
string result = string.
FastAllocateString
(bufferLength);
1982
string result = string.
FastAllocateString
(bufferLength);
2086
string result = string.
FastAllocateString
(bufferLength);
2141
string result = string.
FastAllocateString
(bufferLength);
2214
string result = string.
FastAllocateString
(bufferLength);
2396
string result = string.
FastAllocateString
(bufferLength);
2414
string result = string.
FastAllocateString
(bufferLength);
2518
string result = string.
FastAllocateString
(bufferLength);
2577
string result = string.
FastAllocateString
(bufferLength);
2641
string result = string.
FastAllocateString
(bufferLength);
2762
string result = string.
FastAllocateString
(bufferLength);
2780
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)
90
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);
135
string result =
FastAllocateString
(count);
171
string result =
FastAllocateString
(length);
308
string result =
FastAllocateString
(count);
327
string result =
FastAllocateString
(value.Length);
354
string result =
FastAllocateString
(length);
412
string result =
FastAllocateString
(str.Length);
560
string s =
FastAllocateString
(stringLength);
576
string result =
FastAllocateString
(1);
583
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);
706
string result =
FastAllocateString
(newLength);
1066
string result =
FastAllocateString
(totalLength);
1131
string result =
FastAllocateString
(totalWidth);
1149
string result =
FastAllocateString
(totalWidth);
1170
string result =
FastAllocateString
(newLength);
1278
string result =
FastAllocateString
(Length);
1414
string dst =
FastAllocateString
((int)dstLength);
2341
string result =
FastAllocateString
(length);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
566
string result = string.
FastAllocateString
(bytes.Length);
596
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)
365
ret = string.
FastAllocateString
(0);