92 references to Append
System.Private.CoreLib (92)
src\runtime\src\libraries\Common\src\System\Number.Formatting.Common.cs (28)
740
vlb.
Append
(TChar.CastFrom((char)adjustDigits[i]));
755
vlb.
Append
(TChar.CastFrom('0'));
792
vlb.
Append
(TChar.CastFrom(ch));
898
vlb.
Append
(TChar.CastFrom(ch));
918
vlb.
Append
(TChar.CastFrom(ch));
923
vlb.
Append
(TChar.CastFrom(format[src++]));
928
vlb.
Append
(TChar.CastFrom(format[src++]));
979
vlb.
Append
(TChar.CastFrom(ch));
1085
vlb.
Append
(TChar.CastFrom((char)d));
1091
vlb.
Append
(TChar.CastFrom('0'));
1098
vlb.
Append
(TChar.CastFrom('0'));
1109
vlb.
Append
(TChar.CastFrom('0'));
1118
vlb.
Append
(TChar.CastFrom((char)d));
1123
vlb.
Append
(TChar.CastFrom('0'));
1138
vlb.
Append
(TChar.CastFrom(ch));
1161
vlb.
Append
(TChar.CastFrom(highSurrogate));
1162
vlb.
Append
(TChar.CastFrom(lowSurrogate));
1190
vlb.
Append
(TChar.CastFrom(ch));
1204
vlb.
Append
(TChar.CastFrom(!dig.IsEmpty ? (char)dig[0] : '0'));
1217
vlb.
Append
(TChar.CastFrom((char)b));
1223
vlb.
Append
(TChar.CastFrom('0'));
1234
vlb.
Append
(TChar.CastFrom(expChar));
1281
vlb.
Append
(TChar.CastFrom((char)b));
1285
vlb.
Append
(TChar.CastFrom('0'));
1291
vlb.
Append
(TChar.CastFrom('0'));
1300
vlb.
Append
(TChar.CastFrom('0'));
1306
vlb.
Append
(TChar.CastFrom((char)b));
1341
vlb.
Append
(TChar.CastFrom(ch));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (9)
173
outputBuffer.
Append
(TChar.CreateTruncating(value + '0'));
789
result.
Append
(TChar.CastFrom(ch));
880
result.
Append
(TChar.CastFrom('+'));
884
result.
Append
(TChar.CastFrom('-'));
894
result.
Append
(TChar.CastFrom('0' + tens));
896
result.
Append
(TChar.CastFrom('0' + ones));
932
result.
Append
(TChar.CastFrom('Z'));
941
result.
Append
(TChar.CastFrom('+'));
945
result.
Append
(TChar.CastFrom('-'));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewNumber.cs (3)
208
outputBuffer.
Append
(TChar.CastFrom('"'));
209
outputBuffer.
Append
(last);
216
outputBuffer.
Append
(TChar.CastFrom('"'));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
220
builder.
Append
(str.Length - remaining.Length); // a new extended grapheme cluster begins at this offset
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
322
stackDir.
Append
(fullPath.Length);
353
stackDir.
Append
(mkdirPath.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (18)
432
vlb.
Append
(TChar.CastFrom((digitCount != 0) ? (char)dig[0] : '0'));
440
vlb.
Append
(TChar.CastFrom((char)dig[i]));
456
vlb.
Append
(TChar.CastFrom((i < digitCount) ? (char)dig[i] : '0'));
461
vlb.
Append
(TChar.CastFrom('0'));
470
vlb.
Append
(TChar.CastFrom('0'));
475
vlb.
Append
(TChar.CastFrom((char)dig[i]));
731
vlb.
Append
(TChar.CastFrom('0'));
732
vlb.
Append
(TChar.CastFrom(fmt));
739
vlb.
Append
(TChar.CastFrom('0'));
748
vlb.
Append
(TChar.CastFrom(fmt == 'X' ? 'P' : 'p'));
749
vlb.
Append
(TChar.CastFrom('+'));
750
vlb.
Append
(TChar.CastFrom('0'));
801
vlb.
Append
(TChar.CastFrom((char)('0' + leadingDigit)));
858
vlb.
Append
(TChar.CastFrom(fmt == 'X' ? HexConverter.ToCharUpper((int)(shifted >> 60)) : HexConverter.ToCharLower((int)(shifted >> 60))));
889
vlb.
Append
(TChar.CastFrom(fmt == 'X' ? HexConverter.ToCharUpper((int)(shifted >> 60)) : HexConverter.ToCharLower((int)(shifted >> 60))));
899
vlb.
Append
(TChar.CastFrom(fmt == 'X' ? 'P' : 'p'));
903
vlb.
Append
(TChar.CastFrom('+'));
907
vlb.
Append
(TChar.CastFrom('-'));
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickBuilder.cs (7)
67
_nodes.
Append
(new AhoCorasickNode());
68
_parents.
Append
(0);
83
_nodes.
Append
(new AhoCorasickNode());
84
_parents.
Append
(nodeIndex);
207
startingChars.
Append
(char.ToLowerInvariant(c));
208
startingChars.
Append
(char.ToUpperInvariant(c));
212
startingChars.
Append
(c);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (21)
1381
replacementIndices.
Append
(i + pos);
1394
replacementIndices.
Append
(i + pos);
1410
replacementIndices.
Append
(i + pos);
2069
sepListBuilder.
Append
(i);
2092
sepListBuilder.
Append
(i);
2108
sepListBuilder.
Append
(i);
2160
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2166
sepListBuilder.
Append
(baseIndex + (int)bitPos + Vector512<ushort>.Count);
2196
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2216
sepListBuilder.
Append
(finalIndex + (int)bitPos);
2255
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2261
sepListBuilder.
Append
(baseIndex + (int)bitPos + Vector256<ushort>.Count);
2291
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2311
sepListBuilder.
Append
(finalIndex + (int)bitPos);
2350
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2356
sepListBuilder.
Append
(baseIndex + (int)bitPos + Vector128<ushort>.Count);
2386
sepListBuilder.
Append
(baseIndex + (int)bitPos);
2406
sepListBuilder.
Append
(finalIndex + (int)bitPos);
2436
sepListBuilder.
Append
(i);
2468
sepListBuilder.
Append
(i);
2469
lengthListBuilder.
Append
(currentSepLength);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
2168
replacements.
Append
(indexInChunk);
2203
replacements.
Append
(indexInChunk);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
6126
builder.
Append
(task);