diff --git a/src/externalaccessory.cs b/src/externalaccessory.cs index 282bc7bd881c..c3ab3baefad9 100644 --- a/src/externalaccessory.cs +++ b/src/externalaccessory.cs @@ -184,7 +184,7 @@ interface IEAWiFiUnconfiguredAccessoryBrowserDelegate {} #else [BaseType (typeof (NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(EAWiFiUnconfiguredAccessoryBrowserDelegate)})] #endif -#if XAMCORE_4_0 +#if NET // There's a designated initializer, which leads to think that the default ctor // should not be used (documentation says nothing). [DisableDefaultCtor]