xamarin-macios/tests/generator/bug31788.cs

30 строки
640 B
C#
Исходник Обычный вид История

2016-05-26 16:06:52 +03:00
#if !XAMCORE_2_0
using MonoMac.Foundation;
#else
using Foundation;
#endif
namespace Test
{
[BaseType (typeof (NSObject))]
interface SimServiceConnectionManager {}
// Both these should produce the same output,
// both calling xamarin_IntPtr_objc_msgSend
[BaseType (typeof (NSObject))]
interface MarshalOnProperty
{
[Static]
[Export ("sharedConnectionManager")]
[MarshalNativeExceptions]
SimServiceConnectionManager Shared { get; }
}
[BaseType (typeof (NSObject))]
interface MarshalInProperty
{
[Static]
[Export ("sharedConnectionManager")]
SimServiceConnectionManager Shared { [MarshalNativeExceptions]get; }
}
}