projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #899 from UCIS/patch-4
[mono.git]
/
mcs
/
class
/
System
/
System.Collections.Generic
/
Stack.cs
diff --git
a/mcs/class/System/System.Collections.Generic/Stack.cs
b/mcs/class/System/System.Collections.Generic/Stack.cs
index 6791738d441a70636eb165154f6498a2c5a79bca..4a693549b5f6c8636fd2824a3590b6bbf22d17b8 100644
(file)
--- a/
mcs/class/System/System.Collections.Generic/Stack.cs
+++ b/
mcs/class/System/System.Collections.Generic/Stack.cs
@@
-166,7
+166,7
@@
namespace System.Collections.Generic
{
try {
if (_array != null) {
-
_array.CopyTo (dest, idx
);
+
Array.Copy (_array, 0, dest, idx, _size
);
Array.Reverse (dest, idx, _size);
}
} catch (ArrayTypeMismatchException) {