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

◆ Insert() [16/20]

unsafe StringBuilder System.Text.StringBuilder.Insert ( int index,
string? value )
inline

Definition at line 1337 of file StringBuilder.cs.

1338 {
1339 if ((uint)index > (uint)Length)
1340 {
1341 throw new ArgumentOutOfRangeException("index", SR.ArgumentOutOfRange_Index);
1342 }
1343 if (value != null)
1344 {
1345 fixed (char* value2 = value)
1346 {
1347 Insert(index, value2, value.Length);
1348 }
1349 }
1350 return this;
1351 }

References System.SR.ArgumentOutOfRange_Index, System.Runtime.Serialization.Dictionary, System.index, System.Insert, System.Text.StringBuilder.Length, and System.value.