Skip to content

Commit

Permalink
Ensure binary compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ds5678 committed Jun 29, 2024
1 parent 59e4614 commit 4e04eb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Il2CppInterop.Runtime/InteropTypes/Arrays/Il2CppArrayBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ public void CopyTo(T[] array, int arrayIndex)
bool ICollection<T>.Remove(T item)
{
return ThrowImmutableLength();
}

}

public new int Length => base.Length;// For binary compatibility
public int Count => Length;
bool ICollection<T>.IsReadOnly => false;

Expand Down

0 comments on commit 4e04eb2

Please sign in to comment.