diff options
author | jbevain <jbevain@gmail.com> | 2011-04-04 16:48:31 +0400 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2011-04-04 16:48:31 +0400 |
commit | a81852a1d3465b85b2c46a3a9e827dec36c86a04 (patch) | |
tree | 4305bd2c99fdfe77330a568489ef646b900fb7ed /Mono.Cecil | |
parent | 2a13db75f167aba2f112481f93f842be028ddb57 (diff) |
Remove unecessary factory method
Diffstat (limited to 'Mono.Cecil')
-rw-r--r-- | Mono.Cecil/AssemblyReader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Cecil/AssemblyReader.cs b/Mono.Cecil/AssemblyReader.cs index 300c110..5cb2e0f 100644 --- a/Mono.Cecil/AssemblyReader.cs +++ b/Mono.Cecil/AssemblyReader.cs @@ -374,7 +374,7 @@ namespace Mono.Cecil { this.image = module.Image; this.module = module; this.metadata = module.MetadataSystem; - this.code = CodeReader.CreateCodeReader (this); + this.code = new CodeReader (image.MetadataSection, this); } int GetCodedIndexSize (CodedIndex index) |