Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbevain <jbevain@gmail.com>2011-04-04 16:48:31 +0400
committerjbevain <jbevain@gmail.com>2011-04-04 16:48:31 +0400
commita81852a1d3465b85b2c46a3a9e827dec36c86a04 (patch)
tree4305bd2c99fdfe77330a568489ef646b900fb7ed /Mono.Cecil
parent2a13db75f167aba2f112481f93f842be028ddb57 (diff)
Remove unecessary factory method
Diffstat (limited to 'Mono.Cecil')
-rw-r--r--Mono.Cecil/AssemblyReader.cs2
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)