Skip to content

Commit

Permalink
Inherit from IReadOnlyList<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
ds5678 committed May 18, 2024
1 parent 74779de commit 59e4614
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private protected static bool ThrowImmutableLength()
throw new NotSupportedException("Arrays have immutable length");
}
}
public abstract class Il2CppArrayBase<T> : Il2CppArrayBase, IList<T>
public abstract class Il2CppArrayBase<T> : Il2CppArrayBase, IList<T>, IReadOnlyList<T>
{
protected Il2CppArrayBase(IntPtr pointer) : base(pointer)
{
Expand Down

0 comments on commit 59e4614

Please sign in to comment.