You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@@ -178,7 +178,7 @@ namespace System.Collections.Generic {
|
||||
get {
|
||||
// Following trick can reduce the range check by one
|
||||
if ((uint) index >= (uint)_size) {
|
||||
ThrowHelper.ThrowArgumentOutOfRangeException();
|
||||
ThrowHelper.ThrowArgumentOutOfRange_IndexException();
|
||||
}
|
||||
Contract.EndContractBlock();
|
||||
#if MONO
|
||||
@@ -190,7 +190,7 @@ namespace System.Collections.Generic {
|
||||
|
||||
set {
|
||||
if ((uint) index >= (uint)_size) {
|
||||
ThrowHelper.ThrowArgumentOutOfRangeException();
|
||||
ThrowHelper.ThrowArgumentOutOfRange_IndexException();
|
||||
}
|
||||
Contract.EndContractBlock();
|
||||
_items[index] = value;
|
||||
@@ -883,7 +883,7 @@ namespace System.Collections.Generic {
|
||||
//
|
||||
public void RemoveAt(int index) {
|
||||
if ((uint)index >= (uint)_size) {
|
||||
ThrowHelper.ThrowArgumentOutOfRangeException();
|
||||
ThrowHelper.ThrowArgumentOutOfRange_IndexException();
|
||||
}
|
||||
Contract.EndContractBlock();
|
||||
_size--;
|
||||
|
||||
Reference in New Issue
Block a user