Bug 12205

Summary: MethodInfo.ReflectedType returns declaring type for generic base classes
Product: [Mono] Runtime Reporter: GordonML <gordonml>
Component: ReflectionAssignee: Aleksey Kliger <aleksey>
Severity: major CC: aleksey, masafa, mono-bugs+mono, mono-bugs+runtime
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: A test file which exposes the bug

Description GordonML 2013-05-11 08:28:40 UTC
Created attachment 3950 [details]
A test file which exposes the bug

When calling GetMethod() on a derived class which has a generic base class, returned MethodInfo objects will have the wrong ReflectedType for inherited members, i.e. it returns the declaring type.
Comment 1 Aleksey Kliger 2017-07-14 19:21:28 UTC
Fixed by de74da81bf0b94e4c594abea19f9b737ac012005 back in January 2016 (So... mono 4.6.0 onwards).  Not sure why this is still open.