using System; using System.Runtime.InteropServices; #if !XAMCORE_2_0 #if MONOMAC using MonoMac.Foundation; using MonoMac.ObjCRuntime; #else using Foundation; using ObjCRuntime; #endif #else using Foundation; using ObjCRuntime; #endif namespace Test { [Protocol] public interface First { [Abstract] [Export ("doit:with:more:")] void DoIt (int a, int b, int c); } [Protocol] public interface Second { [Abstract] [Export ("doit:with:more:")] void DoIt (int a, int b, NSObject c); } [BaseType (typeof (NSObject))] public partial interface Derived : First, Second { } }