Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Implement slicing APIs for ArraySegment<T> #9926

Merged
merged 8 commits into from
Apr 10, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove redundant explicit implementation
  • Loading branch information
jamesqo committed Apr 9, 2017
commit e870fc0a261f449a9e7f7a9937a1047d2c1c5d48
2 changes: 0 additions & 2 deletions src/mscorlib/src/System/ArraySegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,6 @@ bool ICollection<T>.Contains(T item)
return index >= 0;
}

void ICollection<T>.CopyTo(T[] array, int arrayIndex) => CopyTo(array, arrayIndex);

bool ICollection<T>.Remove(T item)
{
ThrowHelper.ThrowNotSupportedException();
Expand Down