Skip to content

Commit

Permalink
Return exceptions that match test case System.NotImplementedException…
Browse files Browse the repository at this point in the history
… --> Xamarin.Essentials.NotImplementedInReferenceAssemblyException (#45)
  • Loading branch information
ScottBTR authored and nickrandolph committed Dec 5, 2019
1 parent 8224c6e commit a5a8a8c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ namespace Xamarin.Essentials
{
public static partial class Calendar
{
static Task<IEnumerable<DeviceCalendar>> PlatformGetCalendarsAsync() => throw new NotImplementedException();
static Task<IEnumerable<DeviceCalendar>> PlatformGetCalendarsAsync() => throw ExceptionUtils.NotSupportedOrImplementedException;

static Task<IEnumerable<DeviceEvent>> PlatformGetEventsAsync(string calendarId = null, DateTimeOffset? startDate = null, DateTimeOffset? endDate = null) => throw new NotImplementedException();
static Task<IEnumerable<DeviceEvent>> PlatformGetEventsAsync(string calendarId = null, DateTimeOffset? startDate = null, DateTimeOffset? endDate = null) => throw ExceptionUtils.NotSupportedOrImplementedException;

static Task<DeviceEvent> PlatformGetEventByIdAsync(string eventId) => throw new NotImplementedException();
static Task<DeviceEvent> PlatformGetEventByIdAsync(string eventId) => throw ExceptionUtils.NotSupportedOrImplementedException;
}
}

0 comments on commit a5a8a8c

Please sign in to comment.