public void EndSheet(Cocoa.Window sheet) { if (sheet == null) throw new ArgumentNullException ("sheet"); ObjCMessaging.objc_msgSend (NativeObject, "endSheet:", typeof (void), typeof (System.IntPtr), sheet.NativeObject); }