[GameKit] Move availability attributes out of conditional code. (#17301)

So that all platforms know which other platforms the API is available on.
This commit is contained in:
Rolf Bjarne Kvinge 2023-01-20 08:09:34 +01:00 коммит произвёл GitHub
Родитель 4b7d672f6c
Коммит 91ac625192
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -818,12 +818,12 @@ namespace GameKit {
[NullAllowed] // by default this property is null
[Export ("authenticateHandler", ArgumentSemantic.Copy)]
[Mac (10, 9)]
#if WATCH
Action<NSError> AuthenticateHandler { get; set; }
#elif !MONOMAC
Action<UIViewController, NSError> AuthenticateHandler { get; set; }
#else
[Mac (10,9)]
Action<NSViewController, NSError> AuthenticateHandler { get; set; }
#endif