diff options
author | allydonaldson <unknown> | 2013-04-30 15:36:09 +0100 |
---|---|---|
committer | allydonaldson <unknown> | 2013-04-30 15:36:09 +0100 |
commit | 89c7d4c339f58dc9ec39b14b0b2a4120f2689322 (patch) | |
tree | 4a22b414e8a17fa68a34279280142120fc1b203d /Source/Core/PureCollections.cs | |
parent | 98cab336f54799e105af45d06ec60e29cfca4fd5 (diff) |
Staged Houdini
Diffstat (limited to 'Source/Core/PureCollections.cs')
-rw-r--r-- | Source/Core/PureCollections.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/PureCollections.cs b/Source/Core/PureCollections.cs index 15a6c629..f984ecd4 100644 --- a/Source/Core/PureCollections.cs +++ b/Source/Core/PureCollections.cs @@ -569,7 +569,7 @@ namespace PureCollections { object[] n = new object[card];
int ct = 0;
Contract.Assert(this.elems != null);
- for (int i = 0; i < elems.Length; i++)
+ for (int i = 0; i < card; i++)
n[ct++] = elems[i];
return n;
}
|