xamarin-macios/tests/generator/protocol-duplicate-method-d...

26 строки
450 B
C#

using System;
using System.Runtime.InteropServices;
using Foundation;
using ObjCRuntime;
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 {
}
}