Slide 23
Slide 23 text
MethodTable
MethodTable
Slot MethodDesc
0 MethodA(0x1)
1 MethodB(0x2)
2 MethodA(0x1)
3 MethodB(0x2)
4 MethodC(0x2)
interface IA { void MethodA(); void MethodB(); }
interface IB { void MethodA(); void MethodB(); }
class C : IA, IB
{
public void MethodA() { }
public void MethodB() { }
public void MethodC() { }
}
InterfaceVTableMap
Interface MTSlot
IA 0
IB 2