diff --git a/src/fileprovider.cs b/src/fileprovider.cs index 73ae5743328..b480190c484 100644 --- a/src/fileprovider.cs +++ b/src/fileprovider.cs @@ -187,9 +187,8 @@ enum NSFileProviderError : long { NonEvictable = -2008, } - [Unavailable (PlatformName.MacCatalyst)] [NoiOS, Mac (12,0), NoMacCatalyst] - [Native, Advice ("This API is not available when using UIKit on macOS.")] + [Native] public enum NSFileProviderDomainRemovalMode : long { RemoveAll = 0, PreserveDirtyUserData = 1, @@ -339,7 +338,6 @@ interface NSFileProviderDomain { NSString DidChange { get; } [NoWatch, NoTV, NoiOS, Mac (12, 0), NoMacCatalyst] - [Advice ("This API is not available when using UIKit on macOS.")] [NullAllowed, Export ("backingStoreIdentity")] NSData BackingStoreIdentity { get; } } @@ -557,7 +555,6 @@ interface NSFileProviderItem { #if MONOMAC [NoiOS, Mac (12, 0), NoMacCatalyst] - [Advice ("This API is not available when using UIKit on macOS.")] [Export ("typeAndCreator")] NSFileProviderTypeAndCreator TypeAndCreator { get; } #endif @@ -840,7 +837,7 @@ enum NSFileProviderItemFields : ulong { ContentModificationDate = 1uL << 7, FileSystemFlags = 1uL << 8, ExtendedAttributes = 1uL << 9, - [Mac (12,0) + [Mac (12,0)] TypeAndCreator = 1uL << 10, } @@ -1028,7 +1025,6 @@ interface NSFileProviderDomainState { NSDictionary UserInfo { get; } } - [Advice ("This API is not available when using UIKit on macOS.")] [NoWatch, NoTV, iOS (15,0), Mac (12,0), NoMacCatalyst] [Flags] [Native] @@ -1290,8 +1286,7 @@ interface NSFileProviderTestingCollisionResolution : NSFileProviderTestingOperat } [NoWatch, NoTV, NoiOS, Mac (12,0), NoMacCatalyst] - [Protocol, Advice ("This API is not available when using UIKit on macOS.")] - [BaseType (typeof (NSObject))] + [Protocol] interface NSFileProviderUserInteractionSuppressing { [Abstract]