23 строки
331 B
C#
23 строки
331 B
C#
|
using System;
|
||
|
#if XAMCORE_2_0
|
||
|
using Foundation;
|
||
|
#else
|
||
|
using MonoMac.Foundation;
|
||
|
#endif
|
||
|
|
||
|
namespace nowarnTests {
|
||
|
|
||
|
[Category]
|
||
|
[BaseType (typeof (FooObject))]
|
||
|
interface FooObject_Extensions {
|
||
|
|
||
|
[Static]
|
||
|
[Export ("someMethod:")]
|
||
|
bool SomeMethod (NSRange range);
|
||
|
}
|
||
|
|
||
|
[BaseType (typeof (NSObject))]
|
||
|
interface FooObject {
|
||
|
|
||
|
}
|
||
|
}
|