Skip to content

Commit

Permalink
addon
Browse files Browse the repository at this point in the history
  • Loading branch information
andreakarasho committed Feb 25, 2024
1 parent 8aba07e commit f04cada
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DotnetAddons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ public static void Sort<T>(this Span<T> span, IComparer<T> comparer)
}
}

public static System.Collections.Immutable.ImmutableArray<TSource> ToImmutableArray<TSource>(this IEnumerable<TSource> items)
{
return System.Collections.Immutable.ImmutableArray.CreateRange(items);
}
// public static System.Collections.Immutable.ImmutableArray<TSource> ToImmutableArray<TSource>(this IEnumerable<TSource> items)
// {
// return System.Collections.Immutable.ImmutableArray.CreateRange(items);
// }
}
#endif
1 change: 1 addition & 0 deletions src/TinyEcs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<ItemGroup>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit f04cada

Please sign in to comment.