We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f201a8 commit 29a3bdcCopy full SHA for 29a3bdc
1 file changed
Ramstack.Structures/Collections/ArrayView`1.cs
@@ -81,6 +81,9 @@ public ArrayView(T[] array, int index)
81
[MethodImpl(MethodImplOptions.AggressiveInlining)]
82
public ArrayView(T[] array, int index, int length)
83
{
84
+ //
85
+ // https://github.com/dotnet/runtime/issues/119689
86
87
if ((uint)index > (uint)array.Length || (uint)length > (uint)(array.Length - index))
88
ThrowHelper.ThrowArgumentOutOfRangeException();
89
0 commit comments