projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git]
/
mcs
/
class
/
System
/
System.Collections.Generic
/
SortedDictionary.cs
diff --git
a/mcs/class/System/System.Collections.Generic/SortedDictionary.cs
b/mcs/class/System/System.Collections.Generic/SortedDictionary.cs
index eb036e90e60d71dc25ad3ba45230aa5e877c509d..8efe18faaa06e3c3273ceb465619f94a3cf25ba1 100644
(file)
--- a/
mcs/class/System/System.Collections.Generic/SortedDictionary.cs
+++ b/
mcs/class/System/System.Collections.Generic/SortedDictionary.cs
@@
-414,6
+414,9
@@
namespace System.Collections.Generic
public ValueCollection (SortedDictionary<TKey,TValue> dictionary)
{
+ if (dictionary == null)
+ throw new ArgumentNullException ("dictionary");
+
_dic = dictionary;
}