xamarin-macios/tests/generator/bug35176.cs

34 строки
609 B
C#

using System;
using UIKit;
using ObjCRuntime;
using Foundation;
namespace Bug35176 {
[Introduced (PlatformName.iOS, 14, 3)]
[Introduced (PlatformName.MacOSX, 11, 2)]
[Introduced (PlatformName.MacCatalyst, 14, 3)]
[Protocol]
interface FooInterface {
[Abstract]
[Export ("fooView")]
UIView FooView { get; set; }
[Export ("BarView")]
UIView BarView {
[Introduced (PlatformName.iOS, 14, 4)]
[Introduced (PlatformName.MacCatalyst, 14, 4)]
get;
}
[Export ("barMember:")]
UIView GetBarMember (int x);
}
[BaseType (typeof (NSObject))]
interface BarObject : FooInterface {
}
}