projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New test.
[mono.git]
/
mcs
/
class
/
System
/
System.CodeDom
/
CodeExpressionCollection.cs
diff --git
a/mcs/class/System/System.CodeDom/CodeExpressionCollection.cs
b/mcs/class/System/System.CodeDom/CodeExpressionCollection.cs
index e79609b924c7f95f511f3c52af911769bee03c82..7a1f19f60ab85f5655f87c74c154baa39c1ab146 100644
(file)
--- a/
mcs/class/System/System.CodeDom/CodeExpressionCollection.cs
+++ b/
mcs/class/System/System.CodeDom/CodeExpressionCollection.cs
@@
-122,10
+122,7
@@
namespace System.CodeDom
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);
}
}
}