67 references to FastAllocateString
System.Private.CoreLib (67)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
814string result = string.FastAllocateString(length * 3 - 1);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2358string result = string.FastAllocateString(outputLength);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1948result = string.FastAllocateString(length);
src\libraries\System.Private.CoreLib\src\System\Exception.cs (1)
151string result = string.FastAllocateString(length);
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\libraries\System.Private.CoreLib\src\System\Globalization\IcuLocaleData.cs (1)
3863string result = string.FastAllocateString(buffer.Length);
src\libraries\System.Private.CoreLib\src\System\Globalization\InvariantModeCasing.cs (2)
56string result = string.FastAllocateString(s.Length); 102string result = string.FastAllocateString(s.Length);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (3)
327string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 344string result = string.FastAllocateString(source.Length); // changing case uses simple folding: doesn't change UTF-16 code unit count 378string result = string.FastAllocateString(s.Length);
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1236string guidString = string.FastAllocateString(guidSize);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1385string result = string.FastAllocateString(bufferLength); 1440string result = string.FastAllocateString(bufferLength); 1496string result = string.FastAllocateString(bufferLength); 1698string result = string.FastAllocateString(bufferLength); 1714string result = string.FastAllocateString(bufferLength); 1818string result = string.FastAllocateString(bufferLength); 1873string result = string.FastAllocateString(bufferLength); 1945string result = string.FastAllocateString(bufferLength); 2124string result = string.FastAllocateString(bufferLength); 2142string result = string.FastAllocateString(bufferLength); 2246string result = string.FastAllocateString(bufferLength); 2305string result = string.FastAllocateString(bufferLength); 2368string result = string.FastAllocateString(bufferLength); 2486string result = string.FastAllocateString(bufferLength); 2504string result = string.FastAllocateString(bufferLength);
src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
401string destination = string.FastAllocateString(length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
89string upperCase = string.FastAllocateString(value.Length);
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\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); 710string result = FastAllocateString(newLength); 1070string result = FastAllocateString(totalLength); 1135string result = FastAllocateString(totalWidth); 1153string result = FastAllocateString(totalWidth); 1174string result = FastAllocateString(newLength); 1282string result = FastAllocateString(Length); 1418string dst = FastAllocateString((int)dstLength); 2284string result = FastAllocateString(length);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
556string result = string.FastAllocateString(bytes.Length); 586string result = string.FastAllocateString(count);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
322string result = string.FastAllocateString(Length); 371string result = string.FastAllocateString(length);
src\System\StubHelpers.cs (1)
314ret = string.FastAllocateString(0);