2016-05-26 16:06:52 +03:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
#if !XAMCORE_2_0
|
|
|
|
#if MONOMAC
|
|
|
|
using MonoMac.Foundation;
|
|
|
|
using MonoMac.ObjCRuntime;
|
|
|
|
#else
|
2017-02-22 18:47:11 +03:00
|
|
|
using Foundation;
|
|
|
|
using ObjCRuntime;
|
2016-05-26 16:06:52 +03:00
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
using Foundation;
|
|
|
|
using ObjCRuntime;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace Test
|
|
|
|
{
|
|
|
|
[Protocol]
|
|
|
|
public interface First
|
|
|
|
{
|
|
|
|
[Abstract]
|
|
|
|
[Export ("doit:with:more:stuff")]
|
|
|
|
void DoIt (int a, int b, int c);
|
|
|
|
}
|
|
|
|
|
|
|
|
[Protocol]
|
|
|
|
public interface Second {
|
|
|
|
[Abstract]
|
|
|
|
[Export ("doit:with:more:stuff")]
|
|
|
|
bool DoIt (int a, int b, int c);
|
|
|
|
}
|
|
|
|
|
|
|
|
[BaseType (typeof (NSObject))]
|
|
|
|
public partial interface Derived : First, Second {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|