[NET 6 Attribute Conversion] WebKit (#14064)

* Remove existing attributes

* Attribute Conversion

* Adding in missing attributes

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
This commit is contained in:
TJ Lambert 2022-02-07 09:43:08 -06:00 коммит произвёл GitHub
Родитель 4ddf73c2fd
Коммит 5b42a3867e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 35 добавлений и 35 удалений

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

@ -5,13 +5,13 @@ using ObjCRuntime;
namespace WebKit {
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomCssRuleType : ushort {
Unknown = 0,
@ -27,13 +27,13 @@ namespace WebKit {
NamespaceRule = 10,
}
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomCssValueType : ushort {
Inherit = 0,
@ -42,13 +42,13 @@ namespace WebKit {
Custom = 3
}
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
[Flags]
public enum DomDocumentPosition : ushort {
@ -60,13 +60,13 @@ namespace WebKit {
ImplementationSpecific = 0x20
}
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomNodeType : ushort {
Element = 1,
@ -83,13 +83,13 @@ namespace WebKit {
Notation = 12
}
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomRangeCompareHow : ushort {
StartToStart = 0,
@ -103,27 +103,27 @@ namespace WebKit {
DocumentViewer, DocumentBrowser, PrimaryWebBrowser
}
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomEventPhase : ushort {
Capturing = 1, AtTarget, Bubbling
}
[Flags]
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
[Flags]
public enum WebDragSourceAction : ulong {
None = 0,
DHTML = 1,
@ -133,28 +133,28 @@ namespace WebKit {
Any = UInt64.MaxValue
}
[Flags]
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
[Flags]
public enum WebDragDestinationAction : ulong {
None = 0,
DHTML = 1,
Image = 2,
Link = 4,
#if !NET
[Obsolete ("This API is not available on this platform.")]
#else
#if NET
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("maccatalyst")]
[Obsolete ("This API is not available on this platform.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#else
[Obsolete ("This API is not available on this platform.")]
#endif
Selection = 8,
Any = UInt64.MaxValue
@ -170,13 +170,13 @@ namespace WebKit {
}
// Used as an 'unsigned int' parameter
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomKeyLocation : uint {
Standard = 0,
@ -186,13 +186,13 @@ namespace WebKit {
}
// Used as an 'int' parameter
#if !NET
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#else
#if NET
[UnsupportedOSPlatform ("macos10.14")]
#if MONOMAC
[Obsolete ("Starting with macos10.14 no longer supported.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#endif
#else
[Deprecated (PlatformName.MacOSX, 10, 14, message: "No longer supported.")]
#endif
public enum DomDelta : int {
Pixel = 0,