Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/Intents/INCompat.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Compatibility stubs

#if XAMCORE_2_0 && IOS

using System;
using XamCore.Foundation;
using XamCore.ObjCRuntime;

namespace XamCore.Intents {

#if !XAMCORE_4_0
public partial class INRideDriver {

[Obsolete ("This constructor does not create a valid instance of the type")]
public INRideDriver () : base (NSObjectFlag.Empty)
{
}
}

public partial class INRideStatus {

[Obsolete ("This constructor does not create a valid instance of the type")]
public INRideStatus ()
{
}
}
#endif
}
#endif
1 change: 1 addition & 0 deletions src/frameworks.sources
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ IMAGEKIT_CORE_SOURCES = \
# Intents

INTENTS_SOURCES = \
Intents/INCompat.cs \
Intents/INIntentResolutionResult.cs \
Intents/INPriceRange.cs \
Intents/INRideOption.cs \
Expand Down