diff options
author | jfrijters <jfrijters> | 2011-03-21 10:09:46 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-21 10:09:46 +0300 |
commit | 1d75ea1fe94cc5e83be22e097fa4b1776047db03 (patch) | |
tree | ed41cd5c3c7c5bc8724507595618748f323b86c7 /reflect/Emit | |
parent | cafe630d580bf6e8c1115629cbcd568dd1cd8b1e (diff) |
Only fixup pseudo-assembly reference tokens in ExportedType table.
Diffstat (limited to 'reflect/Emit')
-rw-r--r-- | reflect/Emit/ModuleBuilder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/Emit/ModuleBuilder.cs b/reflect/Emit/ModuleBuilder.cs index 2f1a009e..bcdbe64a 100644 --- a/reflect/Emit/ModuleBuilder.cs +++ b/reflect/Emit/ModuleBuilder.cs @@ -698,7 +698,7 @@ namespace IKVM.Reflection.Emit for (int i = 0; i < this.ExportedType.records.Length; i++) { int implementation = this.ExportedType.records[i].Implementation; - if ((implementation >> 24) == AssemblyRefTable.Index) + if ((implementation & 0x7F800000) == 0x23800000) { this.ExportedType.records[i].Implementation = realtokens[(implementation & 0x7FFFFF) - 1]; } |