diff --git a/src/intents.cs b/src/intents.cs index 31eb2b06f8..9da0503f4e 100644 --- a/src/intents.cs +++ b/src/intents.cs @@ -4597,7 +4597,6 @@ namespace Intents { [Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction instead.")] [MacCatalyst (13, 1)] [Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:")] - [DesignatedInitializer] NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType); [Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction instead.")] @@ -6852,7 +6851,7 @@ namespace Intents { [DesignatedInitializer] NativeHandle Constructor ([NullAllowed] INPerson [] recipients, INOutgoingMessageType outgoingMessageType, [NullAllowed] string content, [NullAllowed] INSpeakableString speakableGroupName, [NullAllowed] string conversationIdentifier, [NullAllowed] string serviceName, [NullAllowed] INPerson sender, [NullAllowed] INSendMessageAttachment [] attachments); - [Deprecated (PlatformName.MacOSX, 12, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] + [Deprecated (PlatformName.MacOSX, 11, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [Deprecated (PlatformName.WatchOS, 7, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [Deprecated (PlatformName.iOS, 14, 0, message: "Use '.ctor (INPerson[], INOutgoingMessageType, string, INSpeakableString, string, string, INPerson, INSendMessageAttachment[])' instead.")] [MacCatalyst (13, 1)] @@ -10142,6 +10141,7 @@ namespace Intents { [Deprecated (PlatformName.iOS, 14, 5, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")] [Deprecated (PlatformName.MacCatalyst, 14, 5, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")] [Deprecated (PlatformName.WatchOS, 7, 4, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")] + [Deprecated (PlatformName.MacOSX, 11, 3, message: "Use '.ctor (string, NSDate, INCallRecordType, INCallCapability, double?, bool?, int?)' instead.")] [Watch (6, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [Export ("initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls:")] @@ -15848,7 +15848,7 @@ namespace Intents { void ConfirmUnsendMessages (INUnsendMessagesIntent intent, Action completion); } - [Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac] + [Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), Mac (15, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface INMessageReaction : NSCopying, NSSecureCoding { @@ -15866,7 +15866,7 @@ namespace Intents { string Emoji { get; } } - [Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac] + [Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), Mac (15, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface INSticker : NSCopying, NSSecureCoding { diff --git a/tests/cecil-tests/ApiAvailabilityTest.cs b/tests/cecil-tests/ApiAvailabilityTest.cs index f4408b2cde..77e3662944 100644 --- a/tests/cecil-tests/ApiAvailabilityTest.cs +++ b/tests/cecil-tests/ApiAvailabilityTest.cs @@ -176,7 +176,6 @@ namespace Cecil.Tests { "HealthKit.HKWorkoutEvent.Create(HealthKit.HKWorkoutEventType, Foundation.NSDate)", "HomeKit.HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HomeKit.HMSignificantEvent, Foundation.NSDateComponents)", "HomeKit.HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HomeKit.HMSignificantEvent, Foundation.NSDateComponents)", - "Intents.INCallRecord..ctor(System.String, Foundation.NSDate, Intents.INPerson, Intents.INCallRecordType, Intents.INCallCapability, System.Nullable`1, System.Nullable`1, System.Nullable`1)", "Intents.INCallRecordType Intents.INStartCallIntent::RecordTypeForRedialing()", "Intents.INCarChargingConnectorType Intents.INCarChargingConnectorType::Tesla", "Intents.INSetClimateSettingsInCarIntent..ctor(System.Nullable`1, System.Nullable`1, System.Nullable`1, System.Nullable`1, Intents.INCarAirCirculationMode, Foundation.NSNumber, Foundation.NSNumber, Intents.INRelativeSetting, Foundation.NSMeasurement`1, Intents.INRelativeSetting, Intents.INCarSeat)", diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Intents.todo deleted file mode 100644 index d42189b1fb..0000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Intents.todo +++ /dev/null @@ -1 +0,0 @@ -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo deleted file mode 100644 index d42189b1fb..0000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Intents.todo +++ /dev/null @@ -1 +0,0 @@ -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo deleted file mode 100644 index 18d7329315..0000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Intents.todo +++ /dev/null @@ -1,10 +0,0 @@ -!deprecated-attribute-missing! INCallRecord::initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls: missing a [Deprecated] attribute -!missing-selector! INMessageReaction::emoji not bound -!missing-selector! INMessageReaction::initWithReactionType:reactionDescription:emoji: not bound -!missing-selector! INMessageReaction::reactionDescription not bound -!missing-selector! INMessageReaction::reactionType not bound -!missing-selector! INSticker::emoji not bound -!missing-selector! INSticker::initWithType:emoji: not bound -!missing-selector! INSticker::type not bound -!missing-type! INMessageReaction not bound -!missing-type! INSticker not bound diff --git a/tests/xtro-sharpie/iOS-Intents.todo b/tests/xtro-sharpie/iOS-Intents.todo deleted file mode 100644 index d42189b1fb..0000000000 --- a/tests/xtro-sharpie/iOS-Intents.todo +++ /dev/null @@ -1 +0,0 @@ -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute diff --git a/tests/xtro-sharpie/macOS-Intents.todo b/tests/xtro-sharpie/macOS-Intents.todo deleted file mode 100644 index 2d4f2ef588..0000000000 --- a/tests/xtro-sharpie/macOS-Intents.todo +++ /dev/null @@ -1,11 +0,0 @@ -!deprecated-attribute-missing! INCallRecord::initWithIdentifier:dateCreated:caller:callRecordType:callCapability:callDuration:unseen:numberOfCalls: missing a [Deprecated] attribute -!deprecated-attribute-wrong! INSendMessageIntent::initWithRecipients:content:speakableGroupName:conversationIdentifier:serviceName:sender: has 12.0 not 11.0 on [Deprecated] attribute -!missing-selector! INMessageReaction::emoji not bound -!missing-selector! INMessageReaction::initWithReactionType:reactionDescription:emoji: not bound -!missing-selector! INMessageReaction::reactionDescription not bound -!missing-selector! INMessageReaction::reactionType not bound -!missing-selector! INSticker::emoji not bound -!missing-selector! INSticker::initWithType:emoji: not bound -!missing-selector! INSticker::type not bound -!missing-type! INMessageReaction not bound -!missing-type! INSticker not bound diff --git a/tests/xtro-sharpie/watchOS-Intents.todo b/tests/xtro-sharpie/watchOS-Intents.todo deleted file mode 100644 index d42189b1fb..0000000000 --- a/tests/xtro-sharpie/watchOS-Intents.todo +++ /dev/null @@ -1 +0,0 @@ -!extra-designated-initializer! INMessage::initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType: is incorrectly decorated with an [DesignatedInitializer] attribute