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 #364 from directhex/master
[mono.git]
/
mcs
/
class
/
System.Configuration
/
System.Configuration
/
ConfigurationPropertyCollection.cs
diff --git
a/mcs/class/System.Configuration/System.Configuration/ConfigurationPropertyCollection.cs
b/mcs/class/System.Configuration/System.Configuration/ConfigurationPropertyCollection.cs
index bbe44f45133bb4941f85dab8eb9c28fd3283c946..33dba87688bba8ab8648c12eeda9646a78b77993 100644
(file)
--- a/
mcs/class/System.Configuration/System.Configuration/ConfigurationPropertyCollection.cs
+++ b/
mcs/class/System.Configuration/System.Configuration/ConfigurationPropertyCollection.cs
@@
-66,6
+66,8
@@
namespace System.Configuration
public void Add (ConfigurationProperty property)
{
+ if (property == null)
+ throw new ArgumentNullException ("property");
collection.Add (property);
}