interface Base1 { void foo(in short aNumber); }; interface Base2 { void foo(in long aNumber); }; interface Derived : Base1, Base2 { void bar(); };