collection = new List <ConfigurationProperty> ();
}
- public virtual int Count {
+ public int Count {
get { return collection.Count; }
}
public void Add (ConfigurationProperty property)
{
+ if (property == null)
+ throw new ArgumentNullException ("property");
collection.Add (property);
}