67 references to FastAllocateString
System.Private.CoreLib (67)
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 (7)
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);
1018
str = string.
FastAllocateString
(FormatInvariantGMinLength);
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)
369
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
391
string result = string.
FastAllocateString
(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count
428
string result = string.
FastAllocateString
(s.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1248
string guidString = string.
FastAllocateString
(guidSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1775
string result = string.
FastAllocateString
(bufferLength);
1830
string result = string.
FastAllocateString
(bufferLength);
1886
string result = string.
FastAllocateString
(bufferLength);
2088
string result = string.
FastAllocateString
(bufferLength);
2104
string result = string.
FastAllocateString
(bufferLength);
2208
string result = string.
FastAllocateString
(bufferLength);
2263
string result = string.
FastAllocateString
(bufferLength);
2335
string result = string.
FastAllocateString
(bufferLength);
2514
string result = string.
FastAllocateString
(bufferLength);
2532
string result = string.
FastAllocateString
(bufferLength);
2636
string result = string.
FastAllocateString
(bufferLength);
2695
string result = string.
FastAllocateString
(bufferLength);
2758
string result = string.
FastAllocateString
(bufferLength);
2876
string result = string.
FastAllocateString
(bufferLength);
2894
string result = string.
FastAllocateString
(bufferLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
687
string destination = string.
FastAllocateString
(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 (18)
142
string result =
FastAllocateString
(totalLength);
228
string result =
FastAllocateString
(totalLength);
261
string result =
FastAllocateString
((int)totalLength);
299
string result =
FastAllocateString
((int)totalLength);
316
string result =
FastAllocateString
(length);
333
string result =
FastAllocateString
(length);
355
string result =
FastAllocateString
(length);
380
string result =
FastAllocateString
(length);
450
string result =
FastAllocateString
(totalLength);
729
string result =
FastAllocateString
(newLength);
1089
string result =
FastAllocateString
(totalLength);
1154
string result =
FastAllocateString
(totalWidth);
1172
string result =
FastAllocateString
(totalWidth);
1193
string result =
FastAllocateString
(newLength);
1301
string result =
FastAllocateString
(Length);
1437
string dst =
FastAllocateString
((int)dstLength);
2558
string result =
FastAllocateString
(length);
2655
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);