projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc8c405
)
Fix bug #699182, List indexer doesn't increment version
author
Jb Evain
<jbevain@gmail.com>
Fri, 10 Jun 2011 09:11:23 +0000
(11:11 +0200)
committer
Jb Evain
<jbevain@gmail.com>
Fri, 10 Jun 2011 09:11:56 +0000
(11:11 +0200)
mcs/class/corlib/System.Collections.Generic/List.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Collections.Generic/List.cs
b/mcs/class/corlib/System.Collections.Generic/List.cs
index 7646b777ba77533e9f093590931c67355afa362c..5b413e95064fd1aebc7365105ba496807e08a52d 100644
(file)
--- a/
mcs/class/corlib/System.Collections.Generic/List.cs
+++ b/
mcs/class/corlib/System.Collections.Generic/List.cs
@@
-637,6
+637,7
@@
namespace System.Collections.Generic {
if ((uint) index == (uint) _size)
throw new ArgumentOutOfRangeException ("index");
_items [index] = value;
+ _version++;
}
}