Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AppendJoinCore< T >() [1/2]

unsafe StringBuilder System.Text.StringBuilder.AppendJoinCore< T > ( char * separator,
int separatorLength,
IEnumerable< T > values )
inlineprivate

Definition at line 1284 of file StringBuilder.cs.

1285 {
1286 if (values == null)
1287 {
1288 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.values);
1289 }
1291 if (!enumerator.MoveNext())
1292 {
1293 return this;
1294 }
1295 T current = enumerator.Current;
1296 if (current != null)
1297 {
1298 Append(current.ToString());
1299 }
1300 while (enumerator.MoveNext())
1301 {
1303 current = enumerator.Current;
1304 if (current != null)
1305 {
1306 Append(current.ToString());
1307 }
1308 }
1309 return this;
1310 }
StringBuilder Append(char value, int repeatCount)

References System.Text.StringBuilder.Append(), System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator(), System.ThrowHelper.ThrowArgumentNullException(), and System.values.