[runtime] Default Interface Method support (#4625)
authorZoltan Varga <vargaz@gmail.com>
Mon, 3 Apr 2017 14:42:07 +0000 (10:42 -0400)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2017 14:42:07 +0000 (10:42 -0400)
commitce2a8fcad1b69163fb4686cd607cdd9471518c32
tree817e1417b434a5d8f529815362b0f958627d5067
parent0568203e32b2ce7a746b1e73f55610b6488f761c
[runtime] Default Interface Method support (#4625)

* [runtime] Add support for the simplest case of default interfaces, where the default method is used.

* [runtime] Implement overriding of default interface methods in interfaces.

* [jit] Fix gshared support for default interface methods, they require an mrgctx since the this argument doesn't point to the implementing class, not the interface.
mono/metadata/class.c
mono/mini/method-to-ir.c
mono/mini/mini-generic-sharing.c