[class] Short circuit collect_implemented_interfaces_aux on gparams
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 20 Sep 2017 21:34:59 +0000 (17:34 -0400)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Mon, 25 Sep 2017 20:57:17 +0000 (16:57 -0400)
commit2d7b258eb95f64552d3118af545397003dcebfd6
tree43d8d68b53e52a46b5501ece1d4bc0c14634d1db
parent3cfd40cccecd8ee2e8c3ed6c34d90dcbeccec195
[class] Short circuit collect_implemented_interfaces_aux on gparams

and also setup_interface_offsets.

A gparam is never a real interface so we can just short circuit
if we see a gparam during interface collection.  (A gparam may be instantiated
with an interface --- but ginst interface offsets are processed anew when the
ginst is initialized in mono_class_init, not somehow extracted from the gtd and
the MonoGenericContext).
mono/metadata/class.c