[Mono-bugs] [Bug 377324] New: MethodBase.GetMethodFromHandle is missing argumet checks
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Apr 4 11:48:19 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list