diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2013-06-06 10:24:30 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2013-06-06 10:24:30 +0400 |
commit | 529c7308d295464ac8afce51cfa174cec804fb10 (patch) | |
tree | c81411810bad73e6f710a9fae0be2a114e800b28 | |
parent | ef37d569739aefe3f2732611d0310cc141bdebea (diff) |
Revert "Added type forwarder API to the Module."
It's not needed.
This reverts commit ef37d569739aefe3f2732611d0310cc141bdebea.
-rw-r--r-- | reflect/Emit/ModuleBuilder.cs | 5 | ||||
-rw-r--r-- | reflect/Module.cs | 6 | ||||
-rw-r--r-- | reflect/Reader/ModuleReader.cs | 10 |
3 files changed, 0 insertions, 21 deletions
diff --git a/reflect/Emit/ModuleBuilder.cs b/reflect/Emit/ModuleBuilder.cs index 00663982..7e058929 100644 --- a/reflect/Emit/ModuleBuilder.cs +++ b/reflect/Emit/ModuleBuilder.cs @@ -1612,11 +1612,6 @@ namespace IKVM.Reflection.Emit throw new NotImplementedException(); } - public override Type[] __GetTypeForwarders () - { - throw new NotImplementedException (); - } - public int __AddModule(int flags, string name, byte[] hash) { FileTable.Record file = new FileTable.Record(); diff --git a/reflect/Module.cs b/reflect/Module.cs index 41a883d3..05829844 100644 --- a/reflect/Module.cs +++ b/reflect/Module.cs @@ -488,7 +488,6 @@ namespace IKVM.Reflection public abstract Type[] __GetReferencedTypes(); public abstract Type[] __GetExportedTypes(); - public abstract Type[] __GetTypeForwarders(); public virtual bool __IsMissing { @@ -646,11 +645,6 @@ namespace IKVM.Reflection throw NotSupportedException(); } - public override Type[] __GetTypeForwarders () - { - throw NotSupportedException(); - } - protected sealed override long GetImageBaseImpl() { throw NotSupportedException(); diff --git a/reflect/Reader/ModuleReader.cs b/reflect/Reader/ModuleReader.cs index 5c19834e..97c46e16 100644 --- a/reflect/Reader/ModuleReader.cs +++ b/reflect/Reader/ModuleReader.cs @@ -1109,16 +1109,6 @@ namespace IKVM.Reflection.Reader return arr; } - public override Type[] __GetTypeForwarders () - { - Type[] forwarded =new Type[forwardedTypes.Count]; - int i = 0; - foreach (var kv in forwardedTypes) { - forwarded [i++] = kv.Value.GetType (this); - } - return forwarded; - } - private Type ResolveExportedType(int index) { TypeName typeName = GetTypeName(ExportedType.records[index].TypeNamespace, ExportedType.records[index].TypeName); |