xamarin-macios/tests/generator/bug35176.cs

29 строки
530 B
C#

using System;
using MonoTouch.UIKit;
using MonoTouch.ObjCRuntime;
using MonoTouch.Foundation;
namespace Bug35176 {
[Introduced (PlatformName.iOS, 8,0)]
[Introduced (PlatformName.MacOSX, 10,10)]
[Protocol]
interface FooInterface {
[Abstract]
[Export ("fooView")]
UIView FooView { get; set; }
[Export ("BarView")]
UIView BarView { [Introduced (PlatformName.iOS, 9,0)] get; }
[Export ("barMember:")]
UIView GetBarMember (int x);
}
[BaseType (typeof (NSObject))]
interface BarObject : FooInterface
{
}
}