52 references to FastAllocateString
System.Private.CoreLib (52)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
801string 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\Guid.cs (1)
1179string guidString = string.FastAllocateString(guidSize);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1392string result = string.FastAllocateString(bufferLength); 1447string result = string.FastAllocateString(bufferLength); 1503string result = string.FastAllocateString(bufferLength); 1705string result = string.FastAllocateString(bufferLength); 1721string result = string.FastAllocateString(bufferLength); 1825string result = string.FastAllocateString(bufferLength); 1880string result = string.FastAllocateString(bufferLength); 1952string result = string.FastAllocateString(bufferLength); 2131string result = string.FastAllocateString(bufferLength); 2149string result = string.FastAllocateString(bufferLength); 2253string result = string.FastAllocateString(bufferLength); 2312string result = string.FastAllocateString(bufferLength); 2375string result = string.FastAllocateString(bufferLength); 2493string result = string.FastAllocateString(bufferLength); 2511string result = string.FastAllocateString(bufferLength);
src\libraries\System.Private.CoreLib\src\System\String.cs (5)
81string result = FastAllocateString(value.Length); 107string result = FastAllocateString(length); 133string result = FastAllocateString(count); 167string result = FastAllocateString(length); 297string result = FastAllocateString(count);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (16)
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); 1418string dst = FastAllocateString((int)dstLength); 2287string 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)
313ret = string.FastAllocateString(0);