[net9.0] Remove redundant availability attributes.

This commit is contained in:
Rolf Bjarne Kvinge 2024-03-05 09:45:54 +01:00
Родитель 69344dc1ca
Коммит f4036577f8
1 изменённых файлов: 8 добавлений и 16 удалений

Просмотреть файл

@ -524,10 +524,8 @@ namespace CoreGraphics {
static extern byte CGPreflightListenEventAccess ();
#if NET
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
#else
[Mac (11,0)]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
#endif
public static bool PreflightListenEventAccess () => CGPreflightListenEventAccess () != 0;
@ -552,27 +550,21 @@ namespace CoreGraphics {
static extern byte CGPreflightPostEventAccess ();
#if NET
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
#else
[Mac (11,0)]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
#endif
public static bool PreflightPostEventAccess () => CGPreflightPostEventAccess () != 0;
#if NET
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
#else
[Mac (11,0)]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
#endif
[DllImport (Constants.ApplicationServicesCoreGraphicsLibrary)]
static extern byte CGRequestPostEventAccess ();
#if NET
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
#else
[Mac (11,0)]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
#endif
public static bool RequestPostEventAccess () => CGRequestPostEventAccess () != 0;