https://bugzilla.novell.com/show_bug.cgi?id=377324
Summary: MethodBase.GetMethodFromHandle is missing argumet checks
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
1. When MethodBase.GetMethodFromHandle (handle) is used with generic method,
the ArgumentException is expected.
This is the output from Microsoft.NET
System.ArgumentException: Cannot resolve method Void .ctor(Int32) because the
declaring type of the method handle
System.Collections.Generic.Dictionary`2[TKey,TValue] is generic. Explicitly
provide the declaring type to GetMethodFromHandle
2. Also MSDN documentation say something like ArgumentException when "handle is
invalid"
--
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