67 references to FastAllocateString
System.Private.CoreLib (67)
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
868string result = string.FastAllocateString(length * 3 - 1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1949result = string.FastAllocateString(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (1)
151string result = string.FastAllocateString(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (7)
992string str = string.FastAllocateString(FormatSLength); 999string str = string.FastAllocateString(FormatInvariantGMinLength); 1018string str = string.FastAllocateString(FormatInvariantGMaxLength); 1044str = string.FastAllocateString(FormatRLength); 1051str = string.FastAllocateString(FormatSLength); 1058str = string.FastAllocateString(FormatuLength); 1078str = string.FastAllocateString(FormatInvariantGMinLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IcuLocaleData.cs (1)
3863string result = string.FastAllocateString(buffer.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\InvariantModeCasing.cs (2)
56string result = string.FastAllocateString(s.Length); 102string result = string.FastAllocateString(s.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (3)
369string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 391string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 428string result = string.FastAllocateString(s.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1248string guidString = string.FastAllocateString(guidSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1812string result = string.FastAllocateString(bufferLength); 1851string result = string.FastAllocateString(bufferLength); 1899string result = string.FastAllocateString(bufferLength); 2006string result = string.FastAllocateString(bufferLength); 2018string result = string.FastAllocateString(bufferLength); 2102string result = string.FastAllocateString(bufferLength); 2141string result = string.FastAllocateString(bufferLength); 2205string result = string.FastAllocateString(bufferLength); 2399string result = string.FastAllocateString(bufferLength); 2413string result = string.FastAllocateString(bufferLength); 2504string result = string.FastAllocateString(bufferLength); 2547string result = string.FastAllocateString(bufferLength); 2602string result = string.FastAllocateString(bufferLength); 2731string result = string.FastAllocateString(bufferLength); 2745string result = string.FastAllocateString(bufferLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
687string destination = string.FastAllocateString(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (11)
82string result = FastAllocateString(value.Length); 109string result = FastAllocateString(length); 135string result = FastAllocateString(count); 169string result = FastAllocateString(length); 300string result = FastAllocateString(count); 320string result = FastAllocateString(value.Length); 347string result = FastAllocateString(length); 405string result = FastAllocateString(str.Length); 552string s = FastAllocateString(stringLength); 568string result = FastAllocateString(1); 575string result = FastAllocateString(2);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (18)
142string result = FastAllocateString(totalLength); 228string result = FastAllocateString(totalLength); 261string result = FastAllocateString((int)totalLength); 299string result = FastAllocateString((int)totalLength); 316string result = FastAllocateString(length); 333string result = FastAllocateString(length); 355string result = FastAllocateString(length); 380string result = FastAllocateString(length); 450string result = FastAllocateString(totalLength); 729string result = FastAllocateString(newLength); 1089string result = FastAllocateString(totalLength); 1156string result = FastAllocateString(totalWidth); 1174string result = FastAllocateString(totalWidth); 1195string result = FastAllocateString(newLength); 1303string result = FastAllocateString(Length); 1439string dst = FastAllocateString((int)dstLength); 2560string result = FastAllocateString(length); 2657string result = FastAllocateString(Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
557string result = string.FastAllocateString(bytes.Length); 587string result = string.FastAllocateString(count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
324string result = string.FastAllocateString(Length); 373string result = string.FastAllocateString(length);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
394result = string.FastAllocateString(lenUnicode);