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

◆ FillStringChecked()

static void System.String.FillStringChecked ( string dest,
int destPos,
string src )
inlinestaticprivate

Definition at line 1560 of file String.cs.

1561 {
1562 if (src.Length > dest.Length - destPos)
1563 {
1564 throw new IndexOutOfRangeException();
1565 }
1566 Buffer.Memmove(ref Unsafe.Add(ref dest._firstChar, destPos), ref src._firstChar, (uint)src.Length);
1567 }

References System.Buffer.Memmove().

Referenced by System.String.Concat(), System.String.Concat(), System.String.Concat(), System.String.Concat(), System.String.Concat(), and System.String.JoinCore().