diff options
author | jbevain <jbevain@gmail.com> | 2011-02-22 17:01:52 +0300 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2011-02-22 17:01:52 +0300 |
commit | 650d1f49431fbd390f469e1a91e6d451689b7bb2 (patch) | |
tree | f3d0c9663f37a443b158cc2a75261184903a5420 /Mono.Cecil | |
parent | 595db9a468c99c7094db417a9daf2b65045ea4c5 (diff) |
Specify collection size
Diffstat (limited to 'Mono.Cecil')
-rw-r--r-- | Mono.Cecil/AssemblyDefinition.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Cecil/AssemblyDefinition.cs b/Mono.Cecil/AssemblyDefinition.cs index bb757d3..3d3948b 100644 --- a/Mono.Cecil/AssemblyDefinition.cs +++ b/Mono.Cecil/AssemblyDefinition.cs @@ -64,7 +64,7 @@ namespace Mono.Cecil { if (main_module.HasImage) return modules = main_module.Read (this, (_, reader) => reader.ReadModules ()); - return modules = new Collection<ModuleDefinition> { main_module }; + return modules = new Collection<ModuleDefinition> (1) { main_module }; } } |