protected void AddRange(object[] items)
{
if (items == null)
{
throw new ArgumentNullException("items");
}
if (items.Length != 0)
{
foreach (object obj2 in items)
{
this.OnValidate(obj2, true);
}
int count = base.InnerList.Count;
base.InnerList.AddRange(items);
try
{
this.OnItemsAdded(count, items);
}
catch
{
base.InnerList.RemoveRange(count, items.Length);
throw;
}
}
}