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

◆ ToImmutableArray< TSource >() [1/2]

static ImmutableArray< TSource > System.Collections.Immutable.ImmutableArray< T >.ToImmutableArray< TSource > ( this IEnumerable< TSource > items)
inlinestatic

Definition at line 185 of file ImmutableArray.cs.

186 {
187 if (items is ImmutableArray<TSource>)
188 {
189 return (ImmutableArray<TSource>)(object)items;
190 }
191 return CreateRange(items);
192 }