https://bugzilla.novell.com/show_bug.cgi?id=640288
https://bugzilla.novell.com/show_bug.cgi?id=640288#c0 Summary: Missing ReflectionTypeLoadException Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- using System; using System.Reflection; using System.Reflection.Emit; class Program { static void Main () { AssemblyName asmname = new AssemblyName(); asmname.Name = "assemfilename.exe"; AssemblyBuilder asmbuild = System.Threading.Thread.GetDomain(). DefineDynamicAssembly(asmname, AssemblyBuilderAccess.RunAndSave); ModuleBuilder modbuild = asmbuild.DefineDynamicModule( "modulename", "assemfilename.exe" ); TypeBuilder typebuild1 = modbuild.DefineType( "typename" ); var t = asmbuild.GetTypes(); } } Mono: nothing NET System.Reflection.ReflectionTypeLoadException: Unable to lo ad one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Program.Main() This is more serious than it looks like, we return original TypeBuilder which returns some unexpectedly different values than Type under this circumstances -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
