66 references to FastAllocateString
System.Private.CoreLib (66)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
868string result = string.FastAllocateString(length * 3 - 1);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1949result = 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)
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\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1249string guidString = string.FastAllocateString(guidSize);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (15)
1646string result = string.FastAllocateString(bufferLength); 1701string result = string.FastAllocateString(bufferLength); 1758string result = string.FastAllocateString(bufferLength); 1966string result = string.FastAllocateString(bufferLength); 1982string result = string.FastAllocateString(bufferLength); 2086string result = string.FastAllocateString(bufferLength); 2141string result = string.FastAllocateString(bufferLength); 2214string result = string.FastAllocateString(bufferLength); 2396string result = string.FastAllocateString(bufferLength); 2414string result = string.FastAllocateString(bufferLength); 2518string result = string.FastAllocateString(bufferLength); 2577string result = string.FastAllocateString(bufferLength); 2641string result = string.FastAllocateString(bufferLength); 2762string result = string.FastAllocateString(bufferLength); 2780string result = string.FastAllocateString(bufferLength);
src\libraries\System.Private.CoreLib\src\System\Random.cs (1)
399string destination = string.FastAllocateString(length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
90string upperCase = string.FastAllocateString(value.Length);
src\libraries\System.Private.CoreLib\src\System\String.cs (11)
81string result = FastAllocateString(value.Length); 107string result = FastAllocateString(length); 135string result = FastAllocateString(count); 171string result = FastAllocateString(length); 308string result = FastAllocateString(count); 327string result = FastAllocateString(value.Length); 354string result = FastAllocateString(length); 412string result = FastAllocateString(str.Length); 560string s = FastAllocateString(stringLength); 576string result = FastAllocateString(1); 583string 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); 706string result = FastAllocateString(newLength); 1066string result = FastAllocateString(totalLength); 1131string result = FastAllocateString(totalWidth); 1149string result = FastAllocateString(totalWidth); 1170string result = FastAllocateString(newLength); 1278string result = FastAllocateString(Length); 1414string dst = FastAllocateString((int)dstLength); 2341string result = FastAllocateString(length);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (2)
566string result = string.FastAllocateString(bytes.Length); 596string result = string.FastAllocateString(count);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
324string result = string.FastAllocateString(Length); 373string result = string.FastAllocateString(length);
src\System\StubHelpers.cs (1)
365ret = string.FastAllocateString(0);