You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.86
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
This commit is contained in:
parent
92747312ea
commit
0b380204a4
@ -104,7 +104,9 @@ namespace Mono.Collections.Generic {
|
||||
if (capacity < 0)
|
||||
throw new ArgumentOutOfRangeException ();
|
||||
|
||||
items = new T [capacity];
|
||||
items = capacity == 0
|
||||
? Empty<T>.Array
|
||||
: new T [capacity];
|
||||
}
|
||||
|
||||
public Collection (ICollection<T> items)
|
||||
|
Reference in New Issue
Block a user