Permalink
Browse files

Fixed issue where dynamic interface implementation assembly was being…

… saved
  • Loading branch information...
1 parent 945b3e0 commit a58e5fb611748428ce731437390e105a97b393ae @phatboyg committed Nov 28, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/Magnum/Reflection/InterfaceImplementationBuilder.cs
@@ -155,14 +155,11 @@ static void GetModuleBuilderForType(Type typeToProxy, Action<ModuleBuilder> call
AssemblyBuilder assemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName(assemblyName),
- AssemblyBuilderAccess.RunAndSave);
-
+ AssemblyBuilderAccess.Run);
ModuleBuilder moduleBuilder = assemblyBuilder.DefineDynamicModule(assemblyName);
callback(moduleBuilder);
-
- assemblyBuilder.Save(assemblyName + ".dll");
}
}
}

0 comments on commit a58e5fb

Please sign in to comment.