diff --git a/src/fileprovider.cs b/src/fileprovider.cs index 54d9806d925a..ab535bf41c17 100644 --- a/src/fileprovider.cs +++ b/src/fileprovider.cs @@ -817,8 +817,10 @@ interface NSFileProviderPendingSetEnumerator : NSFileProviderEnumerator { [Export ("refreshInterval")] double RefreshInterval { get; } - [NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)] +#if XAMCORE_5_0 [Abstract] +#endif + [NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)] [Export ("maximumSizeReached")] bool MaximumSizeReached { [Bind ("isMaximumSizeReached")] get; } } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-FileProvider.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-FileProvider.ignore new file mode 100644 index 000000000000..a8544ee57d8e --- /dev/null +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-FileProvider.ignore @@ -0,0 +1,3 @@ +# New abstract protocol member was added in Xcode14 +# which is a breaking change so adding it to XAMCORE_5_0 +!incorrect-protocol-member! NSFileProviderPendingSetEnumerator::isMaximumSizeReached is REQUIRED and should be abstract diff --git a/tests/xtro-sharpie/common-FileProvider.ignore b/tests/xtro-sharpie/common-FileProvider.ignore new file mode 100644 index 000000000000..a8544ee57d8e --- /dev/null +++ b/tests/xtro-sharpie/common-FileProvider.ignore @@ -0,0 +1,3 @@ +# New abstract protocol member was added in Xcode14 +# which is a breaking change so adding it to XAMCORE_5_0 +!incorrect-protocol-member! NSFileProviderPendingSetEnumerator::isMaximumSizeReached is REQUIRED and should be abstract