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

◆ ToBuilder()

Definition at line 1628 of file ImmutableArray.cs.

1629 {
1630 ImmutableArray<T> items = this;
1631 if (items.Length == 0)
1632 {
1633 return new Builder();
1634 }
1635 Builder builder = new Builder(items.Length);
1636 builder.AddRange(items);
1637 return builder;
1638 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)

References System.Collections.Generic.Dictionary< TKey, TValue >.AddRange().