66 references to FastAllocateString
System.Private.CoreLib (66)
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 (6)
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);
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)
342string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 364string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 401string result = string.FastAllocateString(s.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1247string guidString = string.FastAllocateString(guidSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1646string result = string.FastAllocateString(bufferLength); 1701string result = string.FastAllocateString(bufferLength); 1757string result = string.FastAllocateString(bufferLength); 1959string result = string.FastAllocateString(bufferLength); 1975string result = string.FastAllocateString(bufferLength); 2079string result = string.FastAllocateString(bufferLength); 2134string result = string.FastAllocateString(bufferLength); 2206string result = string.FastAllocateString(bufferLength); 2385string result = string.FastAllocateString(bufferLength); 2403string result = string.FastAllocateString(bufferLength); 2507string result = string.FastAllocateString(bufferLength); 2566string result = string.FastAllocateString(bufferLength); 2629string result = string.FastAllocateString(bufferLength); 2747string result = string.FastAllocateString(bufferLength); 2765string result = string.FastAllocateString(bufferLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
693string destination = string.FastAllocateString(length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
90string upperCase = string.FastAllocateString(value.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 (17)
131string result = FastAllocateString(totalLength); 207string result = FastAllocateString(totalLength); 240string result = FastAllocateString((int)totalLength); 278string result = FastAllocateString((int)totalLength); 295string result = FastAllocateString(length); 312string result = FastAllocateString(length); 334string result = FastAllocateString(length); 359string result = FastAllocateString(length); 429string result = FastAllocateString(totalLength); 708string result = FastAllocateString(newLength); 1068string result = FastAllocateString(totalLength); 1133string result = FastAllocateString(totalWidth); 1151string result = FastAllocateString(totalWidth); 1172string result = FastAllocateString(newLength); 1280string result = FastAllocateString(Length); 1416string dst = FastAllocateString((int)dstLength); 2347string 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);