projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* CodeParameterDeclarationExpressionCollection.cs: Use CollectionBase
[mono.git]
/
mcs
/
class
/
System
/
System.CodeDom
/
CodeStatementCollection.cs
diff --git
a/mcs/class/System/System.CodeDom/CodeStatementCollection.cs
b/mcs/class/System/System.CodeDom/CodeStatementCollection.cs
index 11a41280641c9003b9ed6d3f4ab97eaee6abac24..3183b588ecf658d131194e871e44c85bf31668b7 100644
(file)
--- a/
mcs/class/System/System.CodeDom/CodeStatementCollection.cs
+++ b/
mcs/class/System/System.CodeDom/CodeStatementCollection.cs
@@
-127,10
+127,7
@@
namespace System.CodeDom
public void Remove (CodeStatement 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);
}
}
}