using System; using System.Runtime.InteropServices; using Foundation; namespace AudioUnit { // @interface AUParameterNode : NSObject [BaseType (typeof(NSObject))] interface AUParameterNode { } // @interface AUParameterGroup : AUParameterNode [BaseType (typeof(AUParameterNode))] interface AUParameterGroup : INSSecureCoding { [Export ("allParameters")] AUParameter[] AllParameters { get; } } // @interface AUParameter : AUParameterNode [BaseType (typeof(AUParameterNode))] interface AUParameter : INSSecureCoding { } // Commenting this out "fixes" the problem [BaseType (typeof(NSObject))] interface AudioUnit { } }