diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/ArraySegment.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/ArraySegment.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/ArraySegment.cs b/src/System.Private.CoreLib/shared/System/ArraySegment.cs index 3a13595e8..b2bd41780 100644 --- a/src/System.Private.CoreLib/shared/System/ArraySegment.cs +++ b/src/System.Private.CoreLib/shared/System/ArraySegment.cs @@ -131,7 +131,7 @@ namespace System System.Array.Copy(_array, _offset, destination._array, destination._offset, _count); } - public override bool Equals(Object obj) + public override bool Equals(object obj) { if (obj is ArraySegment<T>) return Equals((ArraySegment<T>)obj); @@ -289,7 +289,7 @@ namespace System bool ICollection<T>.Remove(T item) { ThrowHelper.ThrowNotSupportedException(); - return default(bool); + return default; } #endregion |