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)
932string str = string.FastAllocateString(FormatSLength); 939string str = string.FastAllocateString(FormatInvariantGMinLength); 958string str = string.FastAllocateString(FormatInvariantGMaxLength); 984str = string.FastAllocateString(FormatRLength); 991str = string.FastAllocateString(FormatSLength); 998str = string.FastAllocateString(FormatuLength); 1018str = 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)
1864string result = string.FastAllocateString(bufferLength); 1919string result = string.FastAllocateString(bufferLength); 1975string result = string.FastAllocateString(bufferLength); 2177string result = string.FastAllocateString(bufferLength); 2193string result = string.FastAllocateString(bufferLength); 2297string result = string.FastAllocateString(bufferLength); 2352string result = string.FastAllocateString(bufferLength); 2424string result = string.FastAllocateString(bufferLength); 2603string result = string.FastAllocateString(bufferLength); 2621string result = string.FastAllocateString(bufferLength); 2725string result = string.FastAllocateString(bufferLength); 2784string result = string.FastAllocateString(bufferLength); 2847string result = string.FastAllocateString(bufferLength); 2965string result = string.FastAllocateString(bufferLength); 2983string 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); 1154string result = FastAllocateString(totalWidth); 1172string result = FastAllocateString(totalWidth); 1193string result = FastAllocateString(newLength); 1301string result = FastAllocateString(Length); 1437string dst = FastAllocateString((int)dstLength); 2558string result = FastAllocateString(length); 2655string 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);