* ConfigurationPropertyCollection.cs, PropertyInformation.cs:
add null check to detect bogus configuration early.
+2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ConfigurationPropertyCollection.cs, PropertyInformation.cs:
+ add null check to detect bogus configuration early.
+
2010-01-09 Marek Habersack <mhabersack@novell.com>
* ConfigurationLocation.cs: trailing / characters are removed from
public void Add (ConfigurationProperty property)
{
+ if (property == null)
+ throw new ArgumentNullException ("property");
collection.Add (property);
}
internal PropertyInformation (ConfigurationElement owner, ConfigurationProperty property)
{
+ if (owner == null)
+ throw new ArgumentNullException ("owner");
+ if (property == null)
+ throw new ArgumentNullException ("property");
this.owner = owner;
this.property = property;
}