Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Valdy <francois.valdy@gmail.com>2015-05-31 13:22:34 +0300
committerFrancois Valdy <francois.valdy@gmail.com>2015-05-31 13:31:21 +0300
commit8517b47152608c6276bb4824572a51fca29f3247 (patch)
tree97358ff5ed7479708bbb69aaec6edb03fdc2c44d
parent8ec7fc8e16c25869ba430ac1c2218adc7201d264 (diff)
Remove unnecessary clear call
- already done in Shift
-rw-r--r--Mono.Collections.Generic/Collection.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mono.Collections.Generic/Collection.cs b/Mono.Collections.Generic/Collection.cs
index 46f2abd..015d271 100644
--- a/Mono.Collections.Generic/Collection.cs
+++ b/Mono.Collections.Generic/Collection.cs
@@ -161,7 +161,6 @@ namespace Mono.Collections.Generic {
OnRemove (item, index);
Shift (index, -1);
- Array.Clear (items, size, 1);
version++;
}
@@ -174,7 +173,6 @@ namespace Mono.Collections.Generic {
OnRemove (item, index);
Shift (index, -1);
- Array.Clear (items, size, 1);
version++;
return true;