Bug 17680 - EKRecurranceRule does not allow us to pass null for EKRecurrenceEnd parameter
Summary: EKRecurranceRule does not allow us to pass null for EKRecurrenceEnd parameter
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 7.0.6.x
Hardware: PC Mac OS
: --- normal
Target Milestone: 7.2.1
Assignee: Bugzilla
Depends on:
Reported: 2014-02-10 04:57 UTC by Prashant Cholachagudda
Modified: 2014-03-21 03:21 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Test Application (8.71 KB, application/zip)
2014-03-21 03:21 UTC, Shruti

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Prashant Cholachagudda 2014-02-10 04:57:14 UTC
As per Apple documentation we can pass nil to EKRecurranceRule constructor-
"An event which is set to never end should have its EKRecurrenceEnd set to nil."

However when we pass null to EKRecurranceRule X.iOS throws ArgumentNullException

    var er = new EKRecurrenceRule (EKRecurrenceFrequency.Daily, 1, null);
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-02-10 09:31:05 UTC

monotouch/master: 081afa0739cdfe447c79137dc97315e4dd137179
Comment 3 Shruti 2014-03-21 03:21:08 UTC
Created attachment 6371 [details]
Test Application

I have verified this fix by creating a sample test application. I have included syntax in test application mentioned in description code. It is working fine. I have attached sample application for reference.

Environment Info:
XS 4.2.4 (build 32) 

Hence, Closing this issue.