https://bugzilla.novell.com/show_bug.cgi?id=648725
https://bugzilla.novell.com/show_bug.cgi?id=648725#c0 Summary: GetGenericArguments is loading to aggressively 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: --- compile & run (dependant dll attached) using System; using System.Collections.Generic; using System.Reflection; class Program { static void Main (string[] args) { var a = Assembly.LoadFrom ("bug-0-lib.dll"); var t = a.GetType ("A`1"); t.GetGenericArguments (); } } NET <no error> Mono Could not load file or assembly 'bug-1-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Unhandled Exception: System.TypeLoadException: Could not load type 'A`1[T]' from assembly 'bug-0-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at (wrapper managed-to-native) System.MonoType:GetGenericArguments (System.MonoType*) at ConsoleApplication38.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 -- 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
