https://bugzilla.novell.com/show_bug.cgi?id=479763

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=479763#c1





--- Comment #1 from David Mitchell <[email protected]>  2009-02-26 11:19:45 
MST ---
I just noticed that the stacktraces for 2.2 and svn head are slightly
different; Here's 2.2:

Unhandled Exception: System.ArgumentException: method arguments are
incompatible
  at System.Delegate.CreateDelegate (System.Type type, System.Object
firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure)
[0x00000] 
  at System.Delegate.CreateDelegate (System.Type type, System.Object
firstArgument, System.Reflection.MethodInfo method) [0x00000] 
  at Foo.AddHandler[Object] (System.String target) [0x00000] 
  at Program.Main () [0x00000]

and here's svn head:

Unhandled Exception: System.ArgumentException: method arguments are
incompatible
  at System.Delegate.CreateDelegate (System.Type type, System.Object
firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure)
[0x00000] 
  at System.Delegate.CreateDelegate (System.Type type, System.Object
firstArgument, System.Reflection.MethodInfo method) [0x00000] 
  at Foo.AddHandler[Type] (System.String target) [0x00000] 
  at Program.Main () [0x00000]

You'll notice that 2.2 reports the generic parameter of AddHandler as [Object],
while svn head reports it as [Type]. I have no idea as to whether or not that
is significant/useful.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to