[verifier] Do method visibility checks for virtual final methods. Enable type visibil...
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 14 Apr 2016 00:41:20 +0000 (17:41 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 20 Apr 2016 15:37:58 +0000 (08:37 -0700)
commit24ee5b8db0ab3115f88dcef72432568e3c1b8e83
treee4d8227f702245e45f4a0196590a9d67d737bf09
parent6f7c5bdf4ece2a9d6fa0992ea7d93d797a660961
[verifier] Do method visibility checks for virtual final methods. Enable type visibility for all methods. Fixes #5644.

I cannot repro the issue mentioned in the comments of mono_method_can_access_method.

* FIXME:
* with generics calls to explicit interface implementations can be expressed
* directly: the method is private, but we must allow it. This may be opening
* a hole or the generics code should handle this differently.
* Maybe just ensure the interface type is public.
mcs/class/corlib/Test/System/DelegateTest.cs
mono/metadata/class.c