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)
1775string result = string.FastAllocateString(bufferLength); 1830string result = string.FastAllocateString(bufferLength); 1886string result = string.FastAllocateString(bufferLength); 2088string result = string.FastAllocateString(bufferLength); 2104string result = string.FastAllocateString(bufferLength); 2208string result = string.FastAllocateString(bufferLength); 2263string result = string.FastAllocateString(bufferLength); 2335string result = string.FastAllocateString(bufferLength); 2514string result = string.FastAllocateString(bufferLength); 2532string result = string.FastAllocateString(bufferLength); 2636string result = string.FastAllocateString(bufferLength); 2695string result = string.FastAllocateString(bufferLength); 2758string result = string.FastAllocateString(bufferLength); 2876string result = string.FastAllocateString(bufferLength); 2894string 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)
81string result = FastAllocateString(value.Length); 107string result = FastAllocateString(length); 133string result = FastAllocateString(count); 167string result = FastAllocateString(length); 297string result = FastAllocateString(count); 316string result = FastAllocateString(value.Length); 343string result = FastAllocateString(length); 401string result = FastAllocateString(str.Length); 548string s = FastAllocateString(stringLength); 564string result = FastAllocateString(1); 571string 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);