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)
1864
string result = string.
FastAllocateString
(bufferLength);
1919
string result = string.
FastAllocateString
(bufferLength);
1975
string result = string.
FastAllocateString
(bufferLength);
2177
string result = string.
FastAllocateString
(bufferLength);
2193
string result = string.
FastAllocateString
(bufferLength);
2297
string result = string.
FastAllocateString
(bufferLength);
2352
string result = string.
FastAllocateString
(bufferLength);
2424
string result = string.
FastAllocateString
(bufferLength);
2603
string result = string.
FastAllocateString
(bufferLength);
2621
string result = string.
FastAllocateString
(bufferLength);
2725
string result = string.
FastAllocateString
(bufferLength);
2784
string result = string.
FastAllocateString
(bufferLength);
2847
string result = string.
FastAllocateString
(bufferLength);
2965
string result = string.
FastAllocateString
(bufferLength);
2983
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)
82
string result =
FastAllocateString
(value.Length);
109
string result =
FastAllocateString
(length);
135
string result =
FastAllocateString
(count);
169
string result =
FastAllocateString
(length);
300
string result =
FastAllocateString
(count);
320
string result =
FastAllocateString
(value.Length);
347
string result =
FastAllocateString
(length);
405
string result =
FastAllocateString
(str.Length);
552
string s =
FastAllocateString
(stringLength);
568
string result =
FastAllocateString
(1);
575
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);