throw new ArgumentNullException ("value");
}
- for (int i = 0; i < value.Count; i++) {
+ int count = value.Count;
+ for (int i = 0; i < count; i++) {
Add (value[i]);
}
}
public void Remove( CodeExpression value )
{
- int index = IndexOf( value );
- if ( index < 0 )
- throw( new ArgumentException( "The specified object is not found in the collection" ) );
- RemoveAt( index );
+ List.Remove (value);
}
}
}