[AppKit] Remove wrong XAMCORE_4_0 code for a few enums that are correctly marked as native enums. (#13430)

* [AppKit] NSTextMovement is defined to be an NSInteger, so keep this as a native enum in .NET.

* [AppKit] NSWindowStyle is defined to be an NSUInteger, so keep this as a native enum in .NET.

* [AppKit] NSWindowNumberListOptions is defined to be an NSUInteger, so keep this as a native enum in .NET.
This commit is contained in:
Rolf Bjarne Kvinge 2021-11-23 16:26:14 +01:00 коммит произвёл GitHub
Родитель dbdebb4522
Коммит 2b7b0bd2d9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 12 удалений

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

@ -867,12 +867,8 @@ namespace AppKit {
#region NSWindow
[NoMacCatalyst]
[Flags]
#if !XAMCORE_4_0
[Native]
public enum NSWindowStyle : ulong {
#else
public enum NSWindowStyle : int {
#endif
Borderless = 0 << 0,
Titled = 1 << 0,
Closable = 1 << 1,
@ -924,12 +920,8 @@ namespace AppKit {
[NoMacCatalyst]
[Flags]
#if !XAMCORE_4_0
[Native]
public enum NSWindowNumberListOptions : ulong {
#else
public enum NSWindowNumberListOptions : int {
#endif
AllApplication = 1 << 0,
AllSpaces = 1 << 4
}
@ -1336,12 +1328,8 @@ namespace AppKit {
#endif // !NET && MONOMAC
[NoMacCatalyst]
#if !XAMCORE_4_0
[Native]
public enum NSTextMovement : long {
#else
public enum NSTextMovement : int {
#endif
Other = 0,
Return = 0x10,
Tab = 0x11,