Merge pull request #364 from directhex/master
[mono.git] / mcs / class / System.Configuration / System.Configuration / ConfigurationPropertyCollection.cs
index bbe44f45133bb4941f85dab8eb9c28fd3283c946..33dba87688bba8ab8648c12eeda9646a78b77993 100644 (file)
@@ -66,6 +66,8 @@ namespace System.Configuration
 
                public void Add (ConfigurationProperty property)
                {
+                       if (property == null)
+                               throw new ArgumentNullException ("property");
                        collection.Add (property);
                }