Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 2, 2022 19:52
Show Gist options
  • Save vs-mobiletools-engineering-service2/7a71724f1e96823abd6151f49bb1144f to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/7a71724f1e96823abd6151f49bb1144f to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
index db1aec9..6389b06 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
@@ -241,6 +241,21 @@ namespace AVFoundation {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("URLSession:didCreateTask:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("URLSession:task:didFinishCollectingMetrics:")]
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("macos10.12")]
diff --git a/new/dotnet/ios/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs b/new/dotnet/ios/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
new file mode 100644
index 0000000..29791bb
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
@@ -0,0 +1,254 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKAllowedSharingOptions", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKAllowedSharingOptions : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKAllowedSharingOptions");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public CKAllowedSharingOptions (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKAllowedSharingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKAllowedSharingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKAllowedSharingOptions (CKSharingParticipantPermissionOption allowedParticipantPermissionOptions, CKSharingParticipantAccessOption allowedParticipantAccessOptions)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_UIntPtr (this.Handle, Selector.GetHandle ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:"), (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (this.SuperHandle, Selector.GetHandle ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:"), (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ }
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantAccessOption AllowedParticipantAccessOptions {
+ [Export ("allowedParticipantAccessOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ CKSharingParticipantAccessOption ret;
+ if (IsDirectBinding) {
+ ret = (CloudKit.CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedParticipantAccessOptions"));
+ } else {
+ ret = (CloudKit.CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedParticipantAccessOptions"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAllowedParticipantAccessOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedParticipantAccessOptions:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedParticipantAccessOptions:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantPermissionOption AllowedParticipantPermissionOptions {
+ [Export ("allowedParticipantPermissionOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ CKSharingParticipantPermissionOption ret;
+ if (IsDirectBinding) {
+ ret = (CloudKit.CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedParticipantPermissionOptions"));
+ } else {
+ ret = (CloudKit.CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedParticipantPermissionOptions"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAllowedParticipantPermissionOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedParticipantPermissionOptions:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedParticipantPermissionOptions:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public static CKAllowedSharingOptions StandardOptions {
+ [Export ("standardOptions", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ CKAllowedSharingOptions? ret;
+ ret = Runtime.GetNSObject<CKAllowedSharingOptions> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("standardOptions")))!;
+ return ret!;
+ #endif
+ }
+ }
+ } /* class CKAllowedSharingOptions */
+}
diff --git a/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs b/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
new file mode 100644
index 0000000..6cfce72
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantAccessOption : ulong {
+ AnyoneWithLink = 1,
+ SpecifiedRecipientsOnly = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs b/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
new file mode 100644
index 0000000..16f5b8a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantPermissionOption : ulong {
+ ReadOnly = 1,
+ ReadWrite = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs b/new/dotnet/ios/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
new file mode 100644
index 0000000..c8f682f
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
@@ -0,0 +1,199 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKSystemSharingUIObserver", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKSystemSharingUIObserver : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKSystemSharingUIObserver");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKSystemSharingUIObserver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKSystemSharingUIObserver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithContainer:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKSystemSharingUIObserver (CKContainer container)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithContainer:"), container__handle__), "initWithContainer:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithContainer:"), container__handle__), "initWithContainer:");
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, CKShare, NSError>? SystemSharingUIDidSaveShareHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V2))]
+ [Export ("systemSharingUIDidSaveShareBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("systemSharingUIDidSaveShareBlock"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("systemSharingUIDidSaveShareBlock"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity3V2.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V2))]
+ [Export ("setSystemSharingUIDidSaveShareBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V2.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSystemSharingUIDidSaveShareBlock:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSystemSharingUIDidSaveShareBlock:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, NSError>? SystemSharingUIDidStopSharingHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity2V41))]
+ [Export ("systemSharingUIDidStopSharingBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("systemSharingUIDidStopSharingBlock"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("systemSharingUIDidStopSharingBlock"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity2V41.Create (ret)!;
+ #endif
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V41))]
+ [Export ("setSystemSharingUIDidStopSharingBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity2V41.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSystemSharingUIDidStopSharingBlock:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSystemSharingUIDidStopSharingBlock:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ #endif
+ }
+ }
+ } /* class CKSystemSharingUIObserver */
+}
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
index bf08189..f3b0054 100644
--- a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs
@@ -262,7 +262,7 @@ namespace CoreML {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V2))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
+ public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V3))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -273,7 +273,7 @@ namespace CoreML {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V2.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V3.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("getMutableBytesWithHandler:"), (IntPtr) block_ptr_handler);
} else {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSActivityOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSActivityOptions.g.cs
index 02b8392..d1e1a65 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSActivityOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSActivityOptions.g.cs
@@ -55,6 +55,9 @@ namespace Foundation {
IdleSystemSleepDisabled = 1048576,
SuddenTerminationDisabled = 16384,
AutomaticTerminationDisabled = 32768,
+ AnimationTrackingEnabled = 35184372088832,
+ TrackingEnabled = 70368744177664,
+ UserInteractive = 1095233437695,
UserInitiated = 16777215,
Background = 255,
LatencyCritical = 1095216660480,
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs
index 2278904..4451917 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs
@@ -174,6 +174,81 @@ namespace Foundation {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithAttributedString:"), other__handle__), "initWithAttributedString:");
}
}
+ [Export ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var markdownFile__handle__ = markdownFile!.GetNonNullHandle (nameof (markdownFile));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"), markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"), markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ #endif
+ }
+ [Export ("initWithMarkdown:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var markdown__handle__ = markdown!.GetNonNullHandle (nameof (markdown));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithMarkdown:options:baseURL:error:"), markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMarkdown:options:baseURL:error:"), markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ #endif
+ }
+ [Export ("initWithMarkdownString:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (markdownString is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (markdownString));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ var nsmarkdownString = CFString.CreateNative (markdownString);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithMarkdownString:options:baseURL:error:"), nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMarkdownString:options:baseURL:error:"), nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ }
+ CFString.ReleaseNative (nsmarkdownString);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ #endif
+ }
[Export ("containsAttachmentsInRange:")]
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("ios9.0")]
@@ -927,6 +1002,27 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSAttributedString AttributedStringByInflectingString {
+ [Export ("attributedStringByInflectingString")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("attributedStringByInflectingString")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attributedStringByInflectingString")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual nint Length {
[Export ("length")]
get {
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
new file mode 100644
index 0000000..788877d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Flags]
+ [Native]
+ public enum NSAttributedStringFormattingOptions : ulong {
+ InsertArgumentAttributesWithoutMerging = 1,
+ ApplyReplacementIndexAttribute = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
new file mode 100644
index 0000000..0f65396
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownInterpretedSyntax : long {
+ Full = 0,
+ InlineOnly = 1,
+ InlineOnlyPreservingWhitespace = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
new file mode 100644
index 0000000..588e1da
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownParsingFailurePolicy : long {
+ Error = 0,
+ PartiallyParsedIfPossible = 1,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
new file mode 100644
index 0000000..43ed753
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
@@ -0,0 +1,317 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownParsingOptions", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSAttributedStringMarkdownParsingOptions : NSObject, INSCopying {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownParsingOptions");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownParsingOptions () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownParsingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool AllowsExtendedAttributes {
+ [Export ("allowsExtendedAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("allowsExtendedAttributes"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowsExtendedAttributes"));
+ }
+ #endif
+ }
+ [Export ("setAllowsExtendedAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAllowsExtendedAttributes:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAllowsExtendedAttributes:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual bool AppliesSourcePositionAttributes {
+ [Export ("appliesSourcePositionAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("appliesSourcePositionAttributes"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("appliesSourcePositionAttributes"));
+ }
+ #endif
+ }
+ [Export ("setAppliesSourcePositionAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAppliesSourcePositionAttributes:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAppliesSourcePositionAttributes:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy {
+ [Export ("failurePolicy", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSAttributedStringMarkdownParsingFailurePolicy ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("failurePolicy"));
+ } else {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("failurePolicy"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setFailurePolicy:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFailurePolicy:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setFailurePolicy:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax {
+ [Export ("interpretedSyntax", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSAttributedStringMarkdownInterpretedSyntax ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("interpretedSyntax"));
+ } else {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("interpretedSyntax"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setInterpretedSyntax:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setInterpretedSyntax:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setInterpretedSyntax:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? LanguageCode {
+ [Export ("languageCode")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("languageCode")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("languageCode")))!;
+ }
+ #endif
+ }
+ [Export ("setLanguageCode:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLanguageCode:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLanguageCode:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ } /* class NSAttributedStringMarkdownParsingOptions */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
new file mode 100644
index 0000000..6ea37c3
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
@@ -0,0 +1,299 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownSourcePosition", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe partial class NSAttributedStringMarkdownSourcePosition : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownSourcePosition");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownSourcePosition () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSAttributedStringMarkdownSourcePosition (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownSourcePosition (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithStartLine:startColumn:endLine:endColumn:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (this.Handle, Selector.GetHandle ("initWithStartLine:startColumn:endLine:endColumn:"), startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithStartLine:startColumn:endLine:endColumn:"), startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ }
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("rangeInString:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSRange RangeInString (string @string)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (@string is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (@string));
+ var nsstring = CFString.CreateNative (@string);
+ NSRange ret;
+ if (IsDirectBinding) {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.NSRange_objc_msgSend_stret_NativeHandle (out ret, this.Handle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("rangeInString:"), nsstring);
+ }
+ } else {
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_stret_NativeHandle (out ret, this.SuperHandle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("rangeInString:"), nsstring);
+ }
+ }
+ CFString.ReleaseNative (nsstring);
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndColumn {
+ [Export ("endColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("endColumn"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endColumn"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndLine {
+ [Export ("endLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("endLine"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endLine"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartColumn {
+ [Export ("startColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("startColumn"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startColumn"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartLine {
+ [Export ("startLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("startLine"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startLine"));
+ }
+ #endif
+ }
+ }
+ } /* class NSAttributedStringMarkdownSourcePosition */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringNameKey.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
new file mode 100644
index 0000000..7455994
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
@@ -0,0 +1,253 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public enum NSAttributedStringNameKey : int {
+ AlternateDescription = 0,
+ ImageUrl = 1,
+ InflectionRule = 2,
+ InflectionAlternative = 3,
+ InlinePresentationIntent = 4,
+ LanguageIdentifier = 5,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ MarkdownSourcePosition = 6,
+ Morphology = 7,
+ PresentationIntentAttributeName = 8,
+ ReplacementIndex = 9,
+ }
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class NSAttributedStringNameKeyExtensions {
+ static IntPtr[] values = new IntPtr [10];
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSAlternateDescriptionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSAlternateDescriptionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [0])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSAlternateDescriptionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSImageURLAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSImageURLAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [1])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSImageURLAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionRuleAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionRuleAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [2])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionRuleAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionAlternativeAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionAlternativeAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [3])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionAlternativeAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInlinePresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInlinePresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [4])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInlinePresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSLanguageIdentifierAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSLanguageIdentifierAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [5])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSLanguageIdentifierAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [Field ("NSMarkdownSourcePositionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMarkdownSourcePositionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [6])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMarkdownSourcePositionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSMorphologyAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMorphologyAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [7])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMorphologyAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSPresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSPresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [8])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSPresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSReplacementIndexAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSReplacementIndexAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [9])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSReplacementIndexAttributeName", storage);
+ }
+ }
+ public static NSString? GetConstant (this NSAttributedStringNameKey self)
+ {
+ IntPtr ptr = IntPtr.Zero;
+ switch ((int) self) {
+ case 0: // NSAttributedStringNameKey.AlternateDescription
+ ptr = NSAlternateDescriptionAttributeName;
+ break;
+ case 1: // NSAttributedStringNameKey.ImageUrl
+ ptr = NSImageURLAttributeName;
+ break;
+ case 2: // NSAttributedStringNameKey.InflectionRule
+ ptr = NSInflectionRuleAttributeName;
+ break;
+ case 3: // NSAttributedStringNameKey.InflectionAlternative
+ ptr = NSInflectionAlternativeAttributeName;
+ break;
+ case 4: // NSAttributedStringNameKey.InlinePresentationIntent
+ ptr = NSInlinePresentationIntentAttributeName;
+ break;
+ case 5: // NSAttributedStringNameKey.LanguageIdentifier
+ ptr = NSLanguageIdentifierAttributeName;
+ break;
+ case 6: // NSAttributedStringNameKey.MarkdownSourcePosition
+ ptr = NSMarkdownSourcePositionAttributeName;
+ break;
+ case 7: // NSAttributedStringNameKey.Morphology
+ ptr = NSMorphologyAttributeName;
+ break;
+ case 8: // NSAttributedStringNameKey.PresentationIntentAttributeName
+ ptr = NSPresentationIntentAttributeName;
+ break;
+ case 9: // NSAttributedStringNameKey.ReplacementIndex
+ ptr = NSReplacementIndexAttributeName;
+ break;
+ }
+ return (NSString?) Runtime.GetNSObject (ptr);
+ }
+ public static NSAttributedStringNameKey GetValue (NSString constant)
+ {
+ if (constant is null)
+ throw new ArgumentNullException (nameof (constant));
+ if (constant.IsEqualTo (NSAlternateDescriptionAttributeName))
+ return NSAttributedStringNameKey.AlternateDescription;
+ if (constant.IsEqualTo (NSImageURLAttributeName))
+ return NSAttributedStringNameKey.ImageUrl;
+ if (constant.IsEqualTo (NSInflectionRuleAttributeName))
+ return NSAttributedStringNameKey.InflectionRule;
+ if (constant.IsEqualTo (NSInflectionAlternativeAttributeName))
+ return NSAttributedStringNameKey.InflectionAlternative;
+ if (constant.IsEqualTo (NSInlinePresentationIntentAttributeName))
+ return NSAttributedStringNameKey.InlinePresentationIntent;
+ if (constant.IsEqualTo (NSLanguageIdentifierAttributeName))
+ return NSAttributedStringNameKey.LanguageIdentifier;
+ if (constant.IsEqualTo (NSMarkdownSourcePositionAttributeName))
+ return NSAttributedStringNameKey.MarkdownSourcePosition;
+ if (constant.IsEqualTo (NSMorphologyAttributeName))
+ return NSAttributedStringNameKey.Morphology;
+ if (constant.IsEqualTo (NSPresentationIntentAttributeName))
+ return NSAttributedStringNameKey.PresentationIntentAttributeName;
+ if (constant.IsEqualTo (NSReplacementIndexAttributeName))
+ return NSAttributedStringNameKey.ReplacementIndex;
+ throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
+ }
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSBundle.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSBundle.g.cs
index 6696afb..3f9cc24 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSBundle.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSBundle.g.cs
@@ -160,6 +160,34 @@ namespace Foundation {
var url__handle__ = url!.GetNonNullHandle (nameof (url));
return Runtime.GetNSObject<NSBundle> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("bundleWithURL:"), url__handle__))!;
}
+ [Export ("localizedAttributedStringForKey:value:table:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSAttributedString GetLocalizedAttributedString (string key, string? value, string? tableName)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (key is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
+ var nskey = CFString.CreateNative (key);
+ var nsvalue = CFString.CreateNative (value);
+ var nstableName = CFString.CreateNative (tableName);
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("localizedAttributedStringForKey:value:table:"), nskey, nsvalue, nstableName))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("localizedAttributedStringForKey:value:table:"), nskey, nsvalue, nstableName))!;
+ }
+ CFString.ReleaseNative (nskey);
+ CFString.ReleaseNative (nsvalue);
+ CFString.ReleaseNative (nstableName);
+ return ret!;
+ #endif
+ }
[Export ("localizedStringForKey:value:table:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSString GetLocalizedString (NSString? key, NSString? value, NSString? table)
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSByteCountFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSByteCountFormatter.g.cs
index 1ba03a8..e0a1b18 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSByteCountFormatter.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSByteCountFormatter.g.cs
@@ -91,6 +91,40 @@ namespace Foundation {
{
}
+ [Export ("stringFromMeasurement:countStyle:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("stringFromMeasurement:countStyle:"), measurement__handle__, (IntPtr) (long) countStyle))!;
+ #endif
+ }
+ [Export ("stringFromMeasurement:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Create (NSUnitInformationStorage measurement)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("stringFromMeasurement:"), measurement__handle__))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("stringFromMeasurement:"), measurement__handle__))!;
+ }
+ #endif
+ }
[Export ("stringFromByteCount:countStyle:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static string Format (long byteCount, NSByteCountFormatterCountStyle countStyle)
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSCocoaError.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSCocoaError.g.cs
index d60abc8..c3c828d 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSCocoaError.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSCocoaError.g.cs
@@ -97,6 +97,7 @@ namespace Foundation {
XpcConnectionInterrupted = 4097,
XpcConnectionInvalid = 4099,
XpcConnectionReplyInvalid = 4101,
+ XpcConnectionCodeSigningRequirementFailure = 4102,
XpcConnectionErrorMinimum = 4096,
XpcConnectionErrorMaximum = 4224,
UbiquitousFileUnavailable = 4353,
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalGender.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalGender.g.cs
new file mode 100644
index 0000000..529a488
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalGender.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalGender : long {
+ NotSet = 0,
+ Feminine = 1,
+ Masculine = 2,
+ Neuter = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalNumber.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalNumber.g.cs
new file mode 100644
index 0000000..31bcc2d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalNumber.g.cs
@@ -0,0 +1,66 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalNumber : long {
+ NotSet = 0,
+ Singular = 1,
+ Zero = 2,
+ Plural = 3,
+ PluralTwo = 4,
+ PluralFew = 5,
+ PluralMany = 6,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
new file mode 100644
index 0000000..ee927e5
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
@@ -0,0 +1,74 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalPartOfSpeech : long {
+ NotSet = 0,
+ Determiner = 1,
+ Pronoun = 2,
+ Letter = 3,
+ Adverb = 4,
+ Particle = 5,
+ Adjective = 6,
+ Adposition = 7,
+ Verb = 8,
+ Noun = 9,
+ Conjunction = 10,
+ Numeral = 11,
+ Interjection = 12,
+ Preposition = 13,
+ Abbreviation = 14,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSInflectionRule.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSInflectionRule.g.cs
new file mode 100644
index 0000000..0a8b995
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSInflectionRule.g.cs
@@ -0,0 +1,192 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRule", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRule : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRule");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRule (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRule (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRule (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("canInflectLanguage:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanInflectLanguage (string language)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("canInflectLanguage:"), nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSInflectionRule AutomaticRule {
+ [Export ("automaticRule")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSInflectionRule? ret;
+ ret = Runtime.GetNSObject<NSInflectionRule> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("automaticRule")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static bool CanInflectPreferredLocalization {
+ [Export ("canInflectPreferredLocalization")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, Selector.GetHandle ("canInflectPreferredLocalization"));
+ #endif
+ }
+ }
+ } /* class NSInflectionRule */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
new file mode 100644
index 0000000..50498c9
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
@@ -0,0 +1,159 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRuleExplicit", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRuleExplicit : NSInflectionRule {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRuleExplicit");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSInflectionRuleExplicit () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRuleExplicit (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRuleExplicit (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRuleExplicit (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithMorphology:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSInflectionRuleExplicit (NSMorphology morphology)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var morphology__handle__ = morphology!.GetNonNullHandle (nameof (morphology));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithMorphology:"), morphology__handle__), "initWithMorphology:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMorphology:"), morphology__handle__), "initWithMorphology:");
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSMorphology Morphology {
+ [Export ("morphology", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSMorphology? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("morphology")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("morphology")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class NSInflectionRuleExplicit */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSInlinePresentationIntent.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
new file mode 100644
index 0000000..7f31918
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
@@ -0,0 +1,67 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSInlinePresentationIntent : ulong {
+ Emphasized = 1,
+ StronglyEmphasized = 2,
+ Code = 4,
+ Strikethrough = 32,
+ SoftBreak = 64,
+ LineBreak = 128,
+ InlineHTML = 256,
+ BlockHTML = 512,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSItemProvider.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSItemProvider.g.cs
index 14c6ac4..5bb6264 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSItemProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSItemProvider.g.cs
@@ -438,7 +438,7 @@ namespace Foundation {
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDItemProviderDataCompletionHandler))]ItemProviderDataCompletionHandler completionHandler)
+ public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDLoadFileRepresentationHandler))]LoadFileRepresentationHandler completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -450,7 +450,7 @@ namespace Foundation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDItemProviderDataCompletionHandler.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDLoadFileRepresentationHandler.Handler, completionHandler);
NSProgress? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_bool_NativeHandle (this.Handle, Selector.GetHandle ("loadFileRepresentationForContentType:openInPlace:completionHandler:"), contentType__handle__, openInPlace, (IntPtr) block_ptr_completionHandler))!;
@@ -671,6 +671,55 @@ namespace Foundation {
});
return tcs.Task;
}
+ [Export ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RegisterCKShare (global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action preparationHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (preparationHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (preparationHandler));
+ BlockLiteral *block_ptr_preparationHandler;
+ BlockLiteral block_preparationHandler;
+ block_preparationHandler = new BlockLiteral ();
+ block_ptr_preparationHandler = &block_preparationHandler;
+ block_preparationHandler.SetupBlockUnsafe (Trampolines.SDAction.Handler, preparationHandler);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:"), container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:"), container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ }
+ block_ptr_preparationHandler->CleanupBlock ();
+ #endif
+ }
+ [Export ("registerCKShare:container:allowedSharingOptions:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RegisterCKShare (global::CloudKit.CKShare share, global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var share__handle__ = share!.GetNonNullHandle (nameof (share));
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("registerCKShare:container:allowedSharingOptions:"), share__handle__, container__handle__, allowedOptions__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("registerCKShare:container:allowedSharingOptions:"), share__handle__, container__handle__, allowedOptions__handle__);
+ }
+ #endif
+ }
[Export ("registerDataRepresentationForTypeIdentifier:visibility:loadHandler:")]
[SupportedOSPlatform ("tvos11.0")]
[SupportedOSPlatform ("macos10.13")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
index 4078715..821ad19 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
@@ -56,7 +56,15 @@ namespace Foundation {
[Native]
public enum NSItemProviderRepresentationVisibility : long {
All = 0,
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos11.0.0")]
+ [SupportedOSPlatform ("ios11.0.0")]
+ [SupportedOSPlatform ("maccatalyst11.0.0")]
Team = 1,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos10.13.0")]
Group = 2,
OwnProcess = 3,
}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSJsonReadingOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSJsonReadingOptions.g.cs
index 0ff32e1..d75b7ea 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSJsonReadingOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSJsonReadingOptions.g.cs
@@ -55,5 +55,15 @@ namespace Foundation {
MutableContainers = 1,
MutableLeaves = 2,
FragmentsAllowed = 4,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ Json5Allowed = 8,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ TopLevelDictionaryAssumed = 16,
}
}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs
new file mode 100644
index 0000000..cc4c184
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs
@@ -0,0 +1,366 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphology", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphology : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphology");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphology () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphology (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphology (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphology (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("customPronounForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSMorphologyCustomPronoun? GetCustomPronoun (string language)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ NSMorphologyCustomPronoun? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("customPronounForLanguage:"), nslanguage))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("customPronounForLanguage:"), nslanguage))!;
+ }
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ #endif
+ }
+ [Export ("setCustomPronoun:forLanguage:error:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var features__handle__ = features.GetHandle ();
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ NativeHandle errorValue = IntPtr.Zero;
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("setCustomPronoun:forLanguage:error:"), features__handle__, nslanguage, ref errorValue);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("setCustomPronoun:forLanguage:error:"), features__handle__, nslanguage, ref errorValue);
+ }
+ CFString.ReleaseNative (nslanguage);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalGender GrammaticalGender {
+ [Export ("grammaticalGender", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSGrammaticalGender ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("grammaticalGender"));
+ } else {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("grammaticalGender"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setGrammaticalGender:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setGrammaticalGender:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setGrammaticalGender:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalNumber Number {
+ [Export ("number", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSGrammaticalNumber ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("number"));
+ } else {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("number"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setNumber:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setNumber:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setNumber:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalPartOfSpeech PartOfSpeech {
+ [Export ("partOfSpeech", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSGrammaticalPartOfSpeech ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("partOfSpeech"));
+ } else {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("partOfSpeech"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setPartOfSpeech:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPartOfSpeech:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPartOfSpeech:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool Unspecified {
+ [Export ("isUnspecified")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUnspecified"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUnspecified"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSMorphology UserMorphology {
+ [Export ("userMorphology")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSMorphology? ret;
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("userMorphology")))!;
+ return ret!;
+ #endif
+ }
+ }
+ } /* class NSMorphology */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
new file mode 100644
index 0000000..463e739
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
@@ -0,0 +1,393 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphologyCustomPronoun", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphologyCustomPronoun : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphologyCustomPronoun");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphologyCustomPronoun () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphologyCustomPronoun (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphologyCustomPronoun (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphologyCustomPronoun (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("requiredKeysForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string[] GetRequiredKeysForLanguage (string language)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ string[]? ret;
+ ret = CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("requiredKeysForLanguage:"), nslanguage))!;
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ #endif
+ }
+ [Export ("isSupportedForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool IsSupported (string language)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("isSupportedForLanguage:"), nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ObjectForm {
+ [Export ("objectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("objectForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("objectForm")))!;
+ }
+ #endif
+ }
+ [Export ("setObjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setObjectForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setObjectForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveAdjectiveForm {
+ [Export ("possessiveAdjectiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("possessiveAdjectiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("possessiveAdjectiveForm")))!;
+ }
+ #endif
+ }
+ [Export ("setPossessiveAdjectiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPossessiveAdjectiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPossessiveAdjectiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveForm {
+ [Export ("possessiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("possessiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("possessiveForm")))!;
+ }
+ #endif
+ }
+ [Export ("setPossessiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPossessiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPossessiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ReflexiveForm {
+ [Export ("reflexiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("reflexiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("reflexiveForm")))!;
+ }
+ #endif
+ }
+ [Export ("setReflexiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setReflexiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setReflexiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? SubjectForm {
+ [Export ("subjectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("subjectForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("subjectForm")))!;
+ }
+ #endif
+ }
+ [Export ("setSubjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSubjectForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSubjectForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ } /* class NSMorphologyCustomPronoun */
+}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMutableUrlRequest.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMutableUrlRequest.g.cs
index a581022..8465cd5 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSMutableUrlRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMutableUrlRequest.g.cs
@@ -246,6 +246,39 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSURLRequestAttribution Attribution {
+ [Export ("attribution", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSURLRequestAttribution ret;
+ if (IsDirectBinding) {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("attribution"));
+ } else {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attribution"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setAttribution:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAttribution:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAttribution:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual NSData? Body {
[Export ("HTTPBody")]
get {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs
index 17c10ae..d936f49 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs
@@ -50,6 +50,22 @@ using NativeHandle = System.IntPtr;
#endif
namespace Foundation {
[Register("NSNetService", true)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -71,6 +87,22 @@ namespace Foundation {
}
[Export ("initWithDomain:type:name:port:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -99,6 +131,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("initWithDomain:type:name:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -126,6 +174,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("dataFromTXTRecordDictionary:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -137,6 +201,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("dataFromTXTRecordDictionary:"), dictionary__handle__))!;
}
[Export ("dictionaryFromTXTRecordData:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -148,6 +228,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSDictionary> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("dictionaryFromTXTRecordData:"), data__handle__))!;
}
[Export ("getInputStream:outputStream:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -168,12 +264,28 @@ namespace Foundation {
return ret!;
}
[Export ("TXTRecordData")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetTxtRecordData ()
+ public virtual NSData? GetTxtRecordData ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TXTRecordData")))!;
@@ -182,6 +294,22 @@ namespace Foundation {
}
}
[Export ("publish")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -196,6 +324,22 @@ namespace Foundation {
}
}
[Export ("publishWithOptions:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -218,6 +362,10 @@ namespace Foundation {
[Advice ("Starting with macos10.4 Use 'Resolve (double)' instead.")]
#endif
[UnsupportedOSPlatform ("macos10.4")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst2.0.0 Use 'Resolve (double)' instead.")]
#endif
@@ -236,6 +384,22 @@ namespace Foundation {
}
}
[Export ("resolveWithTimeout:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -250,6 +414,22 @@ namespace Foundation {
}
}
[Export ("scheduleInRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -265,6 +445,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("scheduleInRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -275,14 +471,30 @@ namespace Foundation {
Schedule (aRunLoop, forMode.GetConstant ()!);
}
[Export ("setTXTRecordData:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetTxtRecordData (NSData data)
+ public virtual bool SetTxtRecordData (NSData? data)
{
- var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ var data__handle__ = data.GetHandle ();
if (IsDirectBinding) {
return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTXTRecordData:"), data__handle__);
} else {
@@ -290,6 +502,22 @@ namespace Foundation {
}
}
[Export ("startMonitoring")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -304,6 +532,22 @@ namespace Foundation {
}
}
[Export ("stop")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -318,6 +562,22 @@ namespace Foundation {
}
}
[Export ("stopMonitoring")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -332,6 +592,22 @@ namespace Foundation {
}
}
[Export ("removeFromRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -347,6 +623,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeFromRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -357,12 +649,44 @@ namespace Foundation {
Unschedule (aRunLoop, forMode.GetConstant ()!);
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
- public virtual NSData[] Addresses {
+ public virtual NSData[]? Addresses {
[Export ("addresses", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -378,11 +702,43 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public INSNetServiceDelegate Delegate {
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -390,6 +746,22 @@ namespace Foundation {
get {
return (WeakDelegate as INSNetServiceDelegate)!;
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -402,12 +774,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Domain {
[Export ("domain", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -421,12 +825,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
- public virtual string HostName {
+ public virtual string? HostName {
[Export ("hostName", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -442,10 +878,42 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("tvos")]
public virtual bool IncludesPeerToPeer {
[Export ("includesPeerToPeer")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -458,6 +926,22 @@ namespace Foundation {
}
}
[Export ("setIncludesPeerToPeer:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -471,12 +955,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Name {
[Export ("name", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -490,12 +1006,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual nint Port {
[Export ("port")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -509,12 +1057,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Type {
[Export ("type", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -530,12 +1110,44 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
object? __mt_WeakDelegate_var;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual NSObject? WeakDelegate {
[Export ("delegate", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -552,6 +1164,22 @@ namespace Foundation {
return ret!;
}
[Export ("setDelegate:", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSNetServiceBrowser.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSNetServiceBrowser.g.cs
index e7cb470..56eb79f 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSNetServiceBrowser.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSNetServiceBrowser.g.cs
@@ -50,6 +50,22 @@ using NativeHandle = System.IntPtr;
#endif
namespace Foundation {
[Register("NSNetServiceBrowser", true)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -83,6 +99,22 @@ namespace Foundation {
}
[Export ("scheduleInRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -98,6 +130,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("scheduleInRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -108,6 +156,22 @@ namespace Foundation {
Schedule (aRunLoop, forMode.GetConstant ()!);
}
[Export ("searchForBrowsableDomains")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -122,6 +186,22 @@ namespace Foundation {
}
}
[Export ("searchForRegistrationDomains")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -136,6 +216,22 @@ namespace Foundation {
}
}
[Export ("searchForServicesOfType:inDomain:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -158,6 +254,22 @@ namespace Foundation {
CFString.ReleaseNative (nsdomain);
}
[Export ("stop")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -172,6 +284,22 @@ namespace Foundation {
}
}
[Export ("removeFromRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -187,6 +315,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeFromRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -197,11 +341,43 @@ namespace Foundation {
Unschedule (aRunLoop, forMode.GetConstant ()!);
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public INSNetServiceBrowserDelegate Delegate {
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -209,6 +385,22 @@ namespace Foundation {
get {
return (WeakDelegate as INSNetServiceBrowserDelegate)!;
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -223,10 +415,42 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("tvos")]
public virtual bool IncludesPeerToPeer {
[Export ("includesPeerToPeer")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -239,6 +463,22 @@ namespace Foundation {
}
}
[Export ("setIncludesPeerToPeer:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -254,12 +494,44 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
object? __mt_WeakDelegate_var;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual NSObject? WeakDelegate {
[Export ("delegate", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -276,6 +548,22 @@ namespace Foundation {
return ret!;
}
[Export ("setDelegate:", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSOrderedSet.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSOrderedSet.g.cs
index 1cb535b..29eaf34 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSOrderedSet.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSOrderedSet.g.cs
@@ -190,7 +190,7 @@ namespace Foundation {
}
[Export ("firstObject")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject FirstObject ()
+ public virtual NSObject? FirstObject ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("firstObject")))!;
@@ -286,7 +286,7 @@ namespace Foundation {
}
[Export ("lastObject")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject LastObject ()
+ public virtual NSObject? LastObject ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("lastObject")))!;
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
index 4e03a53..5929223 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
@@ -181,6 +181,48 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSLocale? Locale {
+ [Export ("locale", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios9.0.0")]
+ [SupportedOSPlatform ("macos10.11.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSLocale? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("locale")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("locale")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setLocale:", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios9.0.0")]
+ [SupportedOSPlatform ("macos10.11.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLocale:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLocale:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0.0")]
[SupportedOSPlatform ("macos10.11.0")]
[SupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntent.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntent.g.cs
new file mode 100644
index 0000000..305a982
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntent.g.cs
@@ -0,0 +1,600 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSPresentationIntent", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSPresentationIntent : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSPresentationIntent");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSPresentationIntent (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSPresentationIntent (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSPresentationIntent (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("blockQuoteIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("blockQuoteIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string? languageHint, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ var nslanguageHint = CFString.CreateNative (languageHint);
+ NSPresentationIntent? ret;
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:"), identity, nslanguageHint, parent__handle__))!;
+ CFString.ReleaseNative (nslanguageHint);
+ return ret!;
+ #endif
+ }
+ [Export ("headerIntentWithIdentity:level:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("headerIntentWithIdentity:level:nestedInsideIntent:"), identity, level, parent__handle__))!;
+ #endif
+ }
+ [Export ("listItemIntentWithIdentity:ordinal:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("listItemIntentWithIdentity:ordinal:nestedInsideIntent:"), identity, ordinal, parent__handle__))!;
+ #endif
+ }
+ [Export ("orderedListIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("orderedListIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("paragraphIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("paragraphIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("tableCellIntentWithIdentity:column:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableCellIntentWithIdentity:column:nestedInsideIntent:"), identity, column, parent__handle__))!;
+ #endif
+ }
+ [Export ("tableHeaderRowIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableHeaderRowIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (alignments is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (alignments));
+ var parent__handle__ = parent.GetHandle ();
+ var nsa_alignments = NSArray.FromNSObjects (alignments);
+ NSPresentationIntent? ret;
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:"), identity, columnCount, nsa_alignments.Handle, parent__handle__))!;
+ nsa_alignments.Dispose ();
+ return ret!;
+ #endif
+ }
+ [Export ("tableRowIntentWithIdentity:row:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableRowIntentWithIdentity:row:nestedInsideIntent:"), identity, row, parent__handle__))!;
+ #endif
+ }
+ [Export ("thematicBreakIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("thematicBreakIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("unorderedListIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent? parent)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("unorderedListIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ #endif
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("isEquivalentToPresentationIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEquivalent (NSPresentationIntent other)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var other__handle__ = other!.GetNonNullHandle (nameof (other));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("isEquivalentToPresentationIntent:"), other__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("isEquivalentToPresentationIntent:"), other__handle__);
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Column {
+ [Export ("column")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("column"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("column"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSNumber[]? ColumnAlignments {
+ [Export ("columnAlignments")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSNumber[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("columnAlignments")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("columnAlignments")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint ColumnCount {
+ [Export ("columnCount")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("columnCount"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("columnCount"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint HeaderLevel {
+ [Export ("headerLevel")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("headerLevel"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headerLevel"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Identity {
+ [Export ("identity")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("identity"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identity"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint IndentationLevel {
+ [Export ("indentationLevel")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("indentationLevel"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("indentationLevel"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSPresentationIntentKind IntentKind {
+ [Export ("intentKind")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSPresentationIntentKind ret;
+ if (IsDirectBinding) {
+ ret = (NSPresentationIntentKind) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("intentKind"));
+ } else {
+ ret = (NSPresentationIntentKind) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("intentKind"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? LanguageHint {
+ [Export ("languageHint")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("languageHint")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("languageHint")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Ordinal {
+ [Export ("ordinal")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("ordinal"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("ordinal"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSPresentationIntent? ParentIntent {
+ [Export ("parentIntent", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSPresentationIntent? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("parentIntent")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("parentIntent")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Row {
+ [Export ("row")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("row"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("row"));
+ }
+ #endif
+ }
+ }
+ } /* class NSPresentationIntent */
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentKind.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentKind.g.cs
new file mode 100644
index 0000000..247180d
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentKind.g.cs
@@ -0,0 +1,71 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSPresentationIntentKind : long {
+ Paragraph = 0,
+ Header = 1,
+ OrderedList = 2,
+ UnorderedList = 3,
+ ListItem = 4,
+ CodeBlock = 5,
+ BlockQuote = 6,
+ ThematicBreak = 7,
+ Table = 8,
+ TableHeaderRow = 9,
+ TableRow = 10,
+ TableCell = 11,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs
new file mode 100644
index 0000000..fb4e617
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSPresentationIntentTableColumnAlignment : long {
+ Left = 0,
+ Center = 1,
+ Right = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSProcessInfo.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSProcessInfo.g.cs
index 1d561f2..0d6da0c 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSProcessInfo.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSProcessInfo.g.cs
@@ -275,10 +275,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
- [SupportedOSPlatform ("maccatalyst9.0.0")]
- [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos12.0")]
public virtual bool LowPowerModeEnabled {
[Export ("isLowPowerModeEnabled")]
get {
@@ -487,14 +487,14 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _PowerStateDidChangeNotification;
[Field ("NSProcessInfoPowerStateDidChangeNotification", "Foundation")]
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
[Advice ("Use NSProcessInfo.Notifications.ObservePowerStateDidChange helper method instead.")]
public static NSString PowerStateDidChangeNotification {
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
get {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSProgress.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSProgress.g.cs
index 3785822..6f43a59 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSProgress.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSProgress.g.cs
@@ -1036,6 +1036,24 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _FileOperationKindDuplicatingKey;
+ [Field ("NSProgressFileOperationKindDuplicating", "Foundation")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public static NSString FileOperationKindDuplicatingKey {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ get {
+ if (_FileOperationKindDuplicatingKey is null)
+ _FileOperationKindDuplicatingKey = Dlfcn.GetStringConstant (Libraries.Foundation.Handle, "NSProgressFileOperationKindDuplicating")!;
+ return _FileOperationKindDuplicatingKey;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _FileOperationKindKey;
[Field ("NSProgressFileOperationKindKey", "Foundation")]
[SupportedOSPlatform ("ios7.0.0")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSSearchPathDirectory.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSSearchPathDirectory.g.cs
index f50d356..79558b9 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSSearchPathDirectory.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSSearchPathDirectory.g.cs
@@ -81,6 +81,10 @@ namespace Foundation {
ItemReplacementDirectory = 99,
AllApplicationsDirectory = 100,
AllLibrariesDirectory = 101,
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
TrashDirectory = 102,
}
}
diff --git a/new/dotnet/ios/generated-sources/Foundation/NSURLRequestAttribution.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSURLRequestAttribution.g.cs
new file mode 100644
index 0000000..1cc9125
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/Foundation/NSURLRequestAttribution.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSURLRequestAttribution : ulong {
+ Developer = 0,
+ User = 1,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
index 21938a7..0208c18 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
@@ -80,7 +80,7 @@ namespace Foundation {
[Export ("arrayForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject[] GetArray (string aKey)
+ public virtual NSObject[]? GetArray (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -112,7 +112,7 @@ namespace Foundation {
}
[Export ("dataForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetData (string aKey)
+ public virtual NSData? GetData (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -128,7 +128,7 @@ namespace Foundation {
}
[Export ("dictionaryForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary GetDictionary (string aKey)
+ public virtual NSDictionary? GetDictionary (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -176,7 +176,7 @@ namespace Foundation {
}
[Export ("stringForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string GetString (string aKey)
+ public virtual string? GetString (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -192,7 +192,7 @@ namespace Foundation {
}
[Export ("objectForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual NSObject ObjectForKey (string aKey)
+ internal virtual NSObject? ObjectForKey (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -222,9 +222,9 @@ namespace Foundation {
}
[Export ("setObject:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void SetObjectForKey (NSObject anObject, string aKey)
+ internal virtual void SetObjectForKey (NSObject? anObject, string aKey)
{
- var anObject__handle__ = anObject!.GetNonNullHandle (nameof (anObject));
+ var anObject__handle__ = anObject.GetHandle ();
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaKey = CFString.CreateNative (aKey);
@@ -257,20 +257,19 @@ namespace Foundation {
}
[Export ("setArray:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetArray (NSObject[] array, string key)
+ internal virtual void _SetArray (NSObject[]? array, string key)
{
- if (array is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (array));
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
- var nsa_array = NSArray.FromNSObjects (array);
+ var nsa_array = array is null ? null : NSArray.FromNSObjects (array);
var nskey = CFString.CreateNative (key);
if (IsDirectBinding) {
- global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("setArray:forKey:"), nsa_array.Handle, nskey);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("setArray:forKey:"), nsa_array.GetHandle (), nskey);
} else {
- global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("setArray:forKey:"), nsa_array.Handle, nskey);
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("setArray:forKey:"), nsa_array.GetHandle (), nskey);
}
- nsa_array.Dispose ();
+ if (nsa_array != null)
+ nsa_array.Dispose ();
CFString.ReleaseNative (nskey);
}
[Export ("setBool:forKey:")]
@@ -289,9 +288,9 @@ namespace Foundation {
}
[Export ("setData:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetData (NSData data, string key)
+ internal virtual void _SetData (NSData? data, string key)
{
- var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ var data__handle__ = data.GetHandle ();
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
var nskey = CFString.CreateNative (key);
@@ -304,9 +303,9 @@ namespace Foundation {
}
[Export ("setDictionary:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetDictionary (NSDictionary aDictionary, string aKey)
+ internal virtual void _SetDictionary (NSDictionary? aDictionary, string aKey)
{
- var aDictionary__handle__ = aDictionary!.GetNonNullHandle (nameof (aDictionary));
+ var aDictionary__handle__ = aDictionary.GetHandle ();
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaKey = CFString.CreateNative (aKey);
@@ -347,10 +346,8 @@ namespace Foundation {
}
[Export ("setString:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetString (string aString, string aKey)
+ internal virtual void _SetString (string? aString, string aKey)
{
- if (aString is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aString));
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaString = CFString.CreateNative (aString);
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
index 3fd2644..9c89f64 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
@@ -55,7 +55,20 @@ namespace Foundation {
PreferFileIDResolution = 256,
MinimalBookmark = 512,
SuitableForBookmarkFile = 1024,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
WithSecurityScope = 2048,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
SecurityScopeAllowOnlyReadAccess = 4096,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ CreationWithoutImplicitSecurityScope = 536870912,
}
}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
index c7d6e80..f562023 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
@@ -54,6 +54,15 @@ namespace Foundation {
public enum NSUrlBookmarkResolutionOptions : ulong {
WithoutUI = 256,
WithoutMounting = 512,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
WithSecurityScope = 1024,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ WithoutImplicitStartAccessing = 32768,
}
}
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlComponents.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlComponents.g.cs
index 3d4c601..c517b52 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlComponents.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlComponents.g.cs
@@ -194,6 +194,47 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual string? EncodedHost {
+ [Export ("encodedHost")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("encodedHost")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("encodedHost")))!;
+ }
+ #endif
+ }
+ [Export ("setEncodedHost:")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setEncodedHost:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setEncodedHost:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.9.0")]
[SupportedOSPlatform ("tvos")]
@@ -363,6 +404,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos10.9.0")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ [Advice (@"Use 'EncodedHost' instead.")]
public virtual string? PercentEncodedHost {
[Export ("percentEncodedHost", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios7.0.0")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs
index 7605675..7c99b3a 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs
@@ -96,7 +96,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate)
+ public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate)
: base (NSObjectFlag.Empty)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
@@ -104,7 +104,7 @@ namespace Foundation {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithRequest:delegate:"), request__handle__, connectionDelegate__handle__), "initWithRequest:delegate:");
} else {
@@ -129,7 +129,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate, bool startImmediately)
+ public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate, bool startImmediately)
: base (NSObjectFlag.Empty)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
@@ -137,7 +137,7 @@ namespace Foundation {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_bool (this.Handle, Selector.GetHandle ("initWithRequest:delegate:startImmediately:"), request__handle__, connectionDelegate__handle__, startImmediately), "initWithRequest:delegate:startImmediately:");
} else {
@@ -201,14 +201,14 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSUrlConnection FromRequest (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate)
+ public static NSUrlConnection? FromRequest (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
if (connectionDelegate != null) {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
return Runtime.GetNSObject<NSUrlConnection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("connectionWithRequest:delegate:"), request__handle__, connectionDelegate__handle__))!;
}
[Export ("performDefaultHandlingForAuthenticationChallenge:")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlRequest.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlRequest.g.cs
index c066405..594c1bf 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlRequest.g.cs
@@ -275,6 +275,27 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSURLRequestAttribution Attribution {
+ [Export ("attribution")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSURLRequestAttribution ret;
+ if (IsDirectBinding) {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("attribution"));
+ } else {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attribution"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSData Body {
[Export ("HTTPBody")]
get {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlSession.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlSession.g.cs
index 9c15d0f..c5d6cc6 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlSession.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlSession.g.cs
@@ -91,8 +91,24 @@ namespace Foundation {
return ret!;
}
[Export ("streamTaskWithNetService:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("macos10.11")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
index 5c0ee24..a9148fd 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
@@ -617,6 +617,45 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual bool RequiresDnsSecValidation {
+ [Export ("requiresDNSSECValidation")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("requiresDNSSECValidation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requiresDNSSECValidation"));
+ }
+ #endif
+ }
+ [Export ("setRequiresDNSSECValidation:")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setRequiresDNSSECValidation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setRequiresDNSSECValidation:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionTask.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionTask.g.cs
index 8100042..29a7b93 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionTask.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionTask.g.cs
@@ -339,6 +339,30 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public INSUrlSessionTaskDelegate? Delegate {
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ return (WeakDelegate as INSUrlSessionTaskDelegate)!;
+ }
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos11.0")]
[SupportedOSPlatform ("macos10.13")]
[SupportedOSPlatform ("ios11.0")]
@@ -607,6 +631,48 @@ namespace Foundation {
}
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ #endif
+ }
+ }
[Field ("NSURLSessionTransferSizeUnknown", "Foundation")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.9.0")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
index 703d710..fc4f253 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
@@ -62,6 +62,7 @@ namespace Foundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidFinishCollectingMetrics", Selector = "URLSession:task:didFinishCollectingMetrics:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask), typeof (NSUrlSessionTaskMetrics) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillBeginDelayedRequest", Selector = "URLSession:task:willBeginDelayedRequest:completionHandler:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask), typeof (NSUrlRequest), typeof (global::System.Action<NSUrlSessionDelayedRequestDisposition, NSUrlRequest>) }, ParameterByRef = new bool [] { false, false, false, false }, ParameterBlockProxy = new Type? [] { null, null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V12) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TaskIsWaitingForConnectivity", Selector = "URLSession:taskIsWaitingForConnectivity:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidCreateTask", Selector = "URLSession:didCreateTask:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask) }, ParameterByRef = new bool [] { false, false })]
public partial interface INSUrlSessionTaskDelegate : INativeObject, IDisposable,
Foundation.INSUrlSessionDelegate
{
@@ -201,6 +202,21 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:taskIsWaitingForConnectivity:"), session__handle__, task__handle__);
#endif
}
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var task__handle__ = task!.GetNonNullHandle (nameof (task));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:didCreateTask:"), session__handle__, task__handle__);
+ #endif
+ }
}
internal sealed class NSUrlSessionTaskDelegateWrapper : BaseWrapper, INSUrlSessionTaskDelegate {
[Preserve (Conditional = true)]
@@ -252,6 +268,20 @@ namespace Foundation {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("URLSession:didCreateTask:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
[Export ("URLSession:task:didFinishCollectingMetrics:")]
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("macos10.12")]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs
index 4701b88..d9ccda9 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs
@@ -199,7 +199,7 @@ namespace Foundation {
[SupportedOSPlatform ("tvos9.0.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetContinuationStreams ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V3))]global::System.Action<NSInputStream, NSOutputStream, NSError> completionHandler)
+ public unsafe virtual void GetContinuationStreams ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]global::System.Action<NSInputStream, NSOutputStream, NSError> completionHandler)
{
if (completionHandler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
@@ -207,7 +207,7 @@ namespace Foundation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V3.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("getContinuationStreamsWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUuid.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUuid.g.cs
index 092a347..0cfa90a 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSUuid.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUuid.g.cs
@@ -117,6 +117,27 @@ namespace Foundation {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("UUIDString")))!;
}
}
+ [Export ("compare:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSComparisonResult Compare (NSUuid otherUuid)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var otherUuid__handle__ = otherUuid!.GetNonNullHandle (nameof (otherUuid));
+ NSComparisonResult ret;
+ if (IsDirectBinding) {
+ ret = (NSComparisonResult) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("compare:"), otherUuid__handle__);
+ } else {
+ ret = (NSComparisonResult) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("compare:"), otherUuid__handle__);
+ }
+ return ret!;
+ #endif
+ }
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSValue.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSValue.g.cs
index 177aeee..1221fa6 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSValue.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSValue.g.cs
@@ -421,6 +421,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGPoint CGPointValue {
[Export ("CGPointValue")]
get {
@@ -450,6 +454,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGRect CGRectValue {
[Export ("CGRectValue")]
get {
@@ -479,6 +487,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGSize CGSizeValue {
[Export ("CGSizeValue")]
get {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSXpcConnection.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSXpcConnection.g.cs
index 39d1374..9a2eeeb 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSXpcConnection.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSXpcConnection.g.cs
@@ -78,6 +78,24 @@ namespace Foundation {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithListenerEndpoint:"), endpoint__handle__), "initWithListenerEndpoint:");
}
}
+ [Export ("activate")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos11.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Activate ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("activate"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activate"));
+ }
+ #endif
+ }
[Export ("invalidate")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Invalidate ()
@@ -90,6 +108,7 @@ namespace Foundation {
}
[Export ("resume")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Advice (@"Prefer using 'Activate' for initial activation of a connection.")]
public virtual void Resume ()
{
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSXpcListener.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSXpcListener.g.cs
index 8629211..c37fcd1 100644
--- a/old/dotnet/ios/generated-sources/Foundation/NSXpcListener.g.cs
+++ b/new/dotnet/ios/generated-sources/Foundation/NSXpcListener.g.cs
@@ -66,6 +66,24 @@ namespace Foundation {
{
}
+ [Export ("activate")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos11.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Activate ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("activate"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activate"));
+ }
+ #endif
+ }
[Export ("invalidate")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Invalidate ()
@@ -78,6 +96,7 @@ namespace Foundation {
}
[Export ("resume")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Advice (@"Prefer using 'Activate' for initial activation of a listener.")]
public virtual void Resume ()
{
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs
index 9c72b58..f3b3079 100644
--- a/old/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs
@@ -541,6 +541,10 @@ namespace GameKit {
[Advice ("Starting with macos10.11.")]
#endif
[UnsupportedOSPlatform ("macos10.11")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0.0.")]
@@ -578,6 +582,10 @@ namespace GameKit {
[Advice ("Starting with macos10.11.")]
#endif
[UnsupportedOSPlatform ("macos10.11")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0.0.")]
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKTurnBasedMatch.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKTurnBasedMatch.g.cs
index 92147ad..d28563f 100644
--- a/old/dotnet/ios/generated-sources/GameKit/GKTurnBasedMatch.g.cs
+++ b/new/dotnet/ios/generated-sources/GameKit/GKTurnBasedMatch.g.cs
@@ -219,6 +219,10 @@ namespace GameKit {
[Advice ("Starting with macos11.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
#endif
[UnsupportedOSPlatform ("macos11.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos14.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
#if __MACCATALYST__ && !__IOS__
@@ -263,6 +267,10 @@ namespace GameKit {
[Advice ("Starting with macos11.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
#endif
[UnsupportedOSPlatform ("macos11.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos14.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
#if __MACCATALYST__ && !__IOS__
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
index 061436a..e4911ca 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
@@ -72,7 +72,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe HKActivitySummaryQuery (NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError> handler)
+ public unsafe HKActivitySummaryQuery (NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError> handler)
: base (NSObjectFlag.Empty)
{
var predicate__handle__ = predicate.GetHandle ();
@@ -82,7 +82,7 @@ namespace HealthKit {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, handler);
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithPredicate:resultsHandler:"), predicate__handle__, (IntPtr) block_ptr_handler), "initWithPredicate:resultsHandler:");
} else {
@@ -94,7 +94,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
public unsafe virtual global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError>? UpdateHandler {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V4))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V5))]
[Export ("updateHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
@@ -105,9 +105,9 @@ namespace HealthKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("updateHandler"));
}
- return global::ObjCRuntime.Trampolines.NIDActionArity3V4.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDActionArity3V5.Create (ret)!;
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]
[Export ("setUpdateHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
@@ -116,7 +116,7 @@ namespace HealthKit {
BlockLiteral block_value;
block_value = new BlockLiteral ();
block_ptr_value = &block_value;
- block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, value);
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, value);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setUpdateHandler:"), (IntPtr) block_ptr_value);
} else {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
index 82a4f2e..5f631a6 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
@@ -176,7 +176,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void DeleteObjects (HKObjectType objectType, NSPredicate predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]global::System.Action<bool, nuint, NSError> completion)
+ public unsafe virtual void DeleteObjects (HKObjectType objectType, NSPredicate predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V6))]global::System.Action<bool, nuint, NSError> completion)
{
var objectType__handle__ = objectType!.GetNonNullHandle (nameof (objectType));
var predicate__handle__ = predicate!.GetNonNullHandle (nameof (predicate));
@@ -186,7 +186,7 @@ namespace HealthKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V6.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("deleteObjectsOfType:predicate:withCompletion:"), objectType__handle__, predicate__handle__, (IntPtr) block_ptr_completion);
} else {
@@ -696,7 +696,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void SplitTotalEnergy (HKQuantity totalEnergy, NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V6))]global::System.Action<HKQuantity, HKQuantity, NSError> resultsHandler)
+ public unsafe virtual void SplitTotalEnergy (HKQuantity totalEnergy, NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V7))]global::System.Action<HKQuantity, HKQuantity, NSError> resultsHandler)
{
var totalEnergy__handle__ = totalEnergy!.GetNonNullHandle (nameof (totalEnergy));
var startDate__handle__ = startDate!.GetNonNullHandle (nameof (startDate));
@@ -707,7 +707,7 @@ namespace HealthKit {
BlockLiteral block_resultsHandler;
block_resultsHandler = new BlockLiteral ();
block_ptr_resultsHandler = &block_resultsHandler;
- block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V6.Handler, resultsHandler);
+ block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V7.Handler, resultsHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("splitTotalEnergy:startDate:endDate:resultsHandler:"), totalEnergy__handle__, startDate__handle__, endDate__handle__, (IntPtr) block_ptr_resultsHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
index 0de0f22..2c7432e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
@@ -108,7 +108,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))] global::HealthKit.HKVerifiableClinicalRecordSourceType[] sourceTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V7))]global::System.Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord[], NSError> resultsHandler)
+ public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))] global::HealthKit.HKVerifiableClinicalRecordSourceType[] sourceTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord[], NSError> resultsHandler)
: base (NSObjectFlag.Empty)
{
#if ARCH_32
@@ -127,7 +127,7 @@ namespace HealthKit {
BlockLiteral block_resultsHandler;
block_resultsHandler = new BlockLiteral ();
block_ptr_resultsHandler = &block_resultsHandler;
- block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V7.Handler, resultsHandler);
+ block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V8.Handler, resultsHandler);
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithRecordTypes:sourceTypes:predicate:resultsHandler:"), nsa_recordTypes.Handle, nsb_sourceTypes.GetHandle (), predicate__handle__, (IntPtr) block_ptr_resultsHandler), "initWithRecordTypes:sourceTypes:predicate:resultsHandler:");
} else {
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
index 8c66011..64218ae 100644
--- a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
+++ b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
@@ -77,11 +77,11 @@ namespace Metal {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V114) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLRenderPipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V8) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V9) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V115) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V9) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V10) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (MTLComputePipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLComputePipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLNewComputePipelineStateWithReflectionCompletionHandler) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLNewComputePipelineStateWithReflectionCompletionHandler) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFence", Selector = "newFence", ReturnType = typeof (IMTLFence))]
@@ -355,7 +355,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler);
+ unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0.0")]
[SupportedOSPlatform ("macos10.11.0")]
@@ -389,7 +389,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newComputePipelineStateWithFunction:options:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler);
+ unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
@@ -1198,7 +1198,7 @@ namespace Metal {
}
[Export ("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler)
+ public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler)
{
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor));
if (completionHandler is null)
@@ -1207,7 +1207,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V8.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V9.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr_NativeHandle (this.Handle, Selector.GetHandle ("newRenderPipelineStateWithDescriptor:options:completionHandler:"), descriptor__handle__, (UIntPtr) (ulong) options, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
@@ -1258,7 +1258,7 @@ namespace Metal {
}
[Export ("newComputePipelineStateWithFunction:options:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler)
+ public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler)
{
var computeFunction__handle__ = computeFunction!.GetNonNullHandle (nameof (computeFunction));
if (completionHandler is null)
@@ -1267,7 +1267,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V9.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V10.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr_NativeHandle (this.Handle, Selector.GetHandle ("newComputePipelineStateWithFunction:options:completionHandler:"), computeFunction__handle__, (UIntPtr) (ulong) options, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
index 2d32d45..1e0b4fd 100644
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
@@ -54,7 +54,7 @@ namespace MetalPerformanceShadersGraph {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
- public unsafe partial class MPSGraphExecutableExecutionDescriptor : NSObject {
+ public unsafe partial class MPSGraphExecutableExecutionDescriptor : NSObject, INSCopying {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
#if ARCH_32
#pragma warning disable 649
@@ -92,6 +92,26 @@ namespace MetalPerformanceShadersGraph {
{
}
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("macos12.0.0")]
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
index fade5ea..1ae01bd 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -1576,6 +1576,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_Double_Double (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, double arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, UIntPtr arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, UIntPtr arg3);
@@ -2376,6 +2380,18 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NSRange (IntPtr receiver, IntPtr selector, NSRange arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NSRange NSRange_objc_msgSend_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NSRange NSRange_objc_msgSendSuper_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
+ public extern static void NSRange_objc_msgSend_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
+ public extern static void NSRange_objc_msgSendSuper_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static void void_objc_msgSend_Double_NativeHandle (IntPtr receiver, IntPtr selector, double arg1, NativeHandle arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_Double_NativeHandle (IntPtr receiver, IntPtr selector, double arg1, NativeHandle arg2);
@@ -2644,10 +2660,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr_NativeHandle_bool_ref_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2, NativeHandle arg3, [MarshalAs (UnmanagedType.I1)] bool arg4, ref NativeHandle arg5);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_UIntPtr_ref_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, UIntPtr arg4, ref NativeHandle arg5, ref NativeHandle arg6);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
@@ -2910,6 +2922,10 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NativeHandle_UIntPtr_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, nuint arg2, NativeHandle arg3, NativeHandle arg4, nuint arg5);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NSOperatingSystemVersion NSOperatingSystemVersion_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NSOperatingSystemVersion NSOperatingSystemVersion_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
@@ -3016,14 +3032,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_out_UIntPtr_out_UIntPtr_out_UIntPtr_NSRange (IntPtr receiver, IntPtr selector, out nuint arg1, out nuint arg2, out nuint arg3, NSRange arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NSRange NSRange_objc_msgSend_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NSRange NSRange_objc_msgSendSuper_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public extern static void NSRange_objc_msgSend_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public extern static void NSRange_objc_msgSendSuper_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NSRange_NativeHandle_NativeHandle_Double (IntPtr receiver, IntPtr selector, NSRange arg1, NativeHandle arg2, NativeHandle arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NSRange_NativeHandle_NativeHandle_Double (IntPtr receiver, IntPtr selector, NSRange arg1, NativeHandle arg2, NativeHandle arg3, double arg4);
@@ -6798,10 +6806,6 @@ namespace ObjCRuntime {
[DllImport ("__Internal", EntryPoint="xamarin_simd__NativeHandle_objc_msgSendSuper_NativeHandle_Vector4")]
public extern static NativeHandle xamarin_simd__NativeHandle_objc_msgSendSuper_NativeHandle_Vector4 (IntPtr receiver, IntPtr selector, NativeHandle arg1, global::System.Numerics.Vector4 arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static nint IntPtr_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static nint IntPtr_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
index 5e06281..3f33be8 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
@@ -4988,6 +4988,48 @@ namespace ObjCRuntime {
}
} /* class NIDLinguisticTagEnumerator */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (LoadFileRepresentationHandler))]
+ internal delegate void DLoadFileRepresentationHandler (IntPtr block, NativeHandle fileUrl, bool openInPlace, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDLoadFileRepresentationHandler {
+ static internal readonly DLoadFileRepresentationHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DLoadFileRepresentationHandler))]
+ static unsafe void Invoke (IntPtr block, NativeHandle fileUrl, bool openInPlace, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (LoadFileRepresentationHandler) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<NSUrl> (fileUrl)!, openInPlace, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDLoadFileRepresentationHandler */
+ internal sealed class NIDLoadFileRepresentationHandler : TrampolineBlockBase {
+ DLoadFileRepresentationHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDLoadFileRepresentationHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DLoadFileRepresentationHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static LoadFileRepresentationHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (LoadFileRepresentationHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDLoadFileRepresentationHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (NSUrl fileUrl, bool openInPlace, NSError error)
+ {
+ var fileUrl__handle__ = fileUrl.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, fileUrl__handle__, openInPlace, error__handle__);
+ }
+ } /* class NIDLoadFileRepresentationHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (LoadInPlaceFileRepresentationHandler))]
internal delegate void DLoadInPlaceFileRepresentationHandler (IntPtr block, NativeHandle fileUrl, bool isInPlace, NativeHandle error);
//
@@ -30694,6 +30736,49 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity3V1 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>))]
+ internal delegate void DActionArity3V2 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDActionArity3V2 {
+ static internal readonly DActionArity3V2 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DActionArity3V2))]
+ static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<CloudKit.CKRecordID> (arg1)!, Runtime.GetNSObject<CloudKit.CKShare> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
+ }
+ } /* class SDActionArity3V2 */
+ internal sealed class NIDActionArity3V2 : TrampolineBlockBase {
+ DActionArity3V2 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDActionArity3V2 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DActionArity3V2> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity3V2 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::CloudKit.CKRecordID arg1, global::CloudKit.CKShare arg2, NSError arg3)
+ {
+ var arg1__handle__ = arg1.GetHandle ();
+ var arg2__handle__ = arg2.GetHandle ();
+ var arg3__handle__ = arg3.GetHandle ();
+ invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
+ }
+ } /* class NIDActionArity3V2 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::CoreMedia.CMSampleBuffer, global::AVFoundation.AVCaptureBracketedStillImageSettings, NSError>))]
internal delegate void DActionArity3V0 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
@@ -30738,28 +30823,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity3V0 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>))]
- internal delegate void DActionArity3V12 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V13 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V12 {
- static internal readonly DActionArity3V12 Handler = Invoke;
+ static internal class SDActionArity3V13 {
+ static internal readonly DActionArity3V13 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V12))]
+ [MonoPInvokeCallback (typeof (DActionArity3V13))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>) (descriptor->Target);
if (del != null)
del (arg1 == IntPtr.Zero ? null! : new CMSampleBuffer (arg1, false), (ReplayKit.RPSampleBufferType) (long) arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V12 */
- internal sealed class NIDActionArity3V12 : TrampolineBlockBase {
- DActionArity3V12 invoker;
+ } /* class SDActionArity3V13 */
+ internal sealed class NIDActionArity3V13 : TrampolineBlockBase {
+ DActionArity3V13 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V12 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V13 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V12> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V13> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30768,7 +30853,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V12 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V13 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::CoreMedia.CMSampleBuffer arg1, global::ReplayKit.RPSampleBufferType arg2, NSError arg3)
@@ -30777,31 +30862,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, (IntPtr) (long) arg2, arg3__handle__);
}
- } /* class NIDActionArity3V12 */
+ } /* class NIDActionArity3V13 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSData, NSHttpUrlResponse, NSError>))]
- internal delegate void DActionArity3V13 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V14 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V13 {
- static internal readonly DActionArity3V13 Handler = Invoke;
+ static internal class SDActionArity3V14 {
+ static internal readonly DActionArity3V14 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V13))]
+ [MonoPInvokeCallback (typeof (DActionArity3V14))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSData, NSHttpUrlResponse, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSData> (arg1)!, Runtime.GetNSObject<NSHttpUrlResponse> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V13 */
- internal sealed class NIDActionArity3V13 : TrampolineBlockBase {
- DActionArity3V13 invoker;
+ } /* class SDActionArity3V14 */
+ internal sealed class NIDActionArity3V14 : TrampolineBlockBase {
+ DActionArity3V14 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V13 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V14 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V13> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V14> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30810,7 +30895,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSData, NSHttpUrlResponse, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V13 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V14 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSData arg1, NSHttpUrlResponse arg2, NSError arg3)
@@ -30820,31 +30905,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V13 */
+ } /* class NIDActionArity3V14 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSInputStream, NSOutputStream, NSError>))]
- internal delegate void DActionArity3V3 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V4 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V3 {
- static internal readonly DActionArity3V3 Handler = Invoke;
+ static internal class SDActionArity3V4 {
+ static internal readonly DActionArity3V4 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V3))]
+ [MonoPInvokeCallback (typeof (DActionArity3V4))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSInputStream, NSOutputStream, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSInputStream> (arg1)!, Runtime.GetNSObject<NSOutputStream> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V3 */
- internal sealed class NIDActionArity3V3 : TrampolineBlockBase {
- DActionArity3V3 invoker;
+ } /* class SDActionArity3V4 */
+ internal sealed class NIDActionArity3V4 : TrampolineBlockBase {
+ DActionArity3V4 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V3 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V4 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V3> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V4> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30853,7 +30938,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSInputStream, NSOutputStream, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V3 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V4 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSInputStream arg1, NSOutputStream arg2, NSError arg3)
@@ -30863,31 +30948,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V3 */
+ } /* class NIDActionArity3V4 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>))]
- internal delegate void DActionArity3V4 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V5 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V4 {
- static internal readonly DActionArity3V4 Handler = Invoke;
+ static internal class SDActionArity3V5 {
+ static internal readonly DActionArity3V5 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V4))]
+ [MonoPInvokeCallback (typeof (DActionArity3V5))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKActivitySummaryQuery> (arg1)!, CFArray.ArrayFromHandle<global::HealthKit.HKActivitySummary> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V4 */
- internal sealed class NIDActionArity3V4 : TrampolineBlockBase {
- DActionArity3V4 invoker;
+ } /* class SDActionArity3V5 */
+ internal sealed class NIDActionArity3V5 : TrampolineBlockBase {
+ DActionArity3V5 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V4 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V5 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V4> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V5> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30896,7 +30981,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V4 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V5 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKActivitySummaryQuery arg1, global::HealthKit.HKActivitySummary[] arg2, NSError arg3)
@@ -30910,31 +30995,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity3V4 */
+ } /* class NIDActionArity3V5 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>))]
- internal delegate void DActionArity3V6 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V7 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V6 {
- static internal readonly DActionArity3V6 Handler = Invoke;
+ static internal class SDActionArity3V7 {
+ static internal readonly DActionArity3V7 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V6))]
+ [MonoPInvokeCallback (typeof (DActionArity3V7))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKQuantity> (arg1)!, Runtime.GetNSObject<HealthKit.HKQuantity> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V6 */
- internal sealed class NIDActionArity3V6 : TrampolineBlockBase {
- DActionArity3V6 invoker;
+ } /* class SDActionArity3V7 */
+ internal sealed class NIDActionArity3V7 : TrampolineBlockBase {
+ DActionArity3V7 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V6 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V7 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V6> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V7> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30943,7 +31028,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V6 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V7 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKQuantity arg1, global::HealthKit.HKQuantity arg2, NSError arg3)
@@ -30953,31 +31038,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V6 */
+ } /* class NIDActionArity3V7 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>))]
- internal delegate void DActionArity3V7 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V8 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V7 {
- static internal readonly DActionArity3V7 Handler = Invoke;
+ static internal class SDActionArity3V8 {
+ static internal readonly DActionArity3V8 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V7))]
+ [MonoPInvokeCallback (typeof (DActionArity3V8))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKVerifiableClinicalRecordQuery> (arg1)!, CFArray.ArrayFromHandle<global::HealthKit.HKVerifiableClinicalRecord> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V7 */
- internal sealed class NIDActionArity3V7 : TrampolineBlockBase {
- DActionArity3V7 invoker;
+ } /* class SDActionArity3V8 */
+ internal sealed class NIDActionArity3V8 : TrampolineBlockBase {
+ DActionArity3V8 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V7 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V8 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V7> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V8> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -30986,7 +31071,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V7 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V8 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKVerifiableClinicalRecordQuery arg1, global::HealthKit.HKVerifiableClinicalRecord[] arg2, NSError arg3)
@@ -31000,31 +31085,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity3V7 */
+ } /* class NIDActionArity3V8 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>))]
- internal delegate void DActionArity3V9 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V10 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V9 {
- static internal readonly DActionArity3V9 Handler = Invoke;
+ static internal class SDActionArity3V10 {
+ static internal readonly DActionArity3V10 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V9))]
+ [MonoPInvokeCallback (typeof (DActionArity3V10))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLComputePipelineState> (arg1, false)!, Runtime.GetNSObject<MTLComputePipelineReflection> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V9 */
- internal sealed class NIDActionArity3V9 : TrampolineBlockBase {
- DActionArity3V9 invoker;
+ } /* class SDActionArity3V10 */
+ internal sealed class NIDActionArity3V10 : TrampolineBlockBase {
+ DActionArity3V10 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V9 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V10 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V9> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V10> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31033,7 +31118,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V9 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V10 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLComputePipelineState arg1, global::Metal.MTLComputePipelineReflection arg2, NSError arg3)
@@ -31043,31 +31128,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V9 */
+ } /* class NIDActionArity3V10 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>))]
- internal delegate void DActionArity3V8 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V9 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V8 {
- static internal readonly DActionArity3V8 Handler = Invoke;
+ static internal class SDActionArity3V9 {
+ static internal readonly DActionArity3V9 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V8))]
+ [MonoPInvokeCallback (typeof (DActionArity3V9))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLRenderPipelineState> (arg1, false)!, Runtime.GetNSObject<MTLRenderPipelineReflection> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V8 */
- internal sealed class NIDActionArity3V8 : TrampolineBlockBase {
- DActionArity3V8 invoker;
+ } /* class SDActionArity3V9 */
+ internal sealed class NIDActionArity3V9 : TrampolineBlockBase {
+ DActionArity3V9 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V8 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V9 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V8> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V9> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31076,7 +31161,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V8 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V9 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLRenderPipelineState arg1, global::Metal.MTLRenderPipelineReflection arg2, NSError arg3)
@@ -31086,31 +31171,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V8 */
+ } /* class NIDActionArity3V9 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>))]
- internal delegate void DActionArity3V10 (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V11 (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V10 {
- static internal readonly DActionArity3V10 Handler = Invoke;
+ static internal class SDActionArity3V11 {
+ static internal readonly DActionArity3V11 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V10))]
+ [MonoPInvokeCallback (typeof (DActionArity3V11))]
static unsafe void Invoke (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) (descriptor->Target);
if (del != null)
del ((PassKit.PKPaymentAuthorizationStatus) (long) arg1, CFArray.ArrayFromHandle<global::PassKit.PKShippingMethod> (arg2)!, CFArray.ArrayFromHandle<global::PassKit.PKPaymentSummaryItem> (arg3)!);
}
- } /* class SDActionArity3V10 */
- internal sealed class NIDActionArity3V10 : TrampolineBlockBase {
- DActionArity3V10 invoker;
+ } /* class SDActionArity3V11 */
+ internal sealed class NIDActionArity3V11 : TrampolineBlockBase {
+ DActionArity3V11 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V10 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V11 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V10> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V11> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31119,7 +31204,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V10 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V11 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::PassKit.PKPaymentAuthorizationStatus arg1, global::PassKit.PKShippingMethod[] arg2, global::PassKit.PKPaymentSummaryItem[] arg3)
@@ -31136,31 +31221,31 @@ namespace ObjCRuntime {
if (nsa_arg3 != null)
nsa_arg3.Dispose ();
}
- } /* class NIDActionArity3V10 */
+ } /* class NIDActionArity3V11 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>))]
- internal delegate void DActionArity3V11 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V12 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V11 {
- static internal readonly DActionArity3V11 Handler = Invoke;
+ static internal class SDActionArity3V12 {
+ static internal readonly DActionArity3V12 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V11))]
+ [MonoPInvokeCallback (typeof (DActionArity3V12))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<QuickLookThumbnailing.QLThumbnailRepresentation> (arg1)!, (QuickLookThumbnailing.QLThumbnailRepresentationType) (long) arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V11 */
- internal sealed class NIDActionArity3V11 : TrampolineBlockBase {
- DActionArity3V11 invoker;
+ } /* class SDActionArity3V12 */
+ internal sealed class NIDActionArity3V12 : TrampolineBlockBase {
+ DActionArity3V12 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V11 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V12 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V11> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V12> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31169,7 +31254,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V11 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V12 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::QuickLookThumbnailing.QLThumbnailRepresentation arg1, global::QuickLookThumbnailing.QLThumbnailRepresentationType arg2, NSError arg3)
@@ -31178,31 +31263,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, (IntPtr) (long) arg2, arg3__handle__);
}
- } /* class NIDActionArity3V11 */
+ } /* class NIDActionArity3V12 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<bool, nuint, NSError>))]
- internal delegate void DActionArity3V5 (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V6 (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V5 {
- static internal readonly DActionArity3V5 Handler = Invoke;
+ static internal class SDActionArity3V6 {
+ static internal readonly DActionArity3V6 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V5))]
+ [MonoPInvokeCallback (typeof (DActionArity3V6))]
static unsafe void Invoke (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<bool, nuint, NSError>) (descriptor->Target);
if (del != null)
del (arg1, arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V5 */
- internal sealed class NIDActionArity3V5 : TrampolineBlockBase {
- DActionArity3V5 invoker;
+ } /* class SDActionArity3V6 */
+ internal sealed class NIDActionArity3V6 : TrampolineBlockBase {
+ DActionArity3V6 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V5 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V6 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V5> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V6> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31211,7 +31296,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<bool, nuint, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V5 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V6 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (bool arg1, nuint arg2, NSError arg3)
@@ -31219,31 +31304,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1, arg2, arg3__handle__);
}
- } /* class NIDActionArity3V5 */
+ } /* class NIDActionArity3V6 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<nint, nint, NSArray<NSNumber>>))]
- internal delegate void DActionArity3V2 (IntPtr block, nint arg1, nint arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V3 (IntPtr block, nint arg1, nint arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V2 {
- static internal readonly DActionArity3V2 Handler = Invoke;
+ static internal class SDActionArity3V3 {
+ static internal readonly DActionArity3V3 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V2))]
+ [MonoPInvokeCallback (typeof (DActionArity3V3))]
static unsafe void Invoke (IntPtr block, nint arg1, nint arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<nint, nint, NSArray<NSNumber>>) (descriptor->Target);
if (del != null)
del (arg1, arg2, Runtime.GetNSObject<global::Foundation.NSArray<NSNumber>> (arg3)!);
}
- } /* class SDActionArity3V2 */
- internal sealed class NIDActionArity3V2 : TrampolineBlockBase {
- DActionArity3V2 invoker;
+ } /* class SDActionArity3V3 */
+ internal sealed class NIDActionArity3V3 : TrampolineBlockBase {
+ DActionArity3V3 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V2 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V3 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V2> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V3> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -31252,7 +31337,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<nint, nint, NSArray<NSNumber>>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V2 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V3 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (nint arg1, nint arg2, NSArray<NSNumber> arg3)
@@ -31260,7 +31345,7 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1, arg2, arg3__handle__);
}
- } /* class NIDActionArity3V2 */
+ } /* class NIDActionArity3V3 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKDocumentQuery, global::HealthKit.HKDocumentSample[], bool, NSError>))]
internal delegate void DActionArity4V0 (IntPtr block, NativeHandle arg1, NativeHandle arg2, bool arg3, NativeHandle arg4);
diff --git a/old/dotnet/ios/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
index ba0ebd2..97df8ae 100644
--- a/old/dotnet/ios/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
@@ -59,7 +59,7 @@ namespace PassKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillAuthorizePayment", Selector = "paymentAuthorizationControllerWillAuthorizePayment:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingMethod", Selector = "paymentAuthorizationController:didSelectShippingMethod:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKShippingMethod), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V124) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingMethod", Selector = "paymentAuthorizationController:didSelectShippingMethod:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentRequestPaymentMethodUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V220) })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V10) })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V11) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentRequestShippingContactUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V221) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPaymentMethod", Selector = "paymentAuthorizationController:didSelectPaymentMethod:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V222) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPaymentMethod", Selector = "paymentAuthorizationController:didSelectPaymentMethod:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentRequestPaymentMethodUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V220) })]
@@ -194,7 +194,7 @@ namespace PassKit {
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void DidSelectShippingContact (this IPKPaymentAuthorizationControllerDelegate This, PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
+ public unsafe static void DidSelectShippingContact (this IPKPaymentAuthorizationControllerDelegate This, PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
{
var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
var contact__handle__ = contact!.GetNonNullHandle (nameof (contact));
@@ -204,7 +204,7 @@ namespace PassKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V10.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V11.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("paymentAuthorizationController:didSelectShippingContact:completion:"), controller__handle__, contact__handle__, (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
}
@@ -492,7 +492,7 @@ namespace PassKit {
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
+ public unsafe virtual void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs b/new/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
index f82e976..7006edd 100644
--- a/old/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
+++ b/new/dotnet/ios/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
@@ -139,7 +139,7 @@ namespace QuickLookThumbnailing {
[SupportedOSPlatform ("ios13.0.0")]
[SupportedOSPlatform ("maccatalyst13.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GenerateRepresentations (QLThumbnailGenerationRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<QLThumbnailRepresentation, QLThumbnailRepresentationType, NSError>? updateHandler)
+ public unsafe virtual void GenerateRepresentations (QLThumbnailGenerationRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<QLThumbnailRepresentation, QLThumbnailRepresentationType, NSError>? updateHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -152,7 +152,7 @@ namespace QuickLookThumbnailing {
} else {
block_updateHandler = new BlockLiteral ();
block_ptr_updateHandler = &block_updateHandler;
- block_updateHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V11.Handler, updateHandler);
+ block_updateHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V12.Handler, updateHandler);
}
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("generateRepresentationsForRequest:updateHandler:"), request__handle__, (IntPtr) block_ptr_updateHandler);
diff --git a/old/dotnet/ios/generated-sources/ReplayKit/RPScreenRecorder.g.cs b/new/dotnet/ios/generated-sources/ReplayKit/RPScreenRecorder.g.cs
index bd9287a..3e95412 100644
--- a/old/dotnet/ios/generated-sources/ReplayKit/RPScreenRecorder.g.cs
+++ b/new/dotnet/ios/generated-sources/ReplayKit/RPScreenRecorder.g.cs
@@ -144,7 +144,7 @@ namespace ReplayKit {
[SupportedOSPlatform ("maccatalyst11.0.0")]
[SupportedOSPlatform ("macos11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void StartCapture ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V0))]global::System.Action<NSError>? completionHandler)
+ public unsafe void StartCapture ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V0))]global::System.Action<NSError>? completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -156,7 +156,7 @@ namespace ReplayKit {
} else {
block_captureHandler = new BlockLiteral ();
block_ptr_captureHandler = &block_captureHandler;
- block_captureHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V12.Handler, captureHandler);
+ block_captureHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V13.Handler, captureHandler);
}
BlockLiteral *block_ptr_completionHandler;
BlockLiteral block_completionHandler;
@@ -179,7 +179,7 @@ namespace ReplayKit {
[SupportedOSPlatform ("maccatalyst11.0.0")]
[SupportedOSPlatform ("macos11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe Task StartCaptureAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler)
+ public unsafe Task StartCaptureAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler)
{
var tcs = new TaskCompletionSource<bool> ();
StartCapture(captureHandler, (obj_) => {
diff --git a/old/dotnet/ios/generated-sources/Social/SLRequest.g.cs b/new/dotnet/ios/generated-sources/Social/SLRequest.g.cs
index 13ef494..36e005c 100644
--- a/old/dotnet/ios/generated-sources/Social/SLRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/Social/SLRequest.g.cs
@@ -110,7 +110,7 @@ namespace Social {
}
[Export ("performRequestWithHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void PerformRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<NSData, NSHttpUrlResponse, NSError> handler)
+ public unsafe virtual void PerformRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V14))]global::System.Action<NSData, NSHttpUrlResponse, NSError> handler)
{
if (handler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (handler));
@@ -118,7 +118,7 @@ namespace Social {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V13.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V14.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("performRequestWithHandler:"), (IntPtr) block_ptr_handler);
} else {
diff --git a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
index c0f4821..e115f89 100644
--- a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs
+++ b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs
@@ -230,6 +230,7 @@ namespace Foundation {
public delegate void EnumerateIndexSetCallback (nuint idx, ref bool stop);
public delegate void ItemProviderDataCompletionHandler (NSData data, NSError error);
public delegate void LinguisticTagEnumerator (string tag, NSRange tokenRange, bool stop);
+ public delegate void LoadFileRepresentationHandler (NSUrl fileUrl, bool openInPlace, NSError error);
public delegate void LoadInPlaceFileRepresentationHandler (NSUrl fileUrl, bool isInPlace, NSError error);
public delegate void NSAttributedRangeCallback (NSDictionary attrs, NSRange range, ref bool stop);
public delegate void NSAttributedStringCallback (NSObject value, NSRange range, ref bool stop);
diff --git a/new/dotnet/ios/generated-sources/VideoSubscriberAccount/VSUserAccountQueryOption.g.cs b/new/dotnet/ios/generated-sources/VideoSubscriberAccount/VSUserAccountQueryOption.g.cs
new file mode 100644
index 0000000..33dd286
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/VideoSubscriberAccount/VSUserAccountQueryOption.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace VideoSubscriberAccount {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [Native]
+ public enum VSUserAccountQueryOption : ulong {
+ None = 0,
+ AllDevices = 1,
+ }
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
index f196412..3cc0383 100644
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
@@ -221,6 +221,17 @@ namespace AVFoundation {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("URLSession:didCreateTask:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
[Export ("URLSession:task:didFinishCollectingMetrics:")]
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("macos10.12")]
diff --git a/new/dotnet/maccatalyst/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
new file mode 100644
index 0000000..e9fc38d
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
@@ -0,0 +1,220 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKAllowedSharingOptions", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKAllowedSharingOptions : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKAllowedSharingOptions");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public CKAllowedSharingOptions (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKAllowedSharingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKAllowedSharingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKAllowedSharingOptions (CKSharingParticipantPermissionOption allowedParticipantPermissionOptions, CKSharingParticipantAccessOption allowedParticipantAccessOptions)
+ : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_UIntPtr (this.Handle, Selector.GetHandle ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:"), (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (this.SuperHandle, Selector.GetHandle ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:"), (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ }
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantAccessOption AllowedParticipantAccessOptions {
+ [Export ("allowedParticipantAccessOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKSharingParticipantAccessOption ret;
+ if (IsDirectBinding) {
+ ret = (CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedParticipantAccessOptions"));
+ } else {
+ ret = (CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedParticipantAccessOptions"));
+ }
+ return ret!;
+ }
+ [Export ("setAllowedParticipantAccessOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedParticipantAccessOptions:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedParticipantAccessOptions:"), (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantPermissionOption AllowedParticipantPermissionOptions {
+ [Export ("allowedParticipantPermissionOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKSharingParticipantPermissionOption ret;
+ if (IsDirectBinding) {
+ ret = (CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("allowedParticipantPermissionOptions"));
+ } else {
+ ret = (CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowedParticipantPermissionOptions"));
+ }
+ return ret!;
+ }
+ [Export ("setAllowedParticipantPermissionOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAllowedParticipantPermissionOptions:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAllowedParticipantPermissionOptions:"), (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public static CKAllowedSharingOptions StandardOptions {
+ [Export ("standardOptions", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKAllowedSharingOptions? ret;
+ ret = Runtime.GetNSObject<CKAllowedSharingOptions> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("standardOptions")))!;
+ return ret!;
+ }
+ }
+ } /* class CKAllowedSharingOptions */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
new file mode 100644
index 0000000..9b7d9e4
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantAccessOption : ulong {
+ AnyoneWithLink = 1,
+ SpecifiedRecipientsOnly = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
new file mode 100644
index 0000000..223f2e3
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantPermissionOption : ulong {
+ ReadOnly = 1,
+ ReadWrite = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
new file mode 100644
index 0000000..9895987
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
@@ -0,0 +1,173 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKSystemSharingUIObserver", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKSystemSharingUIObserver : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKSystemSharingUIObserver");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKSystemSharingUIObserver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKSystemSharingUIObserver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithContainer:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKSystemSharingUIObserver (CKContainer container)
+ : base (NSObjectFlag.Empty)
+ {
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithContainer:"), container__handle__), "initWithContainer:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithContainer:"), container__handle__), "initWithContainer:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, CKShare, NSError>? SystemSharingUIDidSaveShareHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V2))]
+ [Export ("systemSharingUIDidSaveShareBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("systemSharingUIDidSaveShareBlock"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("systemSharingUIDidSaveShareBlock"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity3V2.Create (ret)!;
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V2))]
+ [Export ("setSystemSharingUIDidSaveShareBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V2.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSystemSharingUIDidSaveShareBlock:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSystemSharingUIDidSaveShareBlock:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, NSError>? SystemSharingUIDidStopSharingHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity2V38))]
+ [Export ("systemSharingUIDidStopSharingBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("systemSharingUIDidStopSharingBlock"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("systemSharingUIDidStopSharingBlock"));
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity2V38.Create (ret)!;
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V38))]
+ [Export ("setSystemSharingUIDidStopSharingBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity2V38.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSystemSharingUIDidStopSharingBlock:"), (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSystemSharingUIDidStopSharingBlock:"), (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ }
+ }
+ } /* class CKSystemSharingUIObserver */
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs
index e4472e8..9866295 100644
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs
@@ -232,7 +232,7 @@ namespace CoreML {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V2))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
+ public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V3))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
{
if (handler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (handler));
@@ -240,7 +240,7 @@ namespace CoreML {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V2.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V3.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("getMutableBytesWithHandler:"), (IntPtr) block_ptr_handler);
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSActivityOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSActivityOptions.g.cs
index a638810..ac63ecc 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSActivityOptions.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSActivityOptions.g.cs
@@ -55,6 +55,9 @@ namespace Foundation {
IdleSystemSleepDisabled = 1048576,
SuddenTerminationDisabled = 16384,
AutomaticTerminationDisabled = 32768,
+ AnimationTrackingEnabled = 35184372088832,
+ TrackingEnabled = 70368744177664,
+ UserInteractive = 1095233437695,
UserInitiated = 16777215,
Background = 255,
LatencyCritical = 1095216660480,
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs
index 4fdd356..63a20e8 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs
@@ -174,6 +174,69 @@ namespace Foundation {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithAttributedString:"), other__handle__), "initWithAttributedString:");
}
}
+ [Export ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ var markdownFile__handle__ = markdownFile!.GetNonNullHandle (nameof (markdownFile));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"), markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"), markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
+ [Export ("initWithMarkdown:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ var markdown__handle__ = markdown!.GetNonNullHandle (nameof (markdown));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithMarkdown:options:baseURL:error:"), markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMarkdown:options:baseURL:error:"), markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
+ [Export ("initWithMarkdownString:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ if (markdownString is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (markdownString));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ var nsmarkdownString = CFString.CreateNative (markdownString);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("initWithMarkdownString:options:baseURL:error:"), nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMarkdownString:options:baseURL:error:"), nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ }
+ CFString.ReleaseNative (nsmarkdownString);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
[Export ("containsAttachmentsInRange:")]
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("ios9.0")]
@@ -875,6 +938,23 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSAttributedString AttributedStringByInflectingString {
+ [Export ("attributedStringByInflectingString")]
+ get {
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("attributedStringByInflectingString")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attributedStringByInflectingString")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual nint Length {
[Export ("length")]
get {
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
new file mode 100644
index 0000000..8a85599
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Flags]
+ [Native]
+ public enum NSAttributedStringFormattingOptions : ulong {
+ InsertArgumentAttributesWithoutMerging = 1,
+ ApplyReplacementIndexAttribute = 2,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
new file mode 100644
index 0000000..234cfe5
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownInterpretedSyntax : long {
+ Full = 0,
+ InlineOnly = 1,
+ InlineOnlyPreservingWhitespace = 2,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
new file mode 100644
index 0000000..4922c37
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownParsingFailurePolicy : long {
+ Error = 0,
+ PartiallyParsedIfPossible = 1,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
new file mode 100644
index 0000000..36bedcf
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
@@ -0,0 +1,267 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownParsingOptions", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSAttributedStringMarkdownParsingOptions : NSObject, INSCopying {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownParsingOptions");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownParsingOptions () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownParsingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool AllowsExtendedAttributes {
+ [Export ("allowsExtendedAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("allowsExtendedAttributes"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allowsExtendedAttributes"));
+ }
+ }
+ [Export ("setAllowsExtendedAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAllowsExtendedAttributes:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAllowsExtendedAttributes:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual bool AppliesSourcePositionAttributes {
+ [Export ("appliesSourcePositionAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("appliesSourcePositionAttributes"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("appliesSourcePositionAttributes"));
+ }
+ }
+ [Export ("setAppliesSourcePositionAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAppliesSourcePositionAttributes:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAppliesSourcePositionAttributes:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy {
+ [Export ("failurePolicy", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSAttributedStringMarkdownParsingFailurePolicy ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("failurePolicy"));
+ } else {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("failurePolicy"));
+ }
+ return ret!;
+ }
+ [Export ("setFailurePolicy:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFailurePolicy:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setFailurePolicy:"), (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax {
+ [Export ("interpretedSyntax", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSAttributedStringMarkdownInterpretedSyntax ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("interpretedSyntax"));
+ } else {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("interpretedSyntax"));
+ }
+ return ret!;
+ }
+ [Export ("setInterpretedSyntax:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setInterpretedSyntax:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setInterpretedSyntax:"), (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? LanguageCode {
+ [Export ("languageCode")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("languageCode")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("languageCode")))!;
+ }
+ }
+ [Export ("setLanguageCode:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLanguageCode:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLanguageCode:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class NSAttributedStringMarkdownParsingOptions */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
new file mode 100644
index 0000000..c030725
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
@@ -0,0 +1,245 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownSourcePosition", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe partial class NSAttributedStringMarkdownSourcePosition : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownSourcePosition");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownSourcePosition () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSAttributedStringMarkdownSourcePosition (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownSourcePosition (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithStartLine:startColumn:endLine:endColumn:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn)
+ : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (this.Handle, Selector.GetHandle ("initWithStartLine:startColumn:endLine:endColumn:"), startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithStartLine:startColumn:endLine:endColumn:"), startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ }
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("rangeInString:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSRange RangeInString (string @string)
+ {
+ if (@string is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (@string));
+ var nsstring = CFString.CreateNative (@string);
+ NSRange ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("rangeInString:"), nsstring);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("rangeInString:"), nsstring);
+ }
+ CFString.ReleaseNative (nsstring);
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndColumn {
+ [Export ("endColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("endColumn"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endColumn"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndLine {
+ [Export ("endLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("endLine"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endLine"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartColumn {
+ [Export ("startColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("startColumn"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startColumn"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartLine {
+ [Export ("startLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("startLine"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startLine"));
+ }
+ }
+ }
+ } /* class NSAttributedStringMarkdownSourcePosition */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringNameKey.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
new file mode 100644
index 0000000..e97d2ef
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
@@ -0,0 +1,253 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public enum NSAttributedStringNameKey : int {
+ AlternateDescription = 0,
+ ImageUrl = 1,
+ InflectionRule = 2,
+ InflectionAlternative = 3,
+ InlinePresentationIntent = 4,
+ LanguageIdentifier = 5,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ MarkdownSourcePosition = 6,
+ Morphology = 7,
+ PresentationIntentAttributeName = 8,
+ ReplacementIndex = 9,
+ }
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class NSAttributedStringNameKeyExtensions {
+ static IntPtr[] values = new IntPtr [10];
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSAlternateDescriptionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSAlternateDescriptionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [0])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSAlternateDescriptionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSImageURLAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSImageURLAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [1])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSImageURLAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionRuleAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionRuleAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [2])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionRuleAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionAlternativeAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionAlternativeAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [3])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionAlternativeAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInlinePresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInlinePresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [4])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInlinePresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSLanguageIdentifierAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSLanguageIdentifierAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [5])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSLanguageIdentifierAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [Field ("NSMarkdownSourcePositionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMarkdownSourcePositionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [6])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMarkdownSourcePositionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSMorphologyAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMorphologyAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [7])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMorphologyAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSPresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSPresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [8])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSPresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSReplacementIndexAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSReplacementIndexAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [9])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSReplacementIndexAttributeName", storage);
+ }
+ }
+ public static NSString? GetConstant (this NSAttributedStringNameKey self)
+ {
+ IntPtr ptr = IntPtr.Zero;
+ switch ((int) self) {
+ case 0: // NSAttributedStringNameKey.AlternateDescription
+ ptr = NSAlternateDescriptionAttributeName;
+ break;
+ case 1: // NSAttributedStringNameKey.ImageUrl
+ ptr = NSImageURLAttributeName;
+ break;
+ case 2: // NSAttributedStringNameKey.InflectionRule
+ ptr = NSInflectionRuleAttributeName;
+ break;
+ case 3: // NSAttributedStringNameKey.InflectionAlternative
+ ptr = NSInflectionAlternativeAttributeName;
+ break;
+ case 4: // NSAttributedStringNameKey.InlinePresentationIntent
+ ptr = NSInlinePresentationIntentAttributeName;
+ break;
+ case 5: // NSAttributedStringNameKey.LanguageIdentifier
+ ptr = NSLanguageIdentifierAttributeName;
+ break;
+ case 6: // NSAttributedStringNameKey.MarkdownSourcePosition
+ ptr = NSMarkdownSourcePositionAttributeName;
+ break;
+ case 7: // NSAttributedStringNameKey.Morphology
+ ptr = NSMorphologyAttributeName;
+ break;
+ case 8: // NSAttributedStringNameKey.PresentationIntentAttributeName
+ ptr = NSPresentationIntentAttributeName;
+ break;
+ case 9: // NSAttributedStringNameKey.ReplacementIndex
+ ptr = NSReplacementIndexAttributeName;
+ break;
+ }
+ return (NSString?) Runtime.GetNSObject (ptr);
+ }
+ public static NSAttributedStringNameKey GetValue (NSString constant)
+ {
+ if (constant is null)
+ throw new ArgumentNullException (nameof (constant));
+ if (constant.IsEqualTo (NSAlternateDescriptionAttributeName))
+ return NSAttributedStringNameKey.AlternateDescription;
+ if (constant.IsEqualTo (NSImageURLAttributeName))
+ return NSAttributedStringNameKey.ImageUrl;
+ if (constant.IsEqualTo (NSInflectionRuleAttributeName))
+ return NSAttributedStringNameKey.InflectionRule;
+ if (constant.IsEqualTo (NSInflectionAlternativeAttributeName))
+ return NSAttributedStringNameKey.InflectionAlternative;
+ if (constant.IsEqualTo (NSInlinePresentationIntentAttributeName))
+ return NSAttributedStringNameKey.InlinePresentationIntent;
+ if (constant.IsEqualTo (NSLanguageIdentifierAttributeName))
+ return NSAttributedStringNameKey.LanguageIdentifier;
+ if (constant.IsEqualTo (NSMarkdownSourcePositionAttributeName))
+ return NSAttributedStringNameKey.MarkdownSourcePosition;
+ if (constant.IsEqualTo (NSMorphologyAttributeName))
+ return NSAttributedStringNameKey.Morphology;
+ if (constant.IsEqualTo (NSPresentationIntentAttributeName))
+ return NSAttributedStringNameKey.PresentationIntentAttributeName;
+ if (constant.IsEqualTo (NSReplacementIndexAttributeName))
+ return NSAttributedStringNameKey.ReplacementIndex;
+ throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
+ }
+ }
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSBundle.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSBundle.g.cs
index 23f6db1..60c4c6b 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSBundle.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSBundle.g.cs
@@ -160,6 +160,30 @@ namespace Foundation {
var url__handle__ = url!.GetNonNullHandle (nameof (url));
return Runtime.GetNSObject<NSBundle> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("bundleWithURL:"), url__handle__))!;
}
+ [Export ("localizedAttributedStringForKey:value:table:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSAttributedString GetLocalizedAttributedString (string key, string? value, string? tableName)
+ {
+ if (key is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
+ var nskey = CFString.CreateNative (key);
+ var nsvalue = CFString.CreateNative (value);
+ var nstableName = CFString.CreateNative (tableName);
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("localizedAttributedStringForKey:value:table:"), nskey, nsvalue, nstableName))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("localizedAttributedStringForKey:value:table:"), nskey, nsvalue, nstableName))!;
+ }
+ CFString.ReleaseNative (nskey);
+ CFString.ReleaseNative (nsvalue);
+ CFString.ReleaseNative (nstableName);
+ return ret!;
+ }
[Export ("localizedStringForKey:value:table:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSString GetLocalizedString (NSString? key, NSString? value, NSString? table)
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSByteCountFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSByteCountFormatter.g.cs
index aae3c43..32906c8 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSByteCountFormatter.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSByteCountFormatter.g.cs
@@ -91,6 +91,32 @@ namespace Foundation {
{
}
+ [Export ("stringFromMeasurement:countStyle:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle)
+ {
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr (class_ptr, Selector.GetHandle ("stringFromMeasurement:countStyle:"), measurement__handle__, (IntPtr) (long) countStyle))!;
+ }
+ [Export ("stringFromMeasurement:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Create (NSUnitInformationStorage measurement)
+ {
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("stringFromMeasurement:"), measurement__handle__))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("stringFromMeasurement:"), measurement__handle__))!;
+ }
+ }
[Export ("stringFromByteCount:countStyle:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static string Format (long byteCount, NSByteCountFormatterCountStyle countStyle)
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCocoaError.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCocoaError.g.cs
index 1c9b9de..f3f8568 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCocoaError.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCocoaError.g.cs
@@ -97,6 +97,7 @@ namespace Foundation {
XpcConnectionInterrupted = 4097,
XpcConnectionInvalid = 4099,
XpcConnectionReplyInvalid = 4101,
+ XpcConnectionCodeSigningRequirementFailure = 4102,
XpcConnectionErrorMinimum = 4096,
XpcConnectionErrorMaximum = 4224,
UbiquitousFileUnavailable = 4353,
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalGender.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalGender.g.cs
new file mode 100644
index 0000000..b0cd193
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalGender.g.cs
@@ -0,0 +1,63 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalGender : long {
+ NotSet = 0,
+ Feminine = 1,
+ Masculine = 2,
+ Neuter = 3,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalNumber.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalNumber.g.cs
new file mode 100644
index 0000000..550b587
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalNumber.g.cs
@@ -0,0 +1,66 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalNumber : long {
+ NotSet = 0,
+ Singular = 1,
+ Zero = 2,
+ Plural = 3,
+ PluralTwo = 4,
+ PluralFew = 5,
+ PluralMany = 6,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
new file mode 100644
index 0000000..3c71a12
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
@@ -0,0 +1,74 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalPartOfSpeech : long {
+ NotSet = 0,
+ Determiner = 1,
+ Pronoun = 2,
+ Letter = 3,
+ Adverb = 4,
+ Particle = 5,
+ Adjective = 6,
+ Adposition = 7,
+ Verb = 8,
+ Noun = 9,
+ Conjunction = 10,
+ Numeral = 11,
+ Interjection = 12,
+ Preposition = 13,
+ Abbreviation = 14,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRule.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRule.g.cs
new file mode 100644
index 0000000..9d69670
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRule.g.cs
@@ -0,0 +1,170 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRule", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRule : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRule");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRule (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRule (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRule (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("canInflectLanguage:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanInflectLanguage (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("canInflectLanguage:"), nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSInflectionRule AutomaticRule {
+ [Export ("automaticRule")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSInflectionRule? ret;
+ ret = Runtime.GetNSObject<NSInflectionRule> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("automaticRule")))!;
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static bool CanInflectPreferredLocalization {
+ [Export ("canInflectPreferredLocalization")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, Selector.GetHandle ("canInflectPreferredLocalization"));
+ }
+ }
+ } /* class NSInflectionRule */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
new file mode 100644
index 0000000..b879385
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
@@ -0,0 +1,137 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRuleExplicit", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRuleExplicit : NSInflectionRule {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRuleExplicit");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSInflectionRuleExplicit () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRuleExplicit (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRuleExplicit (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRuleExplicit (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithMorphology:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSInflectionRuleExplicit (NSMorphology morphology)
+ : base (NSObjectFlag.Empty)
+ {
+ var morphology__handle__ = morphology!.GetNonNullHandle (nameof (morphology));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithMorphology:"), morphology__handle__), "initWithMorphology:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithMorphology:"), morphology__handle__), "initWithMorphology:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSMorphology Morphology {
+ [Export ("morphology", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSMorphology? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("morphology")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("morphology")))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class NSInflectionRuleExplicit */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSInlinePresentationIntent.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
new file mode 100644
index 0000000..4c7eabd
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
@@ -0,0 +1,67 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSInlinePresentationIntent : ulong {
+ Emphasized = 1,
+ StronglyEmphasized = 2,
+ Code = 4,
+ Strikethrough = 32,
+ SoftBreak = 64,
+ LineBreak = 128,
+ InlineHTML = 256,
+ BlockHTML = 512,
+ }
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProvider.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProvider.g.cs
index 2389520..540104d 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProvider.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProvider.g.cs
@@ -402,7 +402,7 @@ namespace Foundation {
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDItemProviderDataCompletionHandler))]ItemProviderDataCompletionHandler completionHandler)
+ public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDLoadFileRepresentationHandler))]LoadFileRepresentationHandler completionHandler)
{
var contentType__handle__ = contentType!.GetNonNullHandle (nameof (contentType));
if (completionHandler is null)
@@ -411,7 +411,7 @@ namespace Foundation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDItemProviderDataCompletionHandler.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDLoadFileRepresentationHandler.Handler, completionHandler);
NSProgress? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_bool_NativeHandle (this.Handle, Selector.GetHandle ("loadFileRepresentationForContentType:openInPlace:completionHandler:"), contentType__handle__, openInPlace, (IntPtr) block_ptr_completionHandler))!;
@@ -623,6 +623,47 @@ namespace Foundation {
});
return tcs.Task;
}
+ [Export ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RegisterCKShare (global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action preparationHandler)
+ {
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (preparationHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (preparationHandler));
+ BlockLiteral *block_ptr_preparationHandler;
+ BlockLiteral block_preparationHandler;
+ block_preparationHandler = new BlockLiteral ();
+ block_ptr_preparationHandler = &block_preparationHandler;
+ block_preparationHandler.SetupBlockUnsafe (Trampolines.SDAction.Handler, preparationHandler);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:"), container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:"), container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ }
+ block_ptr_preparationHandler->CleanupBlock ();
+ }
+ [Export ("registerCKShare:container:allowedSharingOptions:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RegisterCKShare (global::CloudKit.CKShare share, global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions)
+ {
+ var share__handle__ = share!.GetNonNullHandle (nameof (share));
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("registerCKShare:container:allowedSharingOptions:"), share__handle__, container__handle__, allowedOptions__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("registerCKShare:container:allowedSharingOptions:"), share__handle__, container__handle__, allowedOptions__handle__);
+ }
+ }
[Export ("registerDataRepresentationForTypeIdentifier:visibility:loadHandler:")]
[SupportedOSPlatform ("tvos11.0")]
[SupportedOSPlatform ("macos10.13")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
index 5eefb9b..70d335c 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
@@ -56,7 +56,15 @@ namespace Foundation {
[Native]
public enum NSItemProviderRepresentationVisibility : long {
All = 0,
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos11.0.0")]
+ [SupportedOSPlatform ("ios11.0.0")]
+ [SupportedOSPlatform ("maccatalyst11.0.0")]
Team = 1,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos10.13.0")]
Group = 2,
OwnProcess = 3,
}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSJsonReadingOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSJsonReadingOptions.g.cs
index 20d4840..b3419d1 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSJsonReadingOptions.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSJsonReadingOptions.g.cs
@@ -55,5 +55,15 @@ namespace Foundation {
MutableContainers = 1,
MutableLeaves = 2,
FragmentsAllowed = 4,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ Json5Allowed = 8,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ TopLevelDictionaryAssumed = 16,
}
}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs
new file mode 100644
index 0000000..780679f
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs
@@ -0,0 +1,312 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphology", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphology : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphology");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphology () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphology (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphology (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphology (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("customPronounForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSMorphologyCustomPronoun? GetCustomPronoun (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ NSMorphologyCustomPronoun? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("customPronounForLanguage:"), nslanguage))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("customPronounForLanguage:"), nslanguage))!;
+ }
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("setCustomPronoun:forLanguage:error:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error)
+ {
+ var features__handle__ = features.GetHandle ();
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ NativeHandle errorValue = IntPtr.Zero;
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, Selector.GetHandle ("setCustomPronoun:forLanguage:error:"), features__handle__, nslanguage, ref errorValue);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("setCustomPronoun:forLanguage:error:"), features__handle__, nslanguage, ref errorValue);
+ }
+ CFString.ReleaseNative (nslanguage);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalGender GrammaticalGender {
+ [Export ("grammaticalGender", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalGender ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("grammaticalGender"));
+ } else {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("grammaticalGender"));
+ }
+ return ret!;
+ }
+ [Export ("setGrammaticalGender:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setGrammaticalGender:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setGrammaticalGender:"), (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalNumber Number {
+ [Export ("number", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalNumber ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("number"));
+ } else {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("number"));
+ }
+ return ret!;
+ }
+ [Export ("setNumber:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setNumber:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setNumber:"), (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalPartOfSpeech PartOfSpeech {
+ [Export ("partOfSpeech", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalPartOfSpeech ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("partOfSpeech"));
+ } else {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("partOfSpeech"));
+ }
+ return ret!;
+ }
+ [Export ("setPartOfSpeech:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setPartOfSpeech:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setPartOfSpeech:"), (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool Unspecified {
+ [Export ("isUnspecified")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUnspecified"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUnspecified"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSMorphology UserMorphology {
+ [Export ("userMorphology")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSMorphology? ret;
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("userMorphology")))!;
+ return ret!;
+ }
+ }
+ } /* class NSMorphology */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
new file mode 100644
index 0000000..c75d3eb
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
@@ -0,0 +1,331 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphologyCustomPronoun", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphologyCustomPronoun : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphologyCustomPronoun");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphologyCustomPronoun () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphologyCustomPronoun (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphologyCustomPronoun (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphologyCustomPronoun (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("requiredKeysForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string[] GetRequiredKeysForLanguage (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ string[]? ret;
+ ret = CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("requiredKeysForLanguage:"), nslanguage))!;
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("isSupportedForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool IsSupported (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("isSupportedForLanguage:"), nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ObjectForm {
+ [Export ("objectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("objectForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("objectForm")))!;
+ }
+ }
+ [Export ("setObjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setObjectForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setObjectForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveAdjectiveForm {
+ [Export ("possessiveAdjectiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("possessiveAdjectiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("possessiveAdjectiveForm")))!;
+ }
+ }
+ [Export ("setPossessiveAdjectiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPossessiveAdjectiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPossessiveAdjectiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveForm {
+ [Export ("possessiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("possessiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("possessiveForm")))!;
+ }
+ }
+ [Export ("setPossessiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setPossessiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setPossessiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ReflexiveForm {
+ [Export ("reflexiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("reflexiveForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("reflexiveForm")))!;
+ }
+ }
+ [Export ("setReflexiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setReflexiveForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setReflexiveForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? SubjectForm {
+ [Export ("subjectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("subjectForm")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("subjectForm")))!;
+ }
+ }
+ [Export ("setSubjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setSubjectForm:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setSubjectForm:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class NSMorphologyCustomPronoun */
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableUrlRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableUrlRequest.g.cs
index 9d52765..4a8d40a 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableUrlRequest.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableUrlRequest.g.cs
@@ -222,6 +222,31 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSURLRequestAttribution Attribution {
+ [Export ("attribution", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ NSURLRequestAttribution ret;
+ if (IsDirectBinding) {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("attribution"));
+ } else {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attribution"));
+ }
+ return ret!;
+ }
+ [Export ("setAttribution:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setAttribution:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setAttribution:"), (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual NSData? Body {
[Export ("HTTPBody")]
get {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs
index 2d95eda..7813305 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs
@@ -50,6 +50,22 @@ using NativeHandle = System.IntPtr;
#endif
namespace Foundation {
[Register("NSNetService", true)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -71,6 +87,22 @@ namespace Foundation {
}
[Export ("initWithDomain:type:name:port:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -99,6 +131,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("initWithDomain:type:name:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -126,6 +174,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("dataFromTXTRecordDictionary:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -137,6 +201,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("dataFromTXTRecordDictionary:"), dictionary__handle__))!;
}
[Export ("dictionaryFromTXTRecordData:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -148,6 +228,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSDictionary> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("dictionaryFromTXTRecordData:"), data__handle__))!;
}
[Export ("getInputStream:outputStream:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -168,12 +264,28 @@ namespace Foundation {
return ret!;
}
[Export ("TXTRecordData")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetTxtRecordData ()
+ public virtual NSData? GetTxtRecordData ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("TXTRecordData")))!;
@@ -182,6 +294,22 @@ namespace Foundation {
}
}
[Export ("publish")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -196,6 +324,22 @@ namespace Foundation {
}
}
[Export ("publishWithOptions:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -218,6 +362,10 @@ namespace Foundation {
[Advice ("Starting with macos10.4 Use 'Resolve (double)' instead.")]
#endif
[UnsupportedOSPlatform ("macos10.4")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst2.0.0 Use 'Resolve (double)' instead.")]
#endif
@@ -236,6 +384,22 @@ namespace Foundation {
}
}
[Export ("resolveWithTimeout:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -250,6 +414,22 @@ namespace Foundation {
}
}
[Export ("scheduleInRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -265,6 +445,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("scheduleInRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -275,14 +471,30 @@ namespace Foundation {
Schedule (aRunLoop, forMode.GetConstant ()!);
}
[Export ("setTXTRecordData:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool SetTxtRecordData (NSData data)
+ public virtual bool SetTxtRecordData (NSData? data)
{
- var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ var data__handle__ = data.GetHandle ();
if (IsDirectBinding) {
return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setTXTRecordData:"), data__handle__);
} else {
@@ -290,6 +502,22 @@ namespace Foundation {
}
}
[Export ("startMonitoring")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -304,6 +532,22 @@ namespace Foundation {
}
}
[Export ("stop")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -318,6 +562,22 @@ namespace Foundation {
}
}
[Export ("stopMonitoring")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -332,6 +592,22 @@ namespace Foundation {
}
}
[Export ("removeFromRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -347,6 +623,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeFromRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -357,12 +649,44 @@ namespace Foundation {
Unschedule (aRunLoop, forMode.GetConstant ()!);
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
- public virtual NSData[] Addresses {
+ public virtual NSData[]? Addresses {
[Export ("addresses", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -378,11 +702,43 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public INSNetServiceDelegate Delegate {
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -390,6 +746,22 @@ namespace Foundation {
get {
return (WeakDelegate as INSNetServiceDelegate)!;
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -402,12 +774,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Domain {
[Export ("domain", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -421,12 +825,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
- public virtual string HostName {
+ public virtual string? HostName {
[Export ("hostName", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -442,10 +878,42 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("tvos")]
public virtual bool IncludesPeerToPeer {
[Export ("includesPeerToPeer")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -458,6 +926,22 @@ namespace Foundation {
}
}
[Export ("setIncludesPeerToPeer:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -471,12 +955,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Name {
[Export ("name", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -490,12 +1006,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual nint Port {
[Export ("port")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -509,12 +1057,44 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual string Type {
[Export ("type", ArgumentSemantic.Copy)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -530,12 +1110,44 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
object? __mt_WeakDelegate_var;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual NSObject? WeakDelegate {
[Export ("delegate", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -552,6 +1164,22 @@ namespace Foundation {
return ret!;
}
[Export ("setDelegate:", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetServiceBrowser.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetServiceBrowser.g.cs
index 1ce1d98..bd574e8 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetServiceBrowser.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetServiceBrowser.g.cs
@@ -50,6 +50,22 @@ using NativeHandle = System.IntPtr;
#endif
namespace Foundation {
[Register("NSNetServiceBrowser", true)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -83,6 +99,22 @@ namespace Foundation {
}
[Export ("scheduleInRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -98,6 +130,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("scheduleInRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -108,6 +156,22 @@ namespace Foundation {
Schedule (aRunLoop, forMode.GetConstant ()!);
}
[Export ("searchForBrowsableDomains")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -122,6 +186,22 @@ namespace Foundation {
}
}
[Export ("searchForRegistrationDomains")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -136,6 +216,22 @@ namespace Foundation {
}
}
[Export ("searchForServicesOfType:inDomain:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -158,6 +254,22 @@ namespace Foundation {
CFString.ReleaseNative (nsdomain);
}
[Export ("stop")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -172,6 +284,22 @@ namespace Foundation {
}
}
[Export ("removeFromRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -187,6 +315,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeFromRunLoop:forMode:"), aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -197,11 +341,43 @@ namespace Foundation {
Unschedule (aRunLoop, forMode.GetConstant ()!);
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public INSNetServiceBrowserDelegate Delegate {
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -209,6 +385,22 @@ namespace Foundation {
get {
return (WeakDelegate as INSNetServiceBrowserDelegate)!;
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -223,10 +415,42 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("tvos")]
public virtual bool IncludesPeerToPeer {
[Export ("includesPeerToPeer")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -239,6 +463,22 @@ namespace Foundation {
}
}
[Export ("setIncludesPeerToPeer:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.10.0")]
[SupportedOSPlatform ("tvos")]
@@ -254,12 +494,44 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
object? __mt_WeakDelegate_var;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
public virtual NSObject? WeakDelegate {
[Export ("delegate", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -276,6 +548,22 @@ namespace Foundation {
return ret!;
}
[Export ("setDelegate:", ArgumentSemantic.UnsafeUnretained)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSOrderedSet.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSOrderedSet.g.cs
index 4b737ac..d6cd31d 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSOrderedSet.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSOrderedSet.g.cs
@@ -190,7 +190,7 @@ namespace Foundation {
}
[Export ("firstObject")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject FirstObject ()
+ public virtual NSObject? FirstObject ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("firstObject")))!;
@@ -286,7 +286,7 @@ namespace Foundation {
}
[Export ("lastObject")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject LastObject ()
+ public virtual NSObject? LastObject ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("lastObject")))!;
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
index 1bf0941..60862b4 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs
@@ -181,6 +181,40 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSLocale? Locale {
+ [Export ("locale", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios9.0.0")]
+ [SupportedOSPlatform ("macos10.11.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSLocale? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("locale")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSLocale> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("locale")))!;
+ }
+ return ret!;
+ }
+ [Export ("setLocale:", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("ios9.0.0")]
+ [SupportedOSPlatform ("macos10.11.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setLocale:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setLocale:"), value__handle__);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0.0")]
[SupportedOSPlatform ("macos10.11.0")]
[SupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPortMessage.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPortMessage.g.cs
index d7b79c0..b298186 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPortMessage.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPortMessage.g.cs
@@ -89,12 +89,12 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSPortMessage (NSPort sendPort, NSPort recvPort, NSArray components)
+ public NSPortMessage (NSPort? sendPort, NSPort? recvPort, NSArray? components)
: base (NSObjectFlag.Empty)
{
- var sendPort__handle__ = sendPort!.GetNonNullHandle (nameof (sendPort));
- var recvPort__handle__ = recvPort!.GetNonNullHandle (nameof (recvPort));
- var components__handle__ = components!.GetNonNullHandle (nameof (components));
+ var sendPort__handle__ = sendPort.GetHandle ();
+ var recvPort__handle__ = recvPort.GetHandle ();
+ var components__handle__ = components.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSendPort:receivePort:components:"), sendPort__handle__, recvPort__handle__, components__handle__), "initWithSendPort:receivePort:components:");
} else {
@@ -121,7 +121,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst15.0")]
[SupportedOSPlatform ("macos")]
- public virtual NSArray Components {
+ public virtual NSArray? Components {
[Export ("components")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
@@ -173,7 +173,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst15.0")]
[SupportedOSPlatform ("macos")]
- public virtual NSPort ReceivePort {
+ public virtual NSPort? ReceivePort {
[Export ("receivePort")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
@@ -194,7 +194,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst15.0")]
[SupportedOSPlatform ("macos")]
- public virtual NSPort SendPort {
+ public virtual NSPort? SendPort {
[Export ("sendPort")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntent.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntent.g.cs
new file mode 100644
index 0000000..8584740
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntent.g.cs
@@ -0,0 +1,494 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSPresentationIntent", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSPresentationIntent : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSPresentationIntent");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSPresentationIntent (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSPresentationIntent (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSPresentationIntent (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("blockQuoteIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("blockQuoteIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string? languageHint, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ var nslanguageHint = CFString.CreateNative (languageHint);
+ NSPresentationIntent? ret;
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:"), identity, nslanguageHint, parent__handle__))!;
+ CFString.ReleaseNative (nslanguageHint);
+ return ret!;
+ }
+ [Export ("headerIntentWithIdentity:level:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("headerIntentWithIdentity:level:nestedInsideIntent:"), identity, level, parent__handle__))!;
+ }
+ [Export ("listItemIntentWithIdentity:ordinal:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("listItemIntentWithIdentity:ordinal:nestedInsideIntent:"), identity, ordinal, parent__handle__))!;
+ }
+ [Export ("orderedListIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("orderedListIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("paragraphIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("paragraphIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("tableCellIntentWithIdentity:column:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableCellIntentWithIdentity:column:nestedInsideIntent:"), identity, column, parent__handle__))!;
+ }
+ [Export ("tableHeaderRowIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableHeaderRowIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent? parent)
+ {
+ if (alignments is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (alignments));
+ var parent__handle__ = parent.GetHandle ();
+ var nsa_alignments = NSArray.FromNSObjects (alignments);
+ NSPresentationIntent? ret;
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:"), identity, columnCount, nsa_alignments.Handle, parent__handle__))!;
+ nsa_alignments.Dispose ();
+ return ret!;
+ }
+ [Export ("tableRowIntentWithIdentity:row:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("tableRowIntentWithIdentity:row:nestedInsideIntent:"), identity, row, parent__handle__))!;
+ }
+ [Export ("thematicBreakIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("thematicBreakIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("unorderedListIntentWithIdentity:nestedInsideIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent? parent)
+ {
+ var parent__handle__ = parent.GetHandle ();
+ return Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle (class_ptr, Selector.GetHandle ("unorderedListIntentWithIdentity:nestedInsideIntent:"), identity, parent__handle__))!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [Export ("isEquivalentToPresentationIntent:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEquivalent (NSPresentationIntent other)
+ {
+ var other__handle__ = other!.GetNonNullHandle (nameof (other));
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("isEquivalentToPresentationIntent:"), other__handle__);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("isEquivalentToPresentationIntent:"), other__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Column {
+ [Export ("column")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("column"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("column"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSNumber[]? ColumnAlignments {
+ [Export ("columnAlignments")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSNumber[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("columnAlignments")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<NSNumber>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("columnAlignments")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint ColumnCount {
+ [Export ("columnCount")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("columnCount"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("columnCount"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint HeaderLevel {
+ [Export ("headerLevel")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("headerLevel"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headerLevel"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Identity {
+ [Export ("identity")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("identity"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identity"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint IndentationLevel {
+ [Export ("indentationLevel")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("indentationLevel"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("indentationLevel"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSPresentationIntentKind IntentKind {
+ [Export ("intentKind")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSPresentationIntentKind ret;
+ if (IsDirectBinding) {
+ ret = (NSPresentationIntentKind) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("intentKind"));
+ } else {
+ ret = (NSPresentationIntentKind) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("intentKind"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? LanguageHint {
+ [Export ("languageHint")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("languageHint")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("languageHint")))!;
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Ordinal {
+ [Export ("ordinal")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("ordinal"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("ordinal"));
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSPresentationIntent? ParentIntent {
+ [Export ("parentIntent", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSPresentationIntent? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("parentIntent")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSPresentationIntent> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("parentIntent")))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual nint Row {
+ [Export ("row")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("row"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("row"));
+ }
+ }
+ }
+ } /* class NSPresentationIntent */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentKind.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentKind.g.cs
new file mode 100644
index 0000000..38d468c
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentKind.g.cs
@@ -0,0 +1,71 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSPresentationIntentKind : long {
+ Paragraph = 0,
+ Header = 1,
+ OrderedList = 2,
+ UnorderedList = 3,
+ ListItem = 4,
+ CodeBlock = 5,
+ BlockQuote = 6,
+ ThematicBreak = 7,
+ Table = 8,
+ TableHeaderRow = 9,
+ TableRow = 10,
+ TableCell = 11,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs
new file mode 100644
index 0000000..93e1b3a
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPresentationIntentTableColumnAlignment.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSPresentationIntentTableColumnAlignment : long {
+ Left = 0,
+ Center = 1,
+ Right = 2,
+ }
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSProcessInfo.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSProcessInfo.g.cs
index 47d6607..5acac1e 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSProcessInfo.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSProcessInfo.g.cs
@@ -267,10 +267,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
- [SupportedOSPlatform ("maccatalyst9.0.0")]
- [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos12.0")]
public virtual bool LowPowerModeEnabled {
[Export ("isLowPowerModeEnabled")]
get {
@@ -467,14 +467,14 @@ namespace Foundation {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _PowerStateDidChangeNotification;
[Field ("NSProcessInfoPowerStateDidChangeNotification", "Foundation")]
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
[Advice ("Use NSProcessInfo.Notifications.ObservePowerStateDidChange helper method instead.")]
public static NSString PowerStateDidChangeNotification {
- [UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
get {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSProgress.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSProgress.g.cs
index 200bef7..5c3b691 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSProgress.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSProgress.g.cs
@@ -984,6 +984,24 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _FileOperationKindDuplicatingKey;
+ [Field ("NSProgressFileOperationKindDuplicating", "Foundation")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public static NSString FileOperationKindDuplicatingKey {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ get {
+ if (_FileOperationKindDuplicatingKey is null)
+ _FileOperationKindDuplicatingKey = Dlfcn.GetStringConstant (Libraries.Foundation.Handle, "NSProgressFileOperationKindDuplicating")!;
+ return _FileOperationKindDuplicatingKey;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _FileOperationKindKey;
[Field ("NSProgressFileOperationKindKey", "Foundation")]
[SupportedOSPlatform ("ios7.0.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommand.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommand.g.cs
index 4925911..66c56a4 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommand.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommand.g.cs
@@ -144,7 +144,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- public virtual NSAppleEventDescriptor AppleEvent {
+ public virtual NSAppleEventDescriptor? AppleEvent {
[Export ("appleEvent")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
@@ -165,7 +165,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- public virtual NSObject EvaluatedReceivers {
+ public virtual NSObject? EvaluatedReceivers {
[Export ("evaluatedReceivers")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommandDescription.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommandDescription.g.cs
index 7086bb1..f9049b7 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommandDescription.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSScriptCommandDescription.g.cs
@@ -90,12 +90,12 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal NSScriptCommandDescription (NSString suiteName, NSString commandName, NSDictionary commandDeclaration)
+ internal NSScriptCommandDescription (NSString suiteName, NSString commandName, NSDictionary? commandDeclaration)
: base (NSObjectFlag.Empty)
{
var suiteName__handle__ = suiteName!.GetNonNullHandle (nameof (suiteName));
var commandName__handle__ = commandName!.GetNonNullHandle (nameof (commandName));
- var commandDeclaration__handle__ = commandDeclaration!.GetNonNullHandle (nameof (commandDeclaration));
+ var commandDeclaration__handle__ = commandDeclaration.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSuiteName:commandName:dictionary:"), suiteName__handle__, commandName__handle__, commandDeclaration__handle__), "initWithSuiteName:commandName:dictionary:");
} else {
@@ -152,7 +152,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual NSString GetNSTypeForArgument (NSString name)
+ internal virtual NSString? GetNSTypeForArgument (NSString name)
{
var name__handle__ = name!.GetNonNullHandle (nameof (name));
if (IsDirectBinding) {
@@ -295,7 +295,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- public virtual string ReturnType {
+ public virtual string? ReturnType {
[Export ("returnType")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSSearchPathDirectory.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSSearchPathDirectory.g.cs
index 505a294..8c8817c 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSSearchPathDirectory.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSSearchPathDirectory.g.cs
@@ -81,6 +81,10 @@ namespace Foundation {
ItemReplacementDirectory = 99,
AllApplicationsDirectory = 100,
AllLibrariesDirectory = 101,
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
TrashDirectory = 102,
}
}
diff --git a/new/dotnet/maccatalyst/generated-sources/Foundation/NSURLRequestAttribution.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSURLRequestAttribution.g.cs
new file mode 100644
index 0000000..c8d092a
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSURLRequestAttribution.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using Metal;
+using CoreML;
+using AppKit;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSURLRequestAttribution : ulong {
+ Developer = 0,
+ User = 1,
+ }
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
index c5101a0..24009d9 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUbiquitousKeyValueStore.g.cs
@@ -80,7 +80,7 @@ namespace Foundation {
[Export ("arrayForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSObject[] GetArray (string aKey)
+ public virtual NSObject[]? GetArray (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -112,7 +112,7 @@ namespace Foundation {
}
[Export ("dataForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetData (string aKey)
+ public virtual NSData? GetData (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -128,7 +128,7 @@ namespace Foundation {
}
[Export ("dictionaryForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDictionary GetDictionary (string aKey)
+ public virtual NSDictionary? GetDictionary (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -176,7 +176,7 @@ namespace Foundation {
}
[Export ("stringForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string GetString (string aKey)
+ public virtual string? GetString (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -192,7 +192,7 @@ namespace Foundation {
}
[Export ("objectForKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual NSObject ObjectForKey (string aKey)
+ internal virtual NSObject? ObjectForKey (string aKey)
{
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
@@ -222,9 +222,9 @@ namespace Foundation {
}
[Export ("setObject:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void SetObjectForKey (NSObject anObject, string aKey)
+ internal virtual void SetObjectForKey (NSObject? anObject, string aKey)
{
- var anObject__handle__ = anObject!.GetNonNullHandle (nameof (anObject));
+ var anObject__handle__ = anObject.GetHandle ();
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaKey = CFString.CreateNative (aKey);
@@ -257,20 +257,19 @@ namespace Foundation {
}
[Export ("setArray:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetArray (NSObject[] array, string key)
+ internal virtual void _SetArray (NSObject[]? array, string key)
{
- if (array is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (array));
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
- var nsa_array = NSArray.FromNSObjects (array);
+ var nsa_array = array is null ? null : NSArray.FromNSObjects (array);
var nskey = CFString.CreateNative (key);
if (IsDirectBinding) {
- global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("setArray:forKey:"), nsa_array.Handle, nskey);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("setArray:forKey:"), nsa_array.GetHandle (), nskey);
} else {
- global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("setArray:forKey:"), nsa_array.Handle, nskey);
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("setArray:forKey:"), nsa_array.GetHandle (), nskey);
}
- nsa_array.Dispose ();
+ if (nsa_array != null)
+ nsa_array.Dispose ();
CFString.ReleaseNative (nskey);
}
[Export ("setBool:forKey:")]
@@ -289,9 +288,9 @@ namespace Foundation {
}
[Export ("setData:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetData (NSData data, string key)
+ internal virtual void _SetData (NSData? data, string key)
{
- var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ var data__handle__ = data.GetHandle ();
if (key is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
var nskey = CFString.CreateNative (key);
@@ -304,9 +303,9 @@ namespace Foundation {
}
[Export ("setDictionary:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetDictionary (NSDictionary aDictionary, string aKey)
+ internal virtual void _SetDictionary (NSDictionary? aDictionary, string aKey)
{
- var aDictionary__handle__ = aDictionary!.GetNonNullHandle (nameof (aDictionary));
+ var aDictionary__handle__ = aDictionary.GetHandle ();
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaKey = CFString.CreateNative (aKey);
@@ -347,10 +346,8 @@ namespace Foundation {
}
[Export ("setString:forKey:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal virtual void _SetString (string aString, string aKey)
+ internal virtual void _SetString (string? aString, string aKey)
{
- if (aString is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aString));
if (aKey is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (aKey));
var nsaString = CFString.CreateNative (aString);
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
index 4a0a7b7..0c33752 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkCreationOptions.g.cs
@@ -55,7 +55,20 @@ namespace Foundation {
PreferFileIDResolution = 256,
MinimalBookmark = 512,
SuitableForBookmarkFile = 1024,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
WithSecurityScope = 2048,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
SecurityScopeAllowOnlyReadAccess = 4096,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ CreationWithoutImplicitSecurityScope = 536870912,
}
}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
index 2408bcc..7e6ec1b 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlBookmarkResolutionOptions.g.cs
@@ -54,6 +54,15 @@ namespace Foundation {
public enum NSUrlBookmarkResolutionOptions : ulong {
WithoutUI = 256,
WithoutMounting = 512,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
WithSecurityScope = 1024,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ WithoutImplicitStartAccessing = 32768,
}
}
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlComponents.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlComponents.g.cs
index d71254e..4efc7f2 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlComponents.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlComponents.g.cs
@@ -194,6 +194,39 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual string? EncodedHost {
+ [Export ("encodedHost")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("encodedHost")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("encodedHost")))!;
+ }
+ }
+ [Export ("setEncodedHost:")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setEncodedHost:"), nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setEncodedHost:"), nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.9.0")]
[SupportedOSPlatform ("tvos")]
@@ -363,6 +396,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos10.9.0")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst7.0.0")]
+ [Advice (@"Use 'EncodedHost' instead.")]
public virtual string? PercentEncodedHost {
[Export ("percentEncodedHost", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios7.0.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs
index 3928446..2eb0ffd 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs
@@ -96,7 +96,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate)
+ public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate)
: base (NSObjectFlag.Empty)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
@@ -104,7 +104,7 @@ namespace Foundation {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithRequest:delegate:"), request__handle__, connectionDelegate__handle__), "initWithRequest:delegate:");
} else {
@@ -129,7 +129,7 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate, bool startImmediately)
+ public NSUrlConnection (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate, bool startImmediately)
: base (NSObjectFlag.Empty)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
@@ -137,7 +137,7 @@ namespace Foundation {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_bool (this.Handle, Selector.GetHandle ("initWithRequest:delegate:startImmediately:"), request__handle__, connectionDelegate__handle__, startImmediately), "initWithRequest:delegate:startImmediately:");
} else {
@@ -201,14 +201,14 @@ namespace Foundation {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSUrlConnection FromRequest (NSUrlRequest request, INSUrlConnectionDelegate connectionDelegate)
+ public static NSUrlConnection? FromRequest (NSUrlRequest request, INSUrlConnectionDelegate? connectionDelegate)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
if (connectionDelegate != null) {
if (!(connectionDelegate is NSObject))
throw new ArgumentException ("The object passed of type " + connectionDelegate.GetType () + " does not derive from NSObject");
}
- var connectionDelegate__handle__ = connectionDelegate!.GetNonNullHandle (nameof (connectionDelegate));
+ var connectionDelegate__handle__ = connectionDelegate.GetHandle ();
return Runtime.GetNSObject<NSUrlConnection> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("connectionWithRequest:delegate:"), request__handle__, connectionDelegate__handle__))!;
}
[Export ("performDefaultHandlingForAuthenticationChallenge:")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlRequest.g.cs
index ae96344..8da504a 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlRequest.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlRequest.g.cs
@@ -251,6 +251,23 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSURLRequestAttribution Attribution {
+ [Export ("attribution")]
+ get {
+ NSURLRequestAttribution ret;
+ if (IsDirectBinding) {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("attribution"));
+ } else {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("attribution"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSData Body {
[Export ("HTTPBody")]
get {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSession.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSession.g.cs
index 177acd9..567655d 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSession.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSession.g.cs
@@ -91,8 +91,24 @@ namespace Foundation {
return ret!;
}
[Export ("streamTaskWithNetService:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("macos10.11")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
index 25b9901..839734e 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionConfiguration.g.cs
@@ -593,6 +593,37 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual bool RequiresDnsSecValidation {
+ [Export ("requiresDNSSECValidation")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("requiresDNSSECValidation"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requiresDNSSECValidation"));
+ }
+ }
+ [Export ("setRequiresDNSSECValidation:")]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("maccatalyst7.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setRequiresDNSSECValidation:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setRequiresDNSSECValidation:"), value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTask.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTask.g.cs
index fdaa1c7..5f3baf8 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTask.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTask.g.cs
@@ -323,6 +323,30 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public INSUrlSessionTaskDelegate? Delegate {
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ return (WeakDelegate as INSUrlSessionTaskDelegate)!;
+ }
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var rvalue = value as NSObject;
+ if (!(value is null) && rvalue is null)
+ throw new ArgumentException ("The object passed of type " + value.GetType () + " does not derive from NSObject");
+ WeakDelegate = rvalue;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos11.0")]
[SupportedOSPlatform ("macos10.13")]
[SupportedOSPlatform ("ios11.0")]
@@ -575,6 +599,40 @@ namespace Foundation {
}
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSObject? WeakDelegate {
+ [Export ("delegate", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("delegate")))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("delegate")))!;
+ }
+ return ret!;
+ }
+ [Export ("setDelegate:", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("ios7.0.0")]
+ [SupportedOSPlatform ("macos10.9.0")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setDelegate:"), value__handle__);
+ }
+ }
+ }
[Field ("NSURLSessionTransferSizeUnknown", "Foundation")]
[SupportedOSPlatform ("ios7.0.0")]
[SupportedOSPlatform ("macos10.9.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
index cdbd039..28f1b08 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlSessionTaskDelegate.g.cs
@@ -62,6 +62,7 @@ namespace Foundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidFinishCollectingMetrics", Selector = "URLSession:task:didFinishCollectingMetrics:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask), typeof (NSUrlSessionTaskMetrics) }, ParameterByRef = new bool [] { false, false, false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillBeginDelayedRequest", Selector = "URLSession:task:willBeginDelayedRequest:completionHandler:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask), typeof (NSUrlRequest), typeof (global::System.Action<NSUrlSessionDelayedRequestDisposition, NSUrlRequest>) }, ParameterByRef = new bool [] { false, false, false, false }, ParameterBlockProxy = new Type? [] { null, null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V8) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TaskIsWaitingForConnectivity", Selector = "URLSession:taskIsWaitingForConnectivity:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask) }, ParameterByRef = new bool [] { false, false })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidCreateTask", Selector = "URLSession:didCreateTask:", ParameterType = new Type [] { typeof (NSUrlSession), typeof (NSUrlSessionTask) }, ParameterByRef = new bool [] { false, false })]
public partial interface INSUrlSessionTaskDelegate : INativeObject, IDisposable,
Foundation.INSUrlSessionDelegate
{
@@ -193,6 +194,17 @@ namespace Foundation {
var task__handle__ = task!.GetNonNullHandle (nameof (task));
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:taskIsWaitingForConnectivity:"), session__handle__, task__handle__);
}
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var task__handle__ = task!.GetNonNullHandle (nameof (task));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:didCreateTask:"), session__handle__, task__handle__);
+ }
}
internal sealed class NSUrlSessionTaskDelegateWrapper : BaseWrapper, INSUrlSessionTaskDelegate {
[Preserve (Conditional = true)]
@@ -244,6 +256,16 @@ namespace Foundation {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("URLSession:didCreateTask:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
[Export ("URLSession:task:didFinishCollectingMetrics:")]
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("macos10.12")]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs
index 6f06ffd..b9c8f11 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs
@@ -191,7 +191,7 @@ namespace Foundation {
[SupportedOSPlatform ("tvos9.0.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetContinuationStreams ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V3))]global::System.Action<NSInputStream, NSOutputStream, NSError> completionHandler)
+ public unsafe virtual void GetContinuationStreams ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]global::System.Action<NSInputStream, NSOutputStream, NSError> completionHandler)
{
if (completionHandler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
@@ -199,7 +199,7 @@ namespace Foundation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V3.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("getContinuationStreamsWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUuid.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUuid.g.cs
index 4dc0675..bd4c1b8 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUuid.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUuid.g.cs
@@ -117,6 +117,23 @@ namespace Foundation {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("UUIDString")))!;
}
}
+ [Export ("compare:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSComparisonResult Compare (NSUuid otherUuid)
+ {
+ var otherUuid__handle__ = otherUuid!.GetNonNullHandle (nameof (otherUuid));
+ NSComparisonResult ret;
+ if (IsDirectBinding) {
+ ret = (NSComparisonResult) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("compare:"), otherUuid__handle__);
+ } else {
+ ret = (NSComparisonResult) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("compare:"), otherUuid__handle__);
+ }
+ return ret!;
+ }
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSValue.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSValue.g.cs
index 32d65c9..d762e44 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSValue.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSValue.g.cs
@@ -397,6 +397,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGPoint CGPointValue {
[Export ("CGPointValue")]
get {
@@ -410,6 +414,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGRect CGRectValue {
[Export ("CGRectValue")]
get {
@@ -431,6 +439,10 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos")]
public virtual CGSize CGSizeValue {
[Export ("CGSizeValue")]
get {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSXpcConnection.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSXpcConnection.g.cs
index badb45e..90c14ba 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSXpcConnection.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSXpcConnection.g.cs
@@ -78,6 +78,20 @@ namespace Foundation {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithListenerEndpoint:"), endpoint__handle__), "initWithListenerEndpoint:");
}
}
+ [Export ("activate")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos11.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Activate ()
+ {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("activate"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activate"));
+ }
+ }
[Export ("invalidate")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Invalidate ()
@@ -90,6 +104,7 @@ namespace Foundation {
}
[Export ("resume")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Advice (@"Prefer using 'Activate' for initial activation of a connection.")]
public virtual void Resume ()
{
if (IsDirectBinding) {
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSXpcListener.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSXpcListener.g.cs
index bee0eaa..8ddf657 100644
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSXpcListener.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSXpcListener.g.cs
@@ -66,6 +66,20 @@ namespace Foundation {
{
}
+ [Export ("activate")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos11.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Activate ()
+ {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (this.Handle, Selector.GetHandle ("activate"));
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("activate"));
+ }
+ }
[Export ("invalidate")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Invalidate ()
@@ -78,6 +92,7 @@ namespace Foundation {
}
[Export ("resume")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Advice (@"Prefer using 'Activate' for initial activation of a listener.")]
public virtual void Resume ()
{
if (IsDirectBinding) {
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKLocalPlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKLocalPlayer.g.cs
index f61dab2..fba7df1 100644
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKLocalPlayer.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKLocalPlayer.g.cs
@@ -533,6 +533,10 @@ namespace GameKit {
[Advice ("Starting with macos10.11.")]
#endif
[UnsupportedOSPlatform ("macos10.11")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0.0.")]
@@ -570,6 +574,10 @@ namespace GameKit {
[Advice ("Starting with macos10.11.")]
#endif
[UnsupportedOSPlatform ("macos10.11")]
+ #if __TVOS__
+ [Advice ("Starting with tvos10.0.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("maccatalyst8.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst10.0.0.")]
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKTurnBasedMatch.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKTurnBasedMatch.g.cs
index 0c891ab..b30fbf2 100644
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKTurnBasedMatch.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKTurnBasedMatch.g.cs
@@ -219,6 +219,10 @@ namespace GameKit {
[Advice ("Starting with macos11.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
#endif
[UnsupportedOSPlatform ("macos11.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos14.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
#if __MACCATALYST__ && !__IOS__
@@ -263,6 +267,10 @@ namespace GameKit {
[Advice ("Starting with macos11.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
#endif
[UnsupportedOSPlatform ("macos11.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos14.0 Use 'EndMatchInTurn (NSData, GKLeaderboardScore[], NSObject[], Action<NSError>)' instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("ios7.0")]
[SupportedOSPlatform ("macos10.10")]
#if __MACCATALYST__ && !__IOS__
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
index d02cee0..f6ad2b1 100644
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
@@ -72,7 +72,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe HKActivitySummaryQuery (NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError> handler)
+ public unsafe HKActivitySummaryQuery (NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError> handler)
: base (NSObjectFlag.Empty)
{
var predicate__handle__ = predicate.GetHandle ();
@@ -82,7 +82,7 @@ namespace HealthKit {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, handler);
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithPredicate:resultsHandler:"), predicate__handle__, (IntPtr) block_ptr_handler), "initWithPredicate:resultsHandler:");
} else {
@@ -94,7 +94,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
public unsafe virtual global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError>? UpdateHandler {
- [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V4))]
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V5))]
[Export ("updateHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
@@ -105,9 +105,9 @@ namespace HealthKit {
} else {
ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("updateHandler"));
}
- return global::ObjCRuntime.Trampolines.NIDActionArity3V4.Create (ret)!;
+ return global::ObjCRuntime.Trampolines.NIDActionArity3V5.Create (ret)!;
}
- [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V4))]
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]
[Export ("setUpdateHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3.0")]
[SupportedOSPlatform ("maccatalyst9.3.0")]
@@ -116,7 +116,7 @@ namespace HealthKit {
BlockLiteral block_value;
block_value = new BlockLiteral ();
block_ptr_value = &block_value;
- block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V4.Handler, value);
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, value);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setUpdateHandler:"), (IntPtr) block_ptr_value);
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs
index 9f46ccd..a70dcb2 100644
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs
@@ -176,7 +176,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void DeleteObjects (HKObjectType objectType, NSPredicate predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]global::System.Action<bool, nuint, NSError> completion)
+ public unsafe virtual void DeleteObjects (HKObjectType objectType, NSPredicate predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V6))]global::System.Action<bool, nuint, NSError> completion)
{
var objectType__handle__ = objectType!.GetNonNullHandle (nameof (objectType));
var predicate__handle__ = predicate!.GetNonNullHandle (nameof (predicate));
@@ -186,7 +186,7 @@ namespace HealthKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V5.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V6.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("deleteObjectsOfType:predicate:withCompletion:"), objectType__handle__, predicate__handle__, (IntPtr) block_ptr_completion);
} else {
@@ -684,7 +684,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void SplitTotalEnergy (HKQuantity totalEnergy, NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V6))]global::System.Action<HKQuantity, HKQuantity, NSError> resultsHandler)
+ public unsafe virtual void SplitTotalEnergy (HKQuantity totalEnergy, NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V7))]global::System.Action<HKQuantity, HKQuantity, NSError> resultsHandler)
{
var totalEnergy__handle__ = totalEnergy!.GetNonNullHandle (nameof (totalEnergy));
var startDate__handle__ = startDate!.GetNonNullHandle (nameof (startDate));
@@ -695,7 +695,7 @@ namespace HealthKit {
BlockLiteral block_resultsHandler;
block_resultsHandler = new BlockLiteral ();
block_ptr_resultsHandler = &block_resultsHandler;
- block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V6.Handler, resultsHandler);
+ block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V7.Handler, resultsHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("splitTotalEnergy:startDate:endDate:resultsHandler:"), totalEnergy__handle__, startDate__handle__, endDate__handle__, (IntPtr) block_ptr_resultsHandler);
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
index 315cc8d..d4ff2a5 100644
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
@@ -98,7 +98,7 @@ namespace HealthKit {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))] global::HealthKit.HKVerifiableClinicalRecordSourceType[] sourceTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V7))]global::System.Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord[], NSError> resultsHandler)
+ public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))] global::HealthKit.HKVerifiableClinicalRecordSourceType[] sourceTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord[], NSError> resultsHandler)
: base (NSObjectFlag.Empty)
{
if (recordTypes is null)
@@ -114,7 +114,7 @@ namespace HealthKit {
BlockLiteral block_resultsHandler;
block_resultsHandler = new BlockLiteral ();
block_ptr_resultsHandler = &block_resultsHandler;
- block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V7.Handler, resultsHandler);
+ block_resultsHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V8.Handler, resultsHandler);
if (IsDirectBinding) {
InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithRecordTypes:sourceTypes:predicate:resultsHandler:"), nsa_recordTypes.Handle, nsb_sourceTypes.GetHandle (), predicate__handle__, (IntPtr) block_ptr_resultsHandler), "initWithRecordTypes:sourceTypes:predicate:resultsHandler:");
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/Metal/MTLDevice.g.cs b/new/dotnet/maccatalyst/generated-sources/Metal/MTLDevice.g.cs
index e27f9ac..671dcd9 100644
--- a/old/dotnet/maccatalyst/generated-sources/Metal/MTLDevice.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Metal/MTLDevice.g.cs
@@ -77,11 +77,11 @@ namespace Metal {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V107) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLRenderPipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V8) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V9) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V108) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V9) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V10) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (MTLComputePipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLComputePipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLNewComputePipelineStateWithReflectionCompletionHandler) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLNewComputePipelineStateWithReflectionCompletionHandler) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFence", Selector = "newFence", ReturnType = typeof (IMTLFence))]
@@ -358,7 +358,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler);
+ unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0.0")]
[SupportedOSPlatform ("macos10.11.0")]
@@ -392,7 +392,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newComputePipelineStateWithFunction:options:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler);
+ unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0.0")]
@@ -1180,7 +1180,7 @@ namespace Metal {
}
[Export ("newRenderPipelineStateWithDescriptor:options:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler)
+ public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLRenderPipelineState, MTLRenderPipelineReflection, NSError> completionHandler)
{
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor));
if (completionHandler is null)
@@ -1189,7 +1189,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V8.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V9.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr_NativeHandle (this.Handle, Selector.GetHandle ("newRenderPipelineStateWithDescriptor:options:completionHandler:"), descriptor__handle__, (UIntPtr) (ulong) options, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
@@ -1240,7 +1240,7 @@ namespace Metal {
}
[Export ("newComputePipelineStateWithFunction:options:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V9))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler)
+ public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<IMTLComputePipelineState, MTLComputePipelineReflection, NSError> completionHandler)
{
var computeFunction__handle__ = computeFunction!.GetNonNullHandle (nameof (computeFunction));
if (completionHandler is null)
@@ -1249,7 +1249,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V9.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V10.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr_NativeHandle (this.Handle, Selector.GetHandle ("newComputePipelineStateWithFunction:options:completionHandler:"), computeFunction__handle__, (UIntPtr) (ulong) options, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
diff --git a/old/dotnet/maccatalyst/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs b/new/dotnet/maccatalyst/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
index 902046b..bcb181f 100644
--- a/old/dotnet/maccatalyst/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.g.cs
@@ -54,7 +54,7 @@ namespace MetalPerformanceShadersGraph {
[SupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
- public unsafe partial class MPSGraphExecutableExecutionDescriptor : NSObject {
+ public unsafe partial class MPSGraphExecutableExecutionDescriptor : NSObject, INSCopying {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static readonly NativeHandle class_ptr = Class.GetHandle ("MPSGraphExecutableExecutionDescriptor");
public override NativeHandle ClassHandle { get { return class_ptr; } }
@@ -82,6 +82,26 @@ namespace MetalPerformanceShadersGraph {
{
}
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos15.0.0")]
[SupportedOSPlatform ("macos12.0.0")]
diff --git a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
index 23f57c8..f8bd693 100644
--- a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -1356,6 +1356,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_Double_Double (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, double arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, UIntPtr arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, UIntPtr arg3);
@@ -2242,6 +2246,18 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NSRange (IntPtr receiver, IntPtr selector, NSRange arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NSRange NSRange_objc_msgSend_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NSRange NSRange_objc_msgSendSuper_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
+ public extern static void NSRange_objc_msgSend_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
+ public extern static void NSRange_objc_msgSendSuper_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static void void_objc_msgSend_Double_NativeHandle (IntPtr receiver, IntPtr selector, double arg1, NativeHandle arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_Double_NativeHandle (IntPtr receiver, IntPtr selector, double arg1, NativeHandle arg2);
@@ -2522,10 +2538,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr_NativeHandle_bool_ref_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2, NativeHandle arg3, [MarshalAs (UnmanagedType.I1)] bool arg4, ref NativeHandle arg5);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (IntPtr receiver, IntPtr selector, UIntPtr arg1, UIntPtr arg2);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_UIntPtr_ref_NativeHandle_ref_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, UIntPtr arg4, ref NativeHandle arg5, ref NativeHandle arg6);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
@@ -2792,6 +2804,10 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NativeHandle_UIntPtr_NativeHandle_NativeHandle_UIntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, nuint arg2, NativeHandle arg3, NativeHandle arg4, nuint arg5);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, NativeHandle arg3, NativeHandle arg4);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NSOperatingSystemVersion NSOperatingSystemVersion_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NSOperatingSystemVersion NSOperatingSystemVersion_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
@@ -2898,14 +2914,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_out_UIntPtr_out_UIntPtr_out_UIntPtr_NSRange (IntPtr receiver, IntPtr selector, out nuint arg1, out nuint arg2, out nuint arg3, NSRange arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NSRange NSRange_objc_msgSend_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NSRange NSRange_objc_msgSendSuper_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend_stret")]
- public extern static void NSRange_objc_msgSend_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper_stret")]
- public extern static void NSRange_objc_msgSendSuper_stret_NativeHandle (out NSRange retval, IntPtr receiver, IntPtr selector, NativeHandle arg1);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NSRange_NativeHandle_NativeHandle_Double (IntPtr receiver, IntPtr selector, NSRange arg1, NativeHandle arg2, NativeHandle arg3, double arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NSRange_NativeHandle_NativeHandle_Double (IntPtr receiver, IntPtr selector, NSRange arg1, NativeHandle arg2, NativeHandle arg3, double arg4);
@@ -6610,10 +6618,6 @@ namespace ObjCRuntime {
[return: MarshalAs (UnmanagedType.I1)]
public extern static bool bool_objc_msgSendSuper_NativeHandle_Double (IntPtr receiver, IntPtr selector, NativeHandle arg1, double arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static nint IntPtr_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static nint IntPtr_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, nint arg1, nint arg2, nint arg3, nint arg4);
diff --git a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Trampolines.g.cs b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Trampolines.g.cs
index cf421da..fe7c55b 100644
--- a/old/dotnet/maccatalyst/generated-sources/ObjCRuntime/Trampolines.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/ObjCRuntime/Trampolines.g.cs
@@ -4679,6 +4679,48 @@ namespace ObjCRuntime {
}
} /* class NIDLinguisticTagEnumerator */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (LoadFileRepresentationHandler))]
+ internal delegate void DLoadFileRepresentationHandler (IntPtr block, NativeHandle fileUrl, bool openInPlace, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDLoadFileRepresentationHandler {
+ static internal readonly DLoadFileRepresentationHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DLoadFileRepresentationHandler))]
+ static unsafe void Invoke (IntPtr block, NativeHandle fileUrl, bool openInPlace, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (LoadFileRepresentationHandler) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<NSUrl> (fileUrl)!, openInPlace, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDLoadFileRepresentationHandler */
+ internal sealed class NIDLoadFileRepresentationHandler : TrampolineBlockBase {
+ DLoadFileRepresentationHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDLoadFileRepresentationHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DLoadFileRepresentationHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static LoadFileRepresentationHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (LoadFileRepresentationHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDLoadFileRepresentationHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (NSUrl fileUrl, bool openInPlace, NSError error)
+ {
+ var fileUrl__handle__ = fileUrl.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, fileUrl__handle__, openInPlace, error__handle__);
+ }
+ } /* class NIDLoadFileRepresentationHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (LoadInPlaceFileRepresentationHandler))]
internal delegate void DLoadInPlaceFileRepresentationHandler (IntPtr block, NativeHandle fileUrl, bool isInPlace, NativeHandle error);
//
@@ -29212,6 +29254,49 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity3V1 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>))]
+ internal delegate void DActionArity3V2 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDActionArity3V2 {
+ static internal readonly DActionArity3V2 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DActionArity3V2))]
+ static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<CKRecordID> (arg1)!, Runtime.GetNSObject<CKShare> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
+ }
+ } /* class SDActionArity3V2 */
+ internal sealed class NIDActionArity3V2 : TrampolineBlockBase {
+ DActionArity3V2 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDActionArity3V2 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DActionArity3V2> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Action<global::CloudKit.CKRecordID, global::CloudKit.CKShare, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity3V2 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::CloudKit.CKRecordID arg1, global::CloudKit.CKShare arg2, NSError arg3)
+ {
+ var arg1__handle__ = arg1.GetHandle ();
+ var arg2__handle__ = arg2.GetHandle ();
+ var arg3__handle__ = arg3.GetHandle ();
+ invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
+ }
+ } /* class NIDActionArity3V2 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::CoreMedia.CMSampleBuffer, global::AVFoundation.AVCaptureBracketedStillImageSettings, NSError>))]
internal delegate void DActionArity3V0 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
@@ -29256,28 +29341,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity3V0 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>))]
- internal delegate void DActionArity3V12 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V13 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V12 {
- static internal readonly DActionArity3V12 Handler = Invoke;
+ static internal class SDActionArity3V13 {
+ static internal readonly DActionArity3V13 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V12))]
+ [MonoPInvokeCallback (typeof (DActionArity3V13))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>) (descriptor->Target);
if (del != null)
del (arg1 == IntPtr.Zero ? null! : new CMSampleBuffer (arg1, false), (ReplayKit.RPSampleBufferType) (long) arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V12 */
- internal sealed class NIDActionArity3V12 : TrampolineBlockBase {
- DActionArity3V12 invoker;
+ } /* class SDActionArity3V13 */
+ internal sealed class NIDActionArity3V13 : TrampolineBlockBase {
+ DActionArity3V13 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V12 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V13 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V12> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V13> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29286,7 +29371,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::CoreMedia.CMSampleBuffer, global::ReplayKit.RPSampleBufferType, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V12 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V13 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::CoreMedia.CMSampleBuffer arg1, global::ReplayKit.RPSampleBufferType arg2, NSError arg3)
@@ -29295,31 +29380,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, (IntPtr) (long) arg2, arg3__handle__);
}
- } /* class NIDActionArity3V12 */
+ } /* class NIDActionArity3V13 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSData, NSHttpUrlResponse, NSError>))]
- internal delegate void DActionArity3V13 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V14 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V13 {
- static internal readonly DActionArity3V13 Handler = Invoke;
+ static internal class SDActionArity3V14 {
+ static internal readonly DActionArity3V14 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V13))]
+ [MonoPInvokeCallback (typeof (DActionArity3V14))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSData, NSHttpUrlResponse, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSData> (arg1)!, Runtime.GetNSObject<NSHttpUrlResponse> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V13 */
- internal sealed class NIDActionArity3V13 : TrampolineBlockBase {
- DActionArity3V13 invoker;
+ } /* class SDActionArity3V14 */
+ internal sealed class NIDActionArity3V14 : TrampolineBlockBase {
+ DActionArity3V14 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V13 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V14 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V13> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V14> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29328,7 +29413,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSData, NSHttpUrlResponse, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V13 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V14 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSData arg1, NSHttpUrlResponse arg2, NSError arg3)
@@ -29338,31 +29423,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V13 */
+ } /* class NIDActionArity3V14 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSInputStream, NSOutputStream, NSError>))]
- internal delegate void DActionArity3V3 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V4 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V3 {
- static internal readonly DActionArity3V3 Handler = Invoke;
+ static internal class SDActionArity3V4 {
+ static internal readonly DActionArity3V4 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V3))]
+ [MonoPInvokeCallback (typeof (DActionArity3V4))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSInputStream, NSOutputStream, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSInputStream> (arg1)!, Runtime.GetNSObject<NSOutputStream> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V3 */
- internal sealed class NIDActionArity3V3 : TrampolineBlockBase {
- DActionArity3V3 invoker;
+ } /* class SDActionArity3V4 */
+ internal sealed class NIDActionArity3V4 : TrampolineBlockBase {
+ DActionArity3V4 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V3 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V4 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V3> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V4> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29371,7 +29456,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSInputStream, NSOutputStream, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V3 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V4 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSInputStream arg1, NSOutputStream arg2, NSError arg3)
@@ -29381,31 +29466,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V3 */
+ } /* class NIDActionArity3V4 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>))]
- internal delegate void DActionArity3V4 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V5 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V4 {
- static internal readonly DActionArity3V4 Handler = Invoke;
+ static internal class SDActionArity3V5 {
+ static internal readonly DActionArity3V5 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V4))]
+ [MonoPInvokeCallback (typeof (DActionArity3V5))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKActivitySummaryQuery> (arg1)!, CFArray.ArrayFromHandle<global::HealthKit.HKActivitySummary> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V4 */
- internal sealed class NIDActionArity3V4 : TrampolineBlockBase {
- DActionArity3V4 invoker;
+ } /* class SDActionArity3V5 */
+ internal sealed class NIDActionArity3V5 : TrampolineBlockBase {
+ DActionArity3V5 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V4 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V5 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V4> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V5> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29414,7 +29499,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKActivitySummaryQuery, global::HealthKit.HKActivitySummary[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V4 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V5 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKActivitySummaryQuery arg1, global::HealthKit.HKActivitySummary[] arg2, NSError arg3)
@@ -29428,31 +29513,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity3V4 */
+ } /* class NIDActionArity3V5 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>))]
- internal delegate void DActionArity3V6 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V7 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V6 {
- static internal readonly DActionArity3V6 Handler = Invoke;
+ static internal class SDActionArity3V7 {
+ static internal readonly DActionArity3V7 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V6))]
+ [MonoPInvokeCallback (typeof (DActionArity3V7))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKQuantity> (arg1)!, Runtime.GetNSObject<HealthKit.HKQuantity> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V6 */
- internal sealed class NIDActionArity3V6 : TrampolineBlockBase {
- DActionArity3V6 invoker;
+ } /* class SDActionArity3V7 */
+ internal sealed class NIDActionArity3V7 : TrampolineBlockBase {
+ DActionArity3V7 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V6 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V7 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V6> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V7> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29461,7 +29546,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKQuantity, global::HealthKit.HKQuantity, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V6 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V7 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKQuantity arg1, global::HealthKit.HKQuantity arg2, NSError arg3)
@@ -29471,31 +29556,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V6 */
+ } /* class NIDActionArity3V7 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>))]
- internal delegate void DActionArity3V7 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V8 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V7 {
- static internal readonly DActionArity3V7 Handler = Invoke;
+ static internal class SDActionArity3V8 {
+ static internal readonly DActionArity3V8 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V7))]
+ [MonoPInvokeCallback (typeof (DActionArity3V8))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<HealthKit.HKVerifiableClinicalRecordQuery> (arg1)!, CFArray.ArrayFromHandle<global::HealthKit.HKVerifiableClinicalRecord> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V7 */
- internal sealed class NIDActionArity3V7 : TrampolineBlockBase {
- DActionArity3V7 invoker;
+ } /* class SDActionArity3V8 */
+ internal sealed class NIDActionArity3V8 : TrampolineBlockBase {
+ DActionArity3V8 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V7 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V8 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V7> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V8> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29504,7 +29589,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::HealthKit.HKVerifiableClinicalRecordQuery, global::HealthKit.HKVerifiableClinicalRecord[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V7 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V8 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::HealthKit.HKVerifiableClinicalRecordQuery arg1, global::HealthKit.HKVerifiableClinicalRecord[] arg2, NSError arg3)
@@ -29518,31 +29603,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity3V7 */
+ } /* class NIDActionArity3V8 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>))]
- internal delegate void DActionArity3V9 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V10 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V9 {
- static internal readonly DActionArity3V9 Handler = Invoke;
+ static internal class SDActionArity3V10 {
+ static internal readonly DActionArity3V10 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V9))]
+ [MonoPInvokeCallback (typeof (DActionArity3V10))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLComputePipelineState> (arg1, false)!, Runtime.GetNSObject<MTLComputePipelineReflection> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V9 */
- internal sealed class NIDActionArity3V9 : TrampolineBlockBase {
- DActionArity3V9 invoker;
+ } /* class SDActionArity3V10 */
+ internal sealed class NIDActionArity3V10 : TrampolineBlockBase {
+ DActionArity3V10 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V9 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V10 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V9> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V10> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29551,7 +29636,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V9 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V10 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLComputePipelineState arg1, global::Metal.MTLComputePipelineReflection arg2, NSError arg3)
@@ -29561,31 +29646,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V9 */
+ } /* class NIDActionArity3V10 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>))]
- internal delegate void DActionArity3V8 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V9 (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V8 {
- static internal readonly DActionArity3V8 Handler = Invoke;
+ static internal class SDActionArity3V9 {
+ static internal readonly DActionArity3V9 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V8))]
+ [MonoPInvokeCallback (typeof (DActionArity3V9))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLRenderPipelineState> (arg1, false)!, Runtime.GetNSObject<MTLRenderPipelineReflection> (arg2)!, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V8 */
- internal sealed class NIDActionArity3V8 : TrampolineBlockBase {
- DActionArity3V8 invoker;
+ } /* class SDActionArity3V9 */
+ internal sealed class NIDActionArity3V9 : TrampolineBlockBase {
+ DActionArity3V9 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V8 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V9 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V8> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V9> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29594,7 +29679,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V8 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V9 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLRenderPipelineState arg1, global::Metal.MTLRenderPipelineReflection arg2, NSError arg3)
@@ -29604,31 +29689,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__, arg3__handle__);
}
- } /* class NIDActionArity3V8 */
+ } /* class NIDActionArity3V9 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>))]
- internal delegate void DActionArity3V10 (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V11 (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V10 {
- static internal readonly DActionArity3V10 Handler = Invoke;
+ static internal class SDActionArity3V11 {
+ static internal readonly DActionArity3V11 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V10))]
+ [MonoPInvokeCallback (typeof (DActionArity3V11))]
static unsafe void Invoke (IntPtr block, IntPtr arg1, NativeHandle arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) (descriptor->Target);
if (del != null)
del ((PassKit.PKPaymentAuthorizationStatus) (long) arg1, CFArray.ArrayFromHandle<global::PassKit.PKShippingMethod> (arg2)!, CFArray.ArrayFromHandle<global::PassKit.PKPaymentSummaryItem> (arg3)!);
}
- } /* class SDActionArity3V10 */
- internal sealed class NIDActionArity3V10 : TrampolineBlockBase {
- DActionArity3V10 invoker;
+ } /* class SDActionArity3V11 */
+ internal sealed class NIDActionArity3V11 : TrampolineBlockBase {
+ DActionArity3V11 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V10 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V11 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V10> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V11> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29637,7 +29722,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V10 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V11 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::PassKit.PKPaymentAuthorizationStatus arg1, global::PassKit.PKShippingMethod[] arg2, global::PassKit.PKPaymentSummaryItem[] arg3)
@@ -29654,31 +29739,31 @@ namespace ObjCRuntime {
if (nsa_arg3 != null)
nsa_arg3.Dispose ();
}
- } /* class NIDActionArity3V10 */
+ } /* class NIDActionArity3V11 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>))]
- internal delegate void DActionArity3V11 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V12 (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V11 {
- static internal readonly DActionArity3V11 Handler = Invoke;
+ static internal class SDActionArity3V12 {
+ static internal readonly DActionArity3V12 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V11))]
+ [MonoPInvokeCallback (typeof (DActionArity3V12))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, IntPtr arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<QuickLookThumbnailing.QLThumbnailRepresentation> (arg1)!, (QuickLookThumbnailing.QLThumbnailRepresentationType) (long) arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V11 */
- internal sealed class NIDActionArity3V11 : TrampolineBlockBase {
- DActionArity3V11 invoker;
+ } /* class SDActionArity3V12 */
+ internal sealed class NIDActionArity3V12 : TrampolineBlockBase {
+ DActionArity3V12 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V11 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V12 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V11> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V12> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29687,7 +29772,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::QuickLookThumbnailing.QLThumbnailRepresentation, global::QuickLookThumbnailing.QLThumbnailRepresentationType, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V11 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V12 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::QuickLookThumbnailing.QLThumbnailRepresentation arg1, global::QuickLookThumbnailing.QLThumbnailRepresentationType arg2, NSError arg3)
@@ -29696,31 +29781,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1__handle__, (IntPtr) (long) arg2, arg3__handle__);
}
- } /* class NIDActionArity3V11 */
+ } /* class NIDActionArity3V12 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<bool, nuint, NSError>))]
- internal delegate void DActionArity3V5 (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V6 (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V5 {
- static internal readonly DActionArity3V5 Handler = Invoke;
+ static internal class SDActionArity3V6 {
+ static internal readonly DActionArity3V6 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V5))]
+ [MonoPInvokeCallback (typeof (DActionArity3V6))]
static unsafe void Invoke (IntPtr block, bool arg1, nuint arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<bool, nuint, NSError>) (descriptor->Target);
if (del != null)
del (arg1, arg2, Runtime.GetNSObject<NSError> (arg3)!);
}
- } /* class SDActionArity3V5 */
- internal sealed class NIDActionArity3V5 : TrampolineBlockBase {
- DActionArity3V5 invoker;
+ } /* class SDActionArity3V6 */
+ internal sealed class NIDActionArity3V6 : TrampolineBlockBase {
+ DActionArity3V6 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V5 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V6 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V5> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V6> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29729,7 +29814,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<bool, nuint, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V5 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V6 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (bool arg1, nuint arg2, NSError arg3)
@@ -29737,31 +29822,31 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1, arg2, arg3__handle__);
}
- } /* class NIDActionArity3V5 */
+ } /* class NIDActionArity3V6 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<nint, nint, NSArray<NSNumber>>))]
- internal delegate void DActionArity3V2 (IntPtr block, nint arg1, nint arg2, NativeHandle arg3);
+ internal delegate void DActionArity3V3 (IntPtr block, nint arg1, nint arg2, NativeHandle arg3);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity3V2 {
- static internal readonly DActionArity3V2 Handler = Invoke;
+ static internal class SDActionArity3V3 {
+ static internal readonly DActionArity3V3 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity3V2))]
+ [MonoPInvokeCallback (typeof (DActionArity3V3))]
static unsafe void Invoke (IntPtr block, nint arg1, nint arg2, NativeHandle arg3) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<nint, nint, NSArray<NSNumber>>) (descriptor->Target);
if (del != null)
del (arg1, arg2, Runtime.GetNSObject<global::Foundation.NSArray<NSNumber>> (arg3)!);
}
- } /* class SDActionArity3V2 */
- internal sealed class NIDActionArity3V2 : TrampolineBlockBase {
- DActionArity3V2 invoker;
+ } /* class SDActionArity3V3 */
+ internal sealed class NIDActionArity3V3 : TrampolineBlockBase {
+ DActionArity3V3 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity3V2 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity3V3 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity3V2> ();
+ invoker = block->GetDelegateForBlock<DActionArity3V3> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29770,7 +29855,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<nint, nint, NSArray<NSNumber>>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity3V2 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity3V3 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (nint arg1, nint arg2, NSArray<NSNumber> arg3)
@@ -29778,7 +29863,7 @@ namespace ObjCRuntime {
var arg3__handle__ = arg3.GetHandle ();
invoker (BlockPointer, arg1, arg2, arg3__handle__);
}
- } /* class NIDActionArity3V2 */
+ } /* class NIDActionArity3V3 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::HealthKit.HKDocumentQuery, global::HealthKit.HKDocumentSample[], bool, NSError>))]
internal delegate void DActionArity4V0 (IntPtr block, NativeHandle arg1, NativeHandle arg2, bool arg3, NativeHandle arg4);
diff --git a/old/dotnet/maccatalyst/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs b/new/dotnet/maccatalyst/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
index e594771..c347ca0 100644
--- a/old/dotnet/maccatalyst/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/PassKit/PKPaymentAuthorizationControllerDelegate.g.cs
@@ -59,7 +59,7 @@ namespace PassKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillAuthorizePayment", Selector = "paymentAuthorizationControllerWillAuthorizePayment:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingMethod", Selector = "paymentAuthorizationController:didSelectShippingMethod:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKShippingMethod), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V117) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingMethod", Selector = "paymentAuthorizationController:didSelectShippingMethod:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentRequestPaymentMethodUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V202) })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V10) })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKShippingMethod[], global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V11) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectShippingContact", Selector = "paymentAuthorizationController:didSelectShippingContact:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKContact), typeof (global::System.Action<global::PassKit.PKPaymentRequestShippingContactUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V203) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPaymentMethod", Selector = "paymentAuthorizationController:didSelectPaymentMethod:completion:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentSummaryItem[]>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V204) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPaymentMethod", Selector = "paymentAuthorizationController:didSelectPaymentMethod:handler:", ParameterType = new Type [] { typeof (PassKit.PKPaymentAuthorizationController), typeof (PassKit.PKPaymentMethod), typeof (global::System.Action<global::PassKit.PKPaymentRequestPaymentMethodUpdate>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V202) })]
@@ -193,7 +193,7 @@ namespace PassKit {
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void DidSelectShippingContact (this IPKPaymentAuthorizationControllerDelegate This, PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
+ public unsafe static void DidSelectShippingContact (this IPKPaymentAuthorizationControllerDelegate This, PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
{
var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
var contact__handle__ = contact!.GetNonNullHandle (nameof (contact));
@@ -203,7 +203,7 @@ namespace PassKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V10.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity3V11.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("paymentAuthorizationController:didSelectShippingContact:completion:"), controller__handle__, contact__handle__, (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
}
@@ -453,7 +453,7 @@ namespace PassKit {
[SupportedOSPlatform ("ios10.0.0")]
[SupportedOSPlatform ("maccatalyst10.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V10))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
+ public unsafe virtual void DidSelectShippingContact (PKPaymentAuthorizationController controller, PKContact contact, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]> completion)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/maccatalyst/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs b/new/dotnet/maccatalyst/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
index 443343d..89bb228 100644
--- a/old/dotnet/maccatalyst/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/QuickLookThumbnailing/QLThumbnailGenerator.g.cs
@@ -125,7 +125,7 @@ namespace QuickLookThumbnailing {
[SupportedOSPlatform ("ios13.0.0")]
[SupportedOSPlatform ("maccatalyst13.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GenerateRepresentations (QLThumbnailGenerationRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V11))]global::System.Action<QLThumbnailRepresentation, QLThumbnailRepresentationType, NSError>? updateHandler)
+ public unsafe virtual void GenerateRepresentations (QLThumbnailGenerationRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<QLThumbnailRepresentation, QLThumbnailRepresentationType, NSError>? updateHandler)
{
var request__handle__ = request!.GetNonNullHandle (nameof (request));
BlockLiteral *block_ptr_updateHandler;
@@ -135,7 +135,7 @@ namespace QuickLookThumbnailing {
} else {
block_updateHandler = new BlockLiteral ();
block_ptr_updateHandler = &block_updateHandler;
- block_updateHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V11.Handler, updateHandler);
+ block_updateHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V12.Handler, updateHandler);
}
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("generateRepresentationsForRequest:updateHandler:"), request__handle__, (IntPtr) block_ptr_updateHandler);
diff --git a/old/dotnet/maccatalyst/generated-sources/ReplayKit/RPScreenRecorder.g.cs b/new/dotnet/maccatalyst/generated-sources/ReplayKit/RPScreenRecorder.g.cs
index d248189..2fb262f 100644
--- a/old/dotnet/maccatalyst/generated-sources/ReplayKit/RPScreenRecorder.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/ReplayKit/RPScreenRecorder.g.cs
@@ -140,7 +140,7 @@ namespace ReplayKit {
[SupportedOSPlatform ("maccatalyst11.0.0")]
[SupportedOSPlatform ("macos11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void StartCapture ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V17))]global::System.Action<NSError>? completionHandler)
+ public unsafe void StartCapture ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V17))]global::System.Action<NSError>? completionHandler)
{
BlockLiteral *block_ptr_captureHandler;
BlockLiteral block_captureHandler;
@@ -149,7 +149,7 @@ namespace ReplayKit {
} else {
block_captureHandler = new BlockLiteral ();
block_ptr_captureHandler = &block_captureHandler;
- block_captureHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V12.Handler, captureHandler);
+ block_captureHandler.SetupBlockUnsafe (Trampolines.SDActionArity3V13.Handler, captureHandler);
}
BlockLiteral *block_ptr_completionHandler;
BlockLiteral block_completionHandler;
@@ -171,7 +171,7 @@ namespace ReplayKit {
[SupportedOSPlatform ("maccatalyst11.0.0")]
[SupportedOSPlatform ("macos11.0.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe Task StartCaptureAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V12))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler)
+ public unsafe Task StartCaptureAsync ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<global::CoreMedia.CMSampleBuffer, RPSampleBufferType, NSError>? captureHandler)
{
var tcs = new TaskCompletionSource<bool> ();
StartCapture(captureHandler, (obj_) => {
diff --git a/old/dotnet/maccatalyst/generated-sources/Social/SLRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Social/SLRequest.g.cs
index 82a7a07..ffe1f96 100644
--- a/old/dotnet/maccatalyst/generated-sources/Social/SLRequest.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/Social/SLRequest.g.cs
@@ -110,7 +110,7 @@ namespace Social {
}
[Export ("performRequestWithHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void PerformRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V13))]global::System.Action<NSData, NSHttpUrlResponse, NSError> handler)
+ public unsafe virtual void PerformRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V14))]global::System.Action<NSData, NSHttpUrlResponse, NSError> handler)
{
if (handler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (handler));
@@ -118,7 +118,7 @@ namespace Social {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V13.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V14.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("performRequestWithHandler:"), (IntPtr) block_ptr_handler);
} else {
diff --git a/old/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs b/new/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs
index 701e522..0492024 100644
--- a/old/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs
@@ -217,6 +217,7 @@ namespace Foundation {
public delegate void EnumerateIndexSetCallback (nuint idx, ref bool stop);
public delegate void ItemProviderDataCompletionHandler (NSData data, NSError error);
public delegate void LinguisticTagEnumerator (string tag, NSRange tokenRange, bool stop);
+ public delegate void LoadFileRepresentationHandler (NSUrl fileUrl, bool openInPlace, NSError error);
public delegate void LoadInPlaceFileRepresentationHandler (NSUrl fileUrl, bool isInPlace, NSError error);
public delegate void NSAttributedRangeCallback (NSDictionary attrs, NSRange range, ref bool stop);
public delegate void NSAttributedStringCallback (NSObject value, NSRange range, ref bool stop);
diff --git a/old/dotnet/macos/ILLink.Substitutions.xml b/new/dotnet/macos/ILLink.Substitutions.xml
index 3ab27d2..75d6785 100644
--- a/old/dotnet/macos/ILLink.Substitutions.xml
+++ b/new/dotnet/macos/ILLink.Substitutions.xml
@@ -4,8 +4,7 @@
<method signature="System.Void WarnOnce()" body="stub" feature="System.Diagnostics.Debugger.IsSupported" featurevalue="false" />
</type>
<type fullname="ObjCRuntime.Runtime">
- <method signature="System.Boolean get_IsCoreCLR()" body="stub" value="false" feature="ObjCRuntime.Runtime.IsCoreCLR" featurevalue="false" />
- <method signature="System.Boolean get_IsCoreCLR()" body="stub" value="true" feature="ObjCRuntime.Runtime.IsCoreCLR" featurevalue="true" />
+ <method signature="System.Boolean get_IsCoreCLR()" body="stub" value="true" />
</type>
<type fullname="AppKit.NSApplication">
<method signature="System.Void EnsureEventAndDelegateAreNotMismatched(System.Object,System.Type)" body="stub" feature="System.Diagnostics.Debugger.IsSupported" featurevalue="false" />
diff --git a/old/dotnet/macos/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs b/new/dotnet/macos/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
index 0c619af..9288c19 100644
--- a/old/dotnet/macos/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
+++ b/new/dotnet/macos/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
@@ -216,6 +216,17 @@ namespace AVFoundation {
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
+ [Export ("URLSession:didCreateTask:")]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
[Export ("URLSession:task:didFinishCollectingMetrics:")]
[SupportedOSPlatform ("tvos10.0")]
[SupportedOSPlatform ("macos10.12")]
diff --git a/old/dotnet/macos/generated-sources/AppKit/NSDocument.g.cs b/new/dotnet/macos/generated-sources/AppKit/NSDocument.g.cs
index 305c642..1f1bdaf 100644
--- a/old/dotnet/macos/generated-sources/AppKit/NSDocument.g.cs
+++ b/new/dotnet/macos/generated-sources/AppKit/NSDocument.g.cs
@@ -3035,7 +3035,7 @@ namespace AppKit {
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public virtual NSUrl PrimaryPresentedItemUrl {
+ public virtual NSUrl? PrimaryPresentedItemUrl {
[Export ("primaryPresentedItemURL")]
get {
global::AppKit.NSApplication.EnsureUIThread ();
diff --git a/old/dotnet/macos/generated-sources/AppKit/NSSavePanel.g.cs b/new/dotnet/macos/generated-sources/AppKit/NSSavePanel.g.cs
index f52bf71..025b0fc 100644
--- a/old/dotnet/macos/generated-sources/AppKit/NSSavePanel.g.cs
+++ b/new/dotnet/macos/generated-sources/AppKit/NSSavePanel.g.cs
@@ -473,7 +473,7 @@ namespace AppKit {
[UnsupportedOSPlatform ("macos12.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- public virtual string[] AllowedFileTypes {
+ public virtual string[]? AllowedFileTypes {
[Export ("allowedFileTypes")]
[UnsupportedOSPlatform ("maccatalyst")]
#if __MACOS__
@@ -498,15 +498,14 @@ namespace AppKit {
[SupportedOSPlatform ("macos")]
set {
global::AppKit.NSApplication.EnsureUIThread ();
- if (value is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
- var nsa_value = NSArray.FromStrings (value);
+ var nsa_value = value is null ? null : NSArray.FromStrings (value);
if (IsDirectBinding) {
- global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetAllowedFileTypes_Handle, nsa_value.Handle);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetAllowedFileTypes_Handle, nsa_value.GetHandle ());
} else {
- global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetAllowedFileTypes_Handle, nsa_value.Handle);
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetAllowedFileTypes_Handle, nsa_value.GetHandle ());
}
- nsa_value.Dispose ();
+ if (nsa_value != null)
+ nsa_value.Dispose ();
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/new/dotnet/macos/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs b/new/dotnet/macos/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
new file mode 100644
index 0000000..424f419
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/CloudKit/CKAllowedSharingOptions.g.cs
@@ -0,0 +1,242 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKAllowedSharingOptions", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKAllowedSharingOptions : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAllowedParticipantAccessOptions = "allowedParticipantAccessOptions";
+ static readonly NativeHandle selAllowedParticipantAccessOptionsHandle = Selector.GetHandle ("allowedParticipantAccessOptions");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAllowedParticipantPermissionOptions = "allowedParticipantPermissionOptions";
+ static readonly NativeHandle selAllowedParticipantPermissionOptionsHandle = Selector.GetHandle ("allowedParticipantPermissionOptions");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEncodeWithCoder_ = "encodeWithCoder:";
+ static readonly NativeHandle selEncodeWithCoder_Handle = Selector.GetHandle ("encodeWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithAllowedParticipantPermissionOptions_AllowedParticipantAccessOptions_ = "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:";
+ static readonly NativeHandle selInitWithAllowedParticipantPermissionOptions_AllowedParticipantAccessOptions_Handle = Selector.GetHandle ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithCoder_ = "initWithCoder:";
+ static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAllowedParticipantAccessOptions_ = "setAllowedParticipantAccessOptions:";
+ static readonly NativeHandle selSetAllowedParticipantAccessOptions_Handle = Selector.GetHandle ("setAllowedParticipantAccessOptions:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAllowedParticipantPermissionOptions_ = "setAllowedParticipantPermissionOptions:";
+ static readonly NativeHandle selSetAllowedParticipantPermissionOptions_Handle = Selector.GetHandle ("setAllowedParticipantPermissionOptions:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selStandardOptions = "standardOptions";
+ static readonly NativeHandle selStandardOptionsHandle = Selector.GetHandle ("standardOptions");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKAllowedSharingOptions");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public CKAllowedSharingOptions (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKAllowedSharingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKAllowedSharingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKAllowedSharingOptions (CKSharingParticipantPermissionOption allowedParticipantPermissionOptions, CKSharingParticipantAccessOption allowedParticipantAccessOptions)
+ : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_UIntPtr (this.Handle, selInitWithAllowedParticipantPermissionOptions_AllowedParticipantAccessOptions_Handle, (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_UIntPtr_UIntPtr (this.SuperHandle, selInitWithAllowedParticipantPermissionOptions_AllowedParticipantAccessOptions_Handle, (UIntPtr) (ulong) allowedParticipantPermissionOptions, (UIntPtr) (ulong) allowedParticipantAccessOptions), "initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:");
+ }
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selEncodeWithCoder_Handle, encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selEncodeWithCoder_Handle, encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantAccessOption AllowedParticipantAccessOptions {
+ [Export ("allowedParticipantAccessOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKSharingParticipantAccessOption ret;
+ if (IsDirectBinding) {
+ ret = (CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selAllowedParticipantAccessOptionsHandle);
+ } else {
+ ret = (CKSharingParticipantAccessOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selAllowedParticipantAccessOptionsHandle);
+ }
+ return ret!;
+ }
+ [Export ("setAllowedParticipantAccessOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetAllowedParticipantAccessOptions_Handle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetAllowedParticipantAccessOptions_Handle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual CKSharingParticipantPermissionOption AllowedParticipantPermissionOptions {
+ [Export ("allowedParticipantPermissionOptions", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKSharingParticipantPermissionOption ret;
+ if (IsDirectBinding) {
+ ret = (CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selAllowedParticipantPermissionOptionsHandle);
+ } else {
+ ret = (CKSharingParticipantPermissionOption) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selAllowedParticipantPermissionOptionsHandle);
+ }
+ return ret!;
+ }
+ [Export ("setAllowedParticipantPermissionOptions:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetAllowedParticipantPermissionOptions_Handle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetAllowedParticipantPermissionOptions_Handle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public static CKAllowedSharingOptions StandardOptions {
+ [Export ("standardOptions", ArgumentSemantic.Retain)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ CKAllowedSharingOptions? ret;
+ ret = Runtime.GetNSObject<CKAllowedSharingOptions> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, selStandardOptionsHandle))!;
+ return ret!;
+ }
+ }
+ } /* class CKAllowedSharingOptions */
+}
diff --git a/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs b/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
new file mode 100644
index 0000000..93ef68e
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantAccessOption.g.cs
@@ -0,0 +1,58 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantAccessOption : ulong {
+ AnyoneWithLink = 1,
+ SpecifiedRecipientsOnly = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs b/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
new file mode 100644
index 0000000..c333694
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/CloudKit/CKSharingParticipantPermissionOption.g.cs
@@ -0,0 +1,58 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [Flags]
+ [Native]
+ public enum CKSharingParticipantPermissionOption : ulong {
+ ReadOnly = 1,
+ ReadWrite = 2,
+ Any = 3,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs b/new/dotnet/macos/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
new file mode 100644
index 0000000..5458eee
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/CloudKit/CKSystemSharingUIObserver.g.cs
@@ -0,0 +1,183 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace CloudKit {
+ [Register("CKSystemSharingUIObserver", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class CKSystemSharingUIObserver : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithContainer_ = "initWithContainer:";
+ static readonly NativeHandle selInitWithContainer_Handle = Selector.GetHandle ("initWithContainer:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetSystemSharingUIDidSaveShareBlock_ = "setSystemSharingUIDidSaveShareBlock:";
+ static readonly NativeHandle selSetSystemSharingUIDidSaveShareBlock_Handle = Selector.GetHandle ("setSystemSharingUIDidSaveShareBlock:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetSystemSharingUIDidStopSharingBlock_ = "setSystemSharingUIDidStopSharingBlock:";
+ static readonly NativeHandle selSetSystemSharingUIDidStopSharingBlock_Handle = Selector.GetHandle ("setSystemSharingUIDidStopSharingBlock:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSystemSharingUIDidSaveShareBlock = "systemSharingUIDidSaveShareBlock";
+ static readonly NativeHandle selSystemSharingUIDidSaveShareBlockHandle = Selector.GetHandle ("systemSharingUIDidSaveShareBlock");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSystemSharingUIDidStopSharingBlock = "systemSharingUIDidStopSharingBlock";
+ static readonly NativeHandle selSystemSharingUIDidStopSharingBlockHandle = Selector.GetHandle ("systemSharingUIDidStopSharingBlock");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("CKSystemSharingUIObserver");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected CKSystemSharingUIObserver (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal CKSystemSharingUIObserver (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithContainer:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public CKSystemSharingUIObserver (CKContainer container)
+ : base (NSObjectFlag.Empty)
+ {
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selInitWithContainer_Handle, container__handle__), "initWithContainer:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selInitWithContainer_Handle, container__handle__), "initWithContainer:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, CKShare, NSError>? SystemSharingUIDidSaveShareHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V1))]
+ [Export ("systemSharingUIDidSaveShareBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selSystemSharingUIDidSaveShareBlockHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selSystemSharingUIDidSaveShareBlockHandle);
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity3V1.Create (ret)!;
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V1))]
+ [Export ("setSystemSharingUIDidSaveShareBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity3V1.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetSystemSharingUIDidSaveShareBlock_Handle, (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetSystemSharingUIDidSaveShareBlock_Handle, (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe virtual global::System.Action<CKRecordID, NSError>? SystemSharingUIDidStopSharingHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity2V42))]
+ [Export ("systemSharingUIDidStopSharingBlock", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ NativeHandle ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selSystemSharingUIDidStopSharingBlockHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selSystemSharingUIDidStopSharingBlockHandle);
+ }
+ return global::ObjCRuntime.Trampolines.NIDActionArity2V42.Create (ret)!;
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V42))]
+ [Export ("setSystemSharingUIDidStopSharingBlock:", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ set {
+ BlockLiteral *block_ptr_value;
+ BlockLiteral block_value;
+ block_value = new BlockLiteral ();
+ block_ptr_value = &block_value;
+ block_value.SetupBlockUnsafe (Trampolines.SDActionArity2V42.Handler, value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetSystemSharingUIDidStopSharingBlock_Handle, (IntPtr) block_ptr_value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetSystemSharingUIDidStopSharingBlock_Handle, (IntPtr) block_ptr_value);
+ }
+ block_ptr_value->CleanupBlock ();
+ }
+ }
+ } /* class CKSystemSharingUIObserver */
+}
diff --git a/old/dotnet/macos/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/macos/generated-sources/CoreML/MLMultiArray.g.cs
index b4b1092..9af956a 100644
--- a/old/dotnet/macos/generated-sources/CoreML/MLMultiArray.g.cs
+++ b/new/dotnet/macos/generated-sources/CoreML/MLMultiArray.g.cs
@@ -281,7 +281,7 @@ namespace CoreML {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V1))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
+ public unsafe virtual void GetMutableBytes ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V2))]global::System.Action<nint, nint, NSArray<NSNumber>> handler)
{
if (handler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (handler));
@@ -289,7 +289,7 @@ namespace CoreML {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V1.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity3V2.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selGetMutableBytesWithHandler_Handle, (IntPtr) block_ptr_handler);
} else {
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSActivityOptions.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSActivityOptions.g.cs
index 80a1936..bda1946 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSActivityOptions.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSActivityOptions.g.cs
@@ -50,6 +50,9 @@ namespace Foundation {
IdleSystemSleepDisabled = 1048576,
SuddenTerminationDisabled = 16384,
AutomaticTerminationDisabled = 32768,
+ AnimationTrackingEnabled = 35184372088832,
+ TrackingEnabled = 70368744177664,
+ UserInteractive = 1095233437695,
UserInitiated = 16777215,
Background = 255,
LatencyCritical = 1095216660480,
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSAttributedString.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedString.g.cs
index 32b1f9b..9215250 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSAttributedString.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedString.g.cs
@@ -69,6 +69,9 @@ namespace Foundation {
const string selAttribute_AtIndex_LongestEffectiveRange_InRange_ = "attribute:atIndex:longestEffectiveRange:inRange:";
static readonly NativeHandle selAttribute_AtIndex_LongestEffectiveRange_InRange_Handle = Selector.GetHandle ("attribute:atIndex:longestEffectiveRange:inRange:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAttributedStringByInflectingString = "attributedStringByInflectingString";
+ static readonly NativeHandle selAttributedStringByInflectingStringHandle = Selector.GetHandle ("attributedStringByInflectingString");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selAttributedStringWithAttachment_ = "attributedStringWithAttachment:";
static readonly NativeHandle selAttributedStringWithAttachment_Handle = Selector.GetHandle ("attributedStringWithAttachment:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -132,6 +135,9 @@ namespace Foundation {
const string selInitWithCoder_ = "initWithCoder:";
static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithContentsOfMarkdownFileAtURL_Options_BaseURL_Error_ = "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:";
+ static readonly NativeHandle selInitWithContentsOfMarkdownFileAtURL_Options_BaseURL_Error_Handle = Selector.GetHandle ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selInitWithData_Options_DocumentAttributes_Error_ = "initWithData:options:documentAttributes:error:";
static readonly NativeHandle selInitWithData_Options_DocumentAttributes_Error_Handle = Selector.GetHandle ("initWithData:options:documentAttributes:error:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -147,6 +153,12 @@ namespace Foundation {
const string selInitWithHTML_Options_DocumentAttributes_ = "initWithHTML:options:documentAttributes:";
static readonly NativeHandle selInitWithHTML_Options_DocumentAttributes_Handle = Selector.GetHandle ("initWithHTML:options:documentAttributes:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithMarkdown_Options_BaseURL_Error_ = "initWithMarkdown:options:baseURL:error:";
+ static readonly NativeHandle selInitWithMarkdown_Options_BaseURL_Error_Handle = Selector.GetHandle ("initWithMarkdown:options:baseURL:error:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithMarkdownString_Options_BaseURL_Error_ = "initWithMarkdownString:options:baseURL:error:";
+ static readonly NativeHandle selInitWithMarkdownString_Options_BaseURL_Error_Handle = Selector.GetHandle ("initWithMarkdownString:options:baseURL:error:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selInitWithPath_DocumentAttributes_ = "initWithPath:documentAttributes:";
static readonly NativeHandle selInitWithPath_DocumentAttributes_Handle = Selector.GetHandle ("initWithPath:documentAttributes:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -522,6 +534,78 @@ namespace Foundation {
}
resultDocumentAttributes = Runtime.GetNSObject<NSDictionary> (resultDocumentAttributesValue)!;
}
+ [Export ("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ var markdownFile__handle__ = markdownFile!.GetNonNullHandle (nameof (markdownFile));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, selInitWithContentsOfMarkdownFileAtURL_Options_BaseURL_Error_Handle, markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, selInitWithContentsOfMarkdownFileAtURL_Options_BaseURL_Error_Handle, markdownFile__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
+ [Export ("initWithMarkdown:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ var markdown__handle__ = markdown!.GetNonNullHandle (nameof (markdown));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, selInitWithMarkdown_Options_BaseURL_Error_Handle, markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, selInitWithMarkdown_Options_BaseURL_Error_Handle, markdown__handle__, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdown:options:baseURL:error:");
+ }
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
+ [Export ("initWithMarkdownString:options:baseURL:error:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error)
+ : base (NSObjectFlag.Empty)
+ {
+ if (markdownString is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (markdownString));
+ var options__handle__ = options.GetHandle ();
+ var baseUrl__handle__ = baseUrl.GetHandle ();
+ NativeHandle errorValue = IntPtr.Zero;
+ var nsmarkdownString = CFString.CreateNative (markdownString);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, selInitWithMarkdownString_Options_BaseURL_Error_Handle, nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, selInitWithMarkdownString_Options_BaseURL_Error_Handle, nsmarkdownString, options__handle__, baseUrl__handle__, ref errorValue), "initWithMarkdownString:options:baseURL:error:");
+ }
+ CFString.ReleaseNative (nsmarkdownString);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ }
[Export ("boundingRectWithSize:options:")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
@@ -1542,6 +1626,30 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual NSAttributedString AttributedStringByInflectingString {
+ [Export ("attributedStringByInflectingString")]
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ get {
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selAttributedStringByInflectingStringHandle))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selAttributedStringByInflectingStringHandle))!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
new file mode 100644
index 0000000..c83b5e2
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringFormattingOptions.g.cs
@@ -0,0 +1,57 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Flags]
+ [Native]
+ public enum NSAttributedStringFormattingOptions : ulong {
+ InsertArgumentAttributesWithoutMerging = 1,
+ ApplyReplacementIndexAttribute = 2,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
new file mode 100644
index 0000000..ec22edf
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownInterpretedSyntax.g.cs
@@ -0,0 +1,57 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownInterpretedSyntax : long {
+ Full = 0,
+ InlineOnly = 1,
+ InlineOnlyPreservingWhitespace = 2,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
new file mode 100644
index 0000000..532e098
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingFailurePolicy.g.cs
@@ -0,0 +1,56 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSAttributedStringMarkdownParsingFailurePolicy : long {
+ Error = 0,
+ PartiallyParsedIfPossible = 1,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
new file mode 100644
index 0000000..b3eab19
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownParsingOptions.g.cs
@@ -0,0 +1,295 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownParsingOptions", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSAttributedStringMarkdownParsingOptions : NSObject, INSCopying {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAllowsExtendedAttributes = "allowsExtendedAttributes";
+ static readonly NativeHandle selAllowsExtendedAttributesHandle = Selector.GetHandle ("allowsExtendedAttributes");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAppliesSourcePositionAttributes = "appliesSourcePositionAttributes";
+ static readonly NativeHandle selAppliesSourcePositionAttributesHandle = Selector.GetHandle ("appliesSourcePositionAttributes");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selFailurePolicy = "failurePolicy";
+ static readonly NativeHandle selFailurePolicyHandle = Selector.GetHandle ("failurePolicy");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInterpretedSyntax = "interpretedSyntax";
+ static readonly NativeHandle selInterpretedSyntaxHandle = Selector.GetHandle ("interpretedSyntax");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selLanguageCode = "languageCode";
+ static readonly NativeHandle selLanguageCodeHandle = Selector.GetHandle ("languageCode");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAllowsExtendedAttributes_ = "setAllowsExtendedAttributes:";
+ static readonly NativeHandle selSetAllowsExtendedAttributes_Handle = Selector.GetHandle ("setAllowsExtendedAttributes:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAppliesSourcePositionAttributes_ = "setAppliesSourcePositionAttributes:";
+ static readonly NativeHandle selSetAppliesSourcePositionAttributes_Handle = Selector.GetHandle ("setAppliesSourcePositionAttributes:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetFailurePolicy_ = "setFailurePolicy:";
+ static readonly NativeHandle selSetFailurePolicy_Handle = Selector.GetHandle ("setFailurePolicy:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInterpretedSyntax_ = "setInterpretedSyntax:";
+ static readonly NativeHandle selSetInterpretedSyntax_Handle = Selector.GetHandle ("setInterpretedSyntax:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetLanguageCode_ = "setLanguageCode:";
+ static readonly NativeHandle selSetLanguageCode_Handle = Selector.GetHandle ("setLanguageCode:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownParsingOptions");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownParsingOptions () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.Init), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.Init), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownParsingOptions (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool AllowsExtendedAttributes {
+ [Export ("allowsExtendedAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selAllowsExtendedAttributesHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selAllowsExtendedAttributesHandle);
+ }
+ }
+ [Export ("setAllowsExtendedAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAllowsExtendedAttributes_Handle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAllowsExtendedAttributes_Handle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual bool AppliesSourcePositionAttributes {
+ [Export ("appliesSourcePositionAttributes")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selAppliesSourcePositionAttributesHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selAppliesSourcePositionAttributesHandle);
+ }
+ }
+ [Export ("setAppliesSourcePositionAttributes:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAppliesSourcePositionAttributes_Handle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAppliesSourcePositionAttributes_Handle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy {
+ [Export ("failurePolicy", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSAttributedStringMarkdownParsingFailurePolicy ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selFailurePolicyHandle);
+ } else {
+ ret = (NSAttributedStringMarkdownParsingFailurePolicy) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selFailurePolicyHandle);
+ }
+ return ret!;
+ }
+ [Export ("setFailurePolicy:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetFailurePolicy_Handle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetFailurePolicy_Handle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax {
+ [Export ("interpretedSyntax", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSAttributedStringMarkdownInterpretedSyntax ret;
+ if (IsDirectBinding) {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selInterpretedSyntaxHandle);
+ } else {
+ ret = (NSAttributedStringMarkdownInterpretedSyntax) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selInterpretedSyntaxHandle);
+ }
+ return ret!;
+ }
+ [Export ("setInterpretedSyntax:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetInterpretedSyntax_Handle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetInterpretedSyntax_Handle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? LanguageCode {
+ [Export ("languageCode")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selLanguageCodeHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selLanguageCodeHandle))!;
+ }
+ }
+ [Export ("setLanguageCode:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetLanguageCode_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetLanguageCode_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class NSAttributedStringMarkdownParsingOptions */
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
new file mode 100644
index 0000000..3021b6b
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringMarkdownSourcePosition.g.cs
@@ -0,0 +1,267 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSAttributedStringMarkdownSourcePosition", true)]
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public unsafe partial class NSAttributedStringMarkdownSourcePosition : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEncodeWithCoder_ = "encodeWithCoder:";
+ static readonly NativeHandle selEncodeWithCoder_Handle = Selector.GetHandle ("encodeWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEndColumn = "endColumn";
+ static readonly NativeHandle selEndColumnHandle = Selector.GetHandle ("endColumn");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEndLine = "endLine";
+ static readonly NativeHandle selEndLineHandle = Selector.GetHandle ("endLine");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithCoder_ = "initWithCoder:";
+ static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithStartLine_StartColumn_EndLine_EndColumn_ = "initWithStartLine:startColumn:endLine:endColumn:";
+ static readonly NativeHandle selInitWithStartLine_StartColumn_EndLine_EndColumn_Handle = Selector.GetHandle ("initWithStartLine:startColumn:endLine:endColumn:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selRangeInString_ = "rangeInString:";
+ static readonly NativeHandle selRangeInString_Handle = Selector.GetHandle ("rangeInString:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selStartColumn = "startColumn";
+ static readonly NativeHandle selStartColumnHandle = Selector.GetHandle ("startColumn");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selStartLine = "startLine";
+ static readonly NativeHandle selStartLineHandle = Selector.GetHandle ("startLine");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSAttributedStringMarkdownSourcePosition");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSAttributedStringMarkdownSourcePosition () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.Init), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.Init), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSAttributedStringMarkdownSourcePosition (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSAttributedStringMarkdownSourcePosition (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithStartLine:startColumn:endLine:endColumn:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn)
+ : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr (this.Handle, selInitWithStartLine_StartColumn_EndLine_EndColumn_Handle, startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr (this.SuperHandle, selInitWithStartLine_StartColumn_EndLine_EndColumn_Handle, startLine, startColumn, endLine, endColumn), "initWithStartLine:startColumn:endLine:endColumn:");
+ }
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selEncodeWithCoder_Handle, encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selEncodeWithCoder_Handle, encoder__handle__);
+ }
+ }
+ [Export ("rangeInString:")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSRange RangeInString (string @string)
+ {
+ if (@string is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (@string));
+ var nsstring = CFString.CreateNative (@string);
+ NSRange ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSend_NativeHandle (this.Handle, selRangeInString_Handle, nsstring);
+ } else {
+ ret = global::ObjCRuntime.Messaging.NSRange_objc_msgSendSuper_NativeHandle (this.SuperHandle, selRangeInString_Handle, nsstring);
+ }
+ CFString.ReleaseNative (nsstring);
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndColumn {
+ [Export ("endColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selEndColumnHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selEndColumnHandle);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint EndLine {
+ [Export ("endLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selEndLineHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selEndLineHandle);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartColumn {
+ [Export ("startColumn")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selStartColumnHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selStartColumnHandle);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ public virtual nint StartLine {
+ [Export ("startLine")]
+ [SupportedOSPlatform ("tvos16.0.0")]
+ [SupportedOSPlatform ("macos13.0.0")]
+ [SupportedOSPlatform ("ios16.0.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selStartLineHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selStartLineHandle);
+ }
+ }
+ }
+ } /* class NSAttributedStringMarkdownSourcePosition */
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringNameKey.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
new file mode 100644
index 0000000..545db0a
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSAttributedStringNameKey.g.cs
@@ -0,0 +1,248 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public enum NSAttributedStringNameKey : int {
+ AlternateDescription = 0,
+ ImageUrl = 1,
+ InflectionRule = 2,
+ InflectionAlternative = 3,
+ InlinePresentationIntent = 4,
+ LanguageIdentifier = 5,
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ MarkdownSourcePosition = 6,
+ Morphology = 7,
+ PresentationIntentAttributeName = 8,
+ ReplacementIndex = 9,
+ }
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static public partial class NSAttributedStringNameKeyExtensions {
+ static IntPtr[] values = new IntPtr [10];
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSAlternateDescriptionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSAlternateDescriptionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [0])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSAlternateDescriptionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSImageURLAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSImageURLAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [1])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSImageURLAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionRuleAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionRuleAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [2])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionRuleAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInflectionAlternativeAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInflectionAlternativeAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [3])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInflectionAlternativeAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSInlinePresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSInlinePresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [4])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSInlinePresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSLanguageIdentifierAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSLanguageIdentifierAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [5])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSLanguageIdentifierAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0.0")]
+ [Field ("NSMarkdownSourcePositionAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMarkdownSourcePositionAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [6])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMarkdownSourcePositionAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSMorphologyAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSMorphologyAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [7])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSMorphologyAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSPresentationIntentAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSPresentationIntentAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [8])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSPresentationIntentAttributeName", storage);
+ }
+ }
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [Field ("NSReplacementIndexAttributeName", "Foundation")]
+ internal unsafe static IntPtr NSReplacementIndexAttributeName {
+ get {
+ fixed (IntPtr *storage = &values [9])
+ return Dlfcn.CachePointer (Libraries.Foundation.Handle, "NSReplacementIndexAttributeName", storage);
+ }
+ }
+ public static NSString? GetConstant (this NSAttributedStringNameKey self)
+ {
+ IntPtr ptr = IntPtr.Zero;
+ switch ((int) self) {
+ case 0: // NSAttributedStringNameKey.AlternateDescription
+ ptr = NSAlternateDescriptionAttributeName;
+ break;
+ case 1: // NSAttributedStringNameKey.ImageUrl
+ ptr = NSImageURLAttributeName;
+ break;
+ case 2: // NSAttributedStringNameKey.InflectionRule
+ ptr = NSInflectionRuleAttributeName;
+ break;
+ case 3: // NSAttributedStringNameKey.InflectionAlternative
+ ptr = NSInflectionAlternativeAttributeName;
+ break;
+ case 4: // NSAttributedStringNameKey.InlinePresentationIntent
+ ptr = NSInlinePresentationIntentAttributeName;
+ break;
+ case 5: // NSAttributedStringNameKey.LanguageIdentifier
+ ptr = NSLanguageIdentifierAttributeName;
+ break;
+ case 6: // NSAttributedStringNameKey.MarkdownSourcePosition
+ ptr = NSMarkdownSourcePositionAttributeName;
+ break;
+ case 7: // NSAttributedStringNameKey.Morphology
+ ptr = NSMorphologyAttributeName;
+ break;
+ case 8: // NSAttributedStringNameKey.PresentationIntentAttributeName
+ ptr = NSPresentationIntentAttributeName;
+ break;
+ case 9: // NSAttributedStringNameKey.ReplacementIndex
+ ptr = NSReplacementIndexAttributeName;
+ break;
+ }
+ return (NSString?) Runtime.GetNSObject (ptr);
+ }
+ public static NSAttributedStringNameKey GetValue (NSString constant)
+ {
+ if (constant is null)
+ throw new ArgumentNullException (nameof (constant));
+ if (constant.IsEqualTo (NSAlternateDescriptionAttributeName))
+ return NSAttributedStringNameKey.AlternateDescription;
+ if (constant.IsEqualTo (NSImageURLAttributeName))
+ return NSAttributedStringNameKey.ImageUrl;
+ if (constant.IsEqualTo (NSInflectionRuleAttributeName))
+ return NSAttributedStringNameKey.InflectionRule;
+ if (constant.IsEqualTo (NSInflectionAlternativeAttributeName))
+ return NSAttributedStringNameKey.InflectionAlternative;
+ if (constant.IsEqualTo (NSInlinePresentationIntentAttributeName))
+ return NSAttributedStringNameKey.InlinePresentationIntent;
+ if (constant.IsEqualTo (NSLanguageIdentifierAttributeName))
+ return NSAttributedStringNameKey.LanguageIdentifier;
+ if (constant.IsEqualTo (NSMarkdownSourcePositionAttributeName))
+ return NSAttributedStringNameKey.MarkdownSourcePosition;
+ if (constant.IsEqualTo (NSMorphologyAttributeName))
+ return NSAttributedStringNameKey.Morphology;
+ if (constant.IsEqualTo (NSPresentationIntentAttributeName))
+ return NSAttributedStringNameKey.PresentationIntentAttributeName;
+ if (constant.IsEqualTo (NSReplacementIndexAttributeName))
+ return NSAttributedStringNameKey.ReplacementIndex;
+ throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
+ }
+ }
+}
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSBundle.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSBundle.g.cs
index 68ea117..26be605 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSBundle.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSBundle.g.cs
@@ -152,6 +152,9 @@ namespace Foundation {
const string selLocalizations = "localizations";
static readonly NativeHandle selLocalizationsHandle = Selector.GetHandle ("localizations");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selLocalizedAttributedStringForKey_Value_Table_ = "localizedAttributedStringForKey:value:table:";
+ static readonly NativeHandle selLocalizedAttributedStringForKey_Value_Table_Handle = Selector.GetHandle ("localizedAttributedStringForKey:value:table:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selLocalizedStringForKey_Value_Table_ = "localizedStringForKey:value:table:";
static readonly NativeHandle selLocalizedStringForKey_Value_Table_Handle = Selector.GetHandle ("localizedStringForKey:value:table:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -334,6 +337,30 @@ namespace Foundation {
CFString.ReleaseNative (nskey);
return ret!;
}
+ [Export ("localizedAttributedStringForKey:value:table:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSAttributedString GetLocalizedAttributedString (string key, string? value, string? tableName)
+ {
+ if (key is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
+ var nskey = CFString.CreateNative (key);
+ var nsvalue = CFString.CreateNative (value);
+ var nstableName = CFString.CreateNative (tableName);
+ NSAttributedString? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, selLocalizedAttributedStringForKey_Value_Table_Handle, nskey, nsvalue, nstableName))!;
+ } else {
+ ret = Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, selLocalizedAttributedStringForKey_Value_Table_Handle, nskey, nsvalue, nstableName))!;
+ }
+ CFString.ReleaseNative (nskey);
+ CFString.ReleaseNative (nsvalue);
+ CFString.ReleaseNative (nstableName);
+ return ret!;
+ }
[Export ("localizedStringForKey:value:table:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSString GetLocalizedString (NSString? key, NSString? value, NSString? table)
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSByteCountFormatter.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSByteCountFormatter.g.cs
index e873089..538a0e9 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSByteCountFormatter.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSByteCountFormatter.g.cs
@@ -107,6 +107,12 @@ namespace Foundation {
const string selStringFromByteCount_CountStyle_ = "stringFromByteCount:countStyle:";
static readonly NativeHandle selStringFromByteCount_CountStyle_Handle = Selector.GetHandle ("stringFromByteCount:countStyle:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selStringFromMeasurement_ = "stringFromMeasurement:";
+ static readonly NativeHandle selStringFromMeasurement_Handle = Selector.GetHandle ("stringFromMeasurement:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selStringFromMeasurement_CountStyle_ = "stringFromMeasurement:countStyle:";
+ static readonly NativeHandle selStringFromMeasurement_CountStyle_Handle = Selector.GetHandle ("stringFromMeasurement:countStyle:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selZeroPadsFractionDigits = "zeroPadsFractionDigits";
static readonly NativeHandle selZeroPadsFractionDigitsHandle = Selector.GetHandle ("zeroPadsFractionDigits");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -149,6 +155,32 @@ namespace Foundation {
{
}
+ [Export ("stringFromMeasurement:countStyle:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle)
+ {
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr (class_ptr, selStringFromMeasurement_CountStyle_Handle, measurement__handle__, (IntPtr) (long) countStyle))!;
+ }
+ [Export ("stringFromMeasurement:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("macos10.15")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst13.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Create (NSUnitInformationStorage measurement)
+ {
+ var measurement__handle__ = measurement!.GetNonNullHandle (nameof (measurement));
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selStringFromMeasurement_Handle, measurement__handle__))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selStringFromMeasurement_Handle, measurement__handle__))!;
+ }
+ }
[Export ("stringFromByteCount:countStyle:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static string Format (long byteCount, NSByteCountFormatterCountStyle countStyle)
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSCalendarDate.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSCalendarDate.g.cs
index 7908155..9507f1e 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSCalendarDate.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSCalendarDate.g.cs
@@ -167,14 +167,14 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public NSCalendarDate (string description, string calendarFormat, NSObject locale)
+ public NSCalendarDate (string description, string calendarFormat, NSObject? locale)
: base (NSObjectFlag.Empty)
{
if (description is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (description));
if (calendarFormat is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (calendarFormat));
- var locale__handle__ = locale!.GetNonNullHandle (nameof (locale));
+ var locale__handle__ = locale.GetHandle ();
var nsdescription = CFString.CreateNative (description);
var nscalendarFormat = CFString.CreateNative (calendarFormat);
if (IsDirectBinding) {
@@ -283,11 +283,11 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string GetDescription (string calendarFormat, NSObject locale)
+ public virtual string GetDescription (string calendarFormat, NSObject? locale)
{
if (calendarFormat is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (calendarFormat));
- var locale__handle__ = locale!.GetNonNullHandle (nameof (locale));
+ var locale__handle__ = locale.GetHandle ();
var nscalendarFormat = CFString.CreateNative (calendarFormat);
string? ret;
if (IsDirectBinding) {
@@ -332,9 +332,9 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual string GetDescription (NSLocale locale)
+ public virtual string GetDescription (NSLocale? locale)
{
- var locale__handle__ = locale!.GetNonNullHandle (nameof (locale));
+ var locale__handle__ = locale.GetHandle ();
if (IsDirectBinding) {
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selDescriptionWithLocale_Handle, locale__handle__))!;
} else {
@@ -350,7 +350,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public virtual string CalendarFormat {
+ public virtual string? CalendarFormat {
[Export ("calendarFormat")]
#if __MACOS__
[Advice ("Starting with macos10.1.0 Use NSCalendar and NSDateComponents.")]
@@ -377,8 +377,6 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
set {
- if (value is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
var nsvalue = CFString.CreateNative (value);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetCalendarFormat_Handle, nsvalue);
@@ -613,7 +611,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public virtual NSTimeZone TimeZone {
+ public virtual NSTimeZone? TimeZone {
[Export ("timeZone")]
#if __MACOS__
[Advice ("Starting with macos10.1.0 Use NSCalendar and NSDateComponents.")]
@@ -642,7 +640,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
set {
- var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ var value__handle__ = value.GetHandle ();
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetTimeZone_Handle, value__handle__);
} else {
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSCocoaError.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSCocoaError.g.cs
index a7f8695..95b40b3 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSCocoaError.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSCocoaError.g.cs
@@ -94,6 +94,7 @@ namespace Foundation {
XpcConnectionInterrupted = 4097,
XpcConnectionInvalid = 4099,
XpcConnectionReplyInvalid = 4101,
+ XpcConnectionCodeSigningRequirementFailure = 4102,
XpcConnectionErrorMinimum = 4096,
XpcConnectionErrorMaximum = 4224,
UbiquitousFileUnavailable = 4353,
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSConnection.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSConnection.g.cs
index c6bf4ab..ab98e55 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSConnection.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSConnection.g.cs
@@ -225,7 +225,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSConnection Create (NSPort? receivePort, NSPort? sendPort)
+ public static NSConnection? Create (NSPort? receivePort, NSPort? sendPort)
{
var receivePort__handle__ = receivePort.GetHandle ();
var sendPort__handle__ = sendPort.GetHandle ();
@@ -241,7 +241,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSConnection CreateService (string name, NSObject root, NSPortNameServer server)
+ public static NSConnection? CreateService (string name, NSObject root, NSPortNameServer server)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -263,7 +263,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSConnection CreateService (string name, NSObject root)
+ public static NSConnection? CreateService (string name, NSObject root)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -321,7 +321,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSConnection LookupService (string name, string? hostName)
+ public static NSConnection? LookupService (string name, string? hostName)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -343,7 +343,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSConnection LookupService (string name, string? hostName, NSPortNameServer server)
+ public static NSConnection? LookupService (string name, string? hostName, NSPortNameServer server)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -366,10 +366,8 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RegisterName (string name)
+ public virtual bool RegisterName (string? name)
{
- if (name is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
var nsname = CFString.CreateNative (name);
bool ret;
if (IsDirectBinding) {
@@ -390,10 +388,8 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool RegisterName (string name, NSPortNameServer server)
+ public virtual bool RegisterName (string? name, NSPortNameServer server)
{
- if (name is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
var server__handle__ = server!.GetNonNullHandle (nameof (server));
var nsname = CFString.CreateNative (name);
bool ret;
@@ -558,7 +554,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public static NSObject CurrentConversation {
+ public static NSObject? CurrentConversation {
[Export ("currentConversation")]
#if __MACOS__
[Advice ("Starting with macos10.13.0 Use 'NSXpcConnection' instead.")]
@@ -891,7 +887,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public virtual NSObject RootObject {
+ public virtual NSObject? RootObject {
[Export ("rootObject", ArgumentSemantic.Retain)]
#if __MACOS__
[Advice ("Starting with macos10.13.0 Use 'NSXpcConnection' instead.")]
@@ -920,7 +916,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
set {
- var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ var value__handle__ = value.GetHandle ();
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetRootObject_Handle, value__handle__);
} else {
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSFilePresenter.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSFilePresenter.g.cs
index e24321a..1d66c4f 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSFilePresenter.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSFilePresenter.g.cs
@@ -422,7 +422,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
- public virtual NSUrl PrimaryPresentedItemUrl {
+ public virtual NSUrl? PrimaryPresentedItemUrl {
[Export ("primaryPresentedItemURL")]
get {
throw new ModelNotImplementedException ();
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSFileVersion.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSFileVersion.g.cs
index 91354ab..bc840d7 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSFileVersion.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSFileVersion.g.cs
@@ -136,7 +136,7 @@ namespace Foundation {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public static NSFileVersion AddVersion (NSUrl url, NSUrl contentsURL, NSFileVersionAddingOptions options, out NSError outError)
+ public static NSFileVersion? AddVersion (NSUrl url, NSUrl contentsURL, NSFileVersionAddingOptions options, out NSError outError)
{
var url__handle__ = url!.GetNonNullHandle (nameof (url));
var contentsURL__handle__ = contentsURL!.GetNonNullHandle (nameof (contentsURL));
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalGender.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalGender.g.cs
new file mode 100644
index 0000000..cffe645
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalGender.g.cs
@@ -0,0 +1,58 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalGender : long {
+ NotSet = 0,
+ Feminine = 1,
+ Masculine = 2,
+ Neuter = 3,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalNumber.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalNumber.g.cs
new file mode 100644
index 0000000..2a05c2a
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalNumber.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalNumber : long {
+ NotSet = 0,
+ Singular = 1,
+ Zero = 2,
+ Plural = 3,
+ PluralTwo = 4,
+ PluralFew = 5,
+ PluralMany = 6,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
new file mode 100644
index 0000000..87b5762
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSGrammaticalPartOfSpeech.g.cs
@@ -0,0 +1,69 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSGrammaticalPartOfSpeech : long {
+ NotSet = 0,
+ Determiner = 1,
+ Pronoun = 2,
+ Letter = 3,
+ Adverb = 4,
+ Particle = 5,
+ Adjective = 6,
+ Adposition = 7,
+ Verb = 8,
+ Noun = 9,
+ Conjunction = 10,
+ Numeral = 11,
+ Interjection = 12,
+ Preposition = 13,
+ Abbreviation = 14,
+ }
+}
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSHost.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSHost.g.cs
index f853e07..bc6445c 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSHost.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSHost.g.cs
@@ -48,6 +48,10 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
[SupportedOSPlatform ("macos")]
public unsafe partial class NSHost : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -99,11 +103,15 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual bool Equals (NSHost? host)
+ public virtual bool Equals (NSHost host)
{
- var host__handle__ = host.GetHandle ();
+ var host__handle__ = host!.GetNonNullHandle (nameof (host));
if (IsDirectBinding) {
return global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (this.Handle, selIsEqualToHost_Handle, host__handle__);
} else {
@@ -114,6 +122,10 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static NSHost _FromAddress (string address)
@@ -130,12 +142,14 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- internal static NSHost _FromName (string name)
+ internal static NSHost _FromName (string? name)
{
- if (name is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
var nsname = CFString.CreateNative (name);
NSHost? ret;
ret = Runtime.GetNSObject<NSHost> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, selHostWithName_Handle, nsname))!;
@@ -146,12 +160,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
- public virtual string LocalizedName {
+ public virtual string? LocalizedName {
[Export ("localizedName")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
@@ -165,12 +187,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
- public virtual string Name {
+ public virtual string? Name {
[Export ("name")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
@@ -184,12 +214,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
public virtual string[] Names {
[Export ("names")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
@@ -203,12 +241,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
- internal virtual string _Address {
+ internal virtual string? _Address {
[Export ("address")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
@@ -222,12 +268,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
internal virtual string[] _Addresses {
[Export ("addresses")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
@@ -241,12 +295,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
internal static NSHost _Current {
[Export ("currentHost")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
NSHost? ret;
@@ -258,12 +320,20 @@ namespace Foundation {
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
internal virtual nuint _Hash {
[Export ("hash")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
[SupportedOSPlatform ("macos")]
get {
if (IsDirectBinding) {
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSInflectionRule.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSInflectionRule.g.cs
new file mode 100644
index 0000000..e4a58d8
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSInflectionRule.g.cs
@@ -0,0 +1,183 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRule", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRule : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAutomaticRule = "automaticRule";
+ static readonly NativeHandle selAutomaticRuleHandle = Selector.GetHandle ("automaticRule");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCanInflectLanguage_ = "canInflectLanguage:";
+ static readonly NativeHandle selCanInflectLanguage_Handle = Selector.GetHandle ("canInflectLanguage:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCanInflectPreferredLocalization = "canInflectPreferredLocalization";
+ static readonly NativeHandle selCanInflectPreferredLocalizationHandle = Selector.GetHandle ("canInflectPreferredLocalization");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEncodeWithCoder_ = "encodeWithCoder:";
+ static readonly NativeHandle selEncodeWithCoder_Handle = Selector.GetHandle ("encodeWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithCoder_ = "initWithCoder:";
+ static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRule");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRule (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRule (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRule (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("canInflectLanguage:")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool CanInflectLanguage (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, selCanInflectLanguage_Handle, nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selEncodeWithCoder_Handle, encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selEncodeWithCoder_Handle, encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSInflectionRule AutomaticRule {
+ [Export ("automaticRule")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSInflectionRule? ret;
+ ret = Runtime.GetNSObject<NSInflectionRule> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, selAutomaticRuleHandle))!;
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static bool CanInflectPreferredLocalization {
+ [Export ("canInflectPreferredLocalization")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, selCanInflectPreferredLocalizationHandle);
+ }
+ }
+ } /* class NSInflectionRule */
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
new file mode 100644
index 0000000..20068af
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSInflectionRuleExplicit.g.cs
@@ -0,0 +1,138 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSInflectionRuleExplicit", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSInflectionRuleExplicit : NSInflectionRule {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithMorphology_ = "initWithMorphology:";
+ static readonly NativeHandle selInitWithMorphology_Handle = Selector.GetHandle ("initWithMorphology:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selMorphology = "morphology";
+ static readonly NativeHandle selMorphologyHandle = Selector.GetHandle ("morphology");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSInflectionRuleExplicit");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSInflectionRuleExplicit () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.Init), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.Init), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSInflectionRuleExplicit (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSInflectionRuleExplicit (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSInflectionRuleExplicit (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithMorphology:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [DesignatedInitializer]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public NSInflectionRuleExplicit (NSMorphology morphology)
+ : base (NSObjectFlag.Empty)
+ {
+ var morphology__handle__ = morphology!.GetNonNullHandle (nameof (morphology));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selInitWithMorphology_Handle, morphology__handle__), "initWithMorphology:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selInitWithMorphology_Handle, morphology__handle__), "initWithMorphology:");
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSMorphology Morphology {
+ [Export ("morphology", ArgumentSemantic.Copy)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSMorphology? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selMorphologyHandle))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selMorphologyHandle))!;
+ }
+ return ret!;
+ }
+ }
+ } /* class NSInflectionRuleExplicit */
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSInlinePresentationIntent.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
new file mode 100644
index 0000000..34cfa8c
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSInlinePresentationIntent.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [Native]
+ public enum NSInlinePresentationIntent : ulong {
+ Emphasized = 1,
+ StronglyEmphasized = 2,
+ Code = 4,
+ Strikethrough = 32,
+ SoftBreak = 64,
+ LineBreak = 128,
+ InlineHTML = 256,
+ BlockHTML = 512,
+ }
+}
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSItemProvider.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSItemProvider.g.cs
index 0bb5a0b..f85c0b9 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSItemProvider.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSItemProvider.g.cs
@@ -105,6 +105,12 @@ namespace Foundation {
const string selPreferredPresentationSize = "preferredPresentationSize";
static readonly NativeHandle selPreferredPresentationSizeHandle = Selector.GetHandle ("preferredPresentationSize");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selRegisterCKShare_Container_AllowedSharingOptions_ = "registerCKShare:container:allowedSharingOptions:";
+ static readonly NativeHandle selRegisterCKShare_Container_AllowedSharingOptions_Handle = Selector.GetHandle ("registerCKShare:container:allowedSharingOptions:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selRegisterCKShareWithContainer_AllowedSharingOptions_PreparationHandler_ = "registerCKShareWithContainer:allowedSharingOptions:preparationHandler:";
+ static readonly NativeHandle selRegisterCKShareWithContainer_AllowedSharingOptions_PreparationHandler_Handle = Selector.GetHandle ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selRegisterCloudKitShare_Container_ = "registerCloudKitShare:container:";
static readonly NativeHandle selRegisterCloudKitShare_Container_Handle = Selector.GetHandle ("registerCloudKitShare:container:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -505,7 +511,7 @@ namespace Foundation {
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDItemProviderDataCompletionHandler))]ItemProviderDataCompletionHandler completionHandler)
+ public unsafe virtual NSProgress LoadFileRepresentation (global::UniformTypeIdentifiers.UTType contentType, bool openInPlace, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDLoadFileRepresentationHandler))]LoadFileRepresentationHandler completionHandler)
{
var contentType__handle__ = contentType!.GetNonNullHandle (nameof (contentType));
if (completionHandler is null)
@@ -514,7 +520,7 @@ namespace Foundation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDItemProviderDataCompletionHandler.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDLoadFileRepresentationHandler.Handler, completionHandler);
NSProgress? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_bool_NativeHandle (this.Handle, selLoadFileRepresentationForContentType_OpenInPlace_CompletionHandler_Handle, contentType__handle__, openInPlace, (IntPtr) block_ptr_completionHandler))!;
@@ -726,6 +732,47 @@ namespace Foundation {
});
return tcs.Task;
}
+ [Export ("registerCKShareWithContainer:allowedSharingOptions:preparationHandler:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RegisterCKShare (global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action preparationHandler)
+ {
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (preparationHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (preparationHandler));
+ BlockLiteral *block_ptr_preparationHandler;
+ BlockLiteral block_preparationHandler;
+ block_preparationHandler = new BlockLiteral ();
+ block_ptr_preparationHandler = &block_preparationHandler;
+ block_preparationHandler.SetupBlockUnsafe (Trampolines.SDAction.Handler, preparationHandler);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, selRegisterCKShareWithContainer_AllowedSharingOptions_PreparationHandler_Handle, container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, selRegisterCKShareWithContainer_AllowedSharingOptions_PreparationHandler_Handle, container__handle__, allowedOptions__handle__, (IntPtr) block_ptr_preparationHandler);
+ }
+ block_ptr_preparationHandler->CleanupBlock ();
+ }
+ [Export ("registerCKShare:container:allowedSharingOptions:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RegisterCKShare (global::CloudKit.CKShare share, global::CloudKit.CKContainer container, global::CloudKit.CKAllowedSharingOptions allowedOptions)
+ {
+ var share__handle__ = share!.GetNonNullHandle (nameof (share));
+ var container__handle__ = container!.GetNonNullHandle (nameof (container));
+ var allowedOptions__handle__ = allowedOptions!.GetNonNullHandle (nameof (allowedOptions));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, selRegisterCKShare_Container_AllowedSharingOptions_Handle, share__handle__, container__handle__, allowedOptions__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, selRegisterCKShare_Container_AllowedSharingOptions_Handle, share__handle__, container__handle__, allowedOptions__handle__);
+ }
+ }
[Export ("registerCloudKitShareWithPreparationHandler:")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
index 2d5f6f1..0c7fdf1 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSItemProviderRepresentationVisibility.g.cs
@@ -51,7 +51,15 @@ namespace Foundation {
[Native]
public enum NSItemProviderRepresentationVisibility : long {
All = 0,
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos11.0.0")]
+ [SupportedOSPlatform ("ios11.0.0")]
+ [SupportedOSPlatform ("maccatalyst11.0.0")]
Team = 1,
+ [UnsupportedOSPlatform ("ios")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos10.13.0")]
Group = 2,
OwnProcess = 3,
}
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSJsonReadingOptions.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSJsonReadingOptions.g.cs
index 658d76e..be9e31a 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSJsonReadingOptions.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSJsonReadingOptions.g.cs
@@ -50,5 +50,15 @@ namespace Foundation {
MutableContainers = 1,
MutableLeaves = 2,
FragmentsAllowed = 4,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ Json5Allowed = 8,
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ TopLevelDictionaryAssumed = 16,
}
}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSMorphology.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSMorphology.g.cs
new file mode 100644
index 0000000..d477f9a
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSMorphology.g.cs
@@ -0,0 +1,346 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphology", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphology : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCustomPronounForLanguage_ = "customPronounForLanguage:";
+ static readonly NativeHandle selCustomPronounForLanguage_Handle = Selector.GetHandle ("customPronounForLanguage:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEncodeWithCoder_ = "encodeWithCoder:";
+ static readonly NativeHandle selEncodeWithCoder_Handle = Selector.GetHandle ("encodeWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selGrammaticalGender = "grammaticalGender";
+ static readonly NativeHandle selGrammaticalGenderHandle = Selector.GetHandle ("grammaticalGender");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithCoder_ = "initWithCoder:";
+ static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsUnspecified = "isUnspecified";
+ static readonly NativeHandle selIsUnspecifiedHandle = Selector.GetHandle ("isUnspecified");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNumber = "number";
+ static readonly NativeHandle selNumberHandle = Selector.GetHandle ("number");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selPartOfSpeech = "partOfSpeech";
+ static readonly NativeHandle selPartOfSpeechHandle = Selector.GetHandle ("partOfSpeech");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetCustomPronoun_ForLanguage_Error_ = "setCustomPronoun:forLanguage:error:";
+ static readonly NativeHandle selSetCustomPronoun_ForLanguage_Error_Handle = Selector.GetHandle ("setCustomPronoun:forLanguage:error:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetGrammaticalGender_ = "setGrammaticalGender:";
+ static readonly NativeHandle selSetGrammaticalGender_Handle = Selector.GetHandle ("setGrammaticalGender:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetNumber_ = "setNumber:";
+ static readonly NativeHandle selSetNumber_Handle = Selector.GetHandle ("setNumber:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetPartOfSpeech_ = "setPartOfSpeech:";
+ static readonly NativeHandle selSetPartOfSpeech_Handle = Selector.GetHandle ("setPartOfSpeech:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selUserMorphology = "userMorphology";
+ static readonly NativeHandle selUserMorphologyHandle = Selector.GetHandle ("userMorphology");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphology");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphology () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.Init), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.Init), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphology (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphology (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphology (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selEncodeWithCoder_Handle, encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selEncodeWithCoder_Handle, encoder__handle__);
+ }
+ }
+ [Export ("customPronounForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSMorphologyCustomPronoun? GetCustomPronoun (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ NSMorphologyCustomPronoun? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCustomPronounForLanguage_Handle, nslanguage))!;
+ } else {
+ ret = Runtime.GetNSObject<NSMorphologyCustomPronoun> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCustomPronounForLanguage_Handle, nslanguage))!;
+ }
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("setCustomPronoun:forLanguage:error:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error)
+ {
+ var features__handle__ = features.GetHandle ();
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ NativeHandle errorValue = IntPtr.Zero;
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (this.Handle, selSetCustomPronoun_ForLanguage_Error_Handle, features__handle__, nslanguage, ref errorValue);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper_NativeHandle_NativeHandle_ref_NativeHandle (this.SuperHandle, selSetCustomPronoun_ForLanguage_Error_Handle, features__handle__, nslanguage, ref errorValue);
+ }
+ CFString.ReleaseNative (nslanguage);
+ error = Runtime.GetNSObject<NSError> (errorValue)!;
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalGender GrammaticalGender {
+ [Export ("grammaticalGender", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalGender ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selGrammaticalGenderHandle);
+ } else {
+ ret = (NSGrammaticalGender) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selGrammaticalGenderHandle);
+ }
+ return ret!;
+ }
+ [Export ("setGrammaticalGender:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetGrammaticalGender_Handle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetGrammaticalGender_Handle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalNumber Number {
+ [Export ("number", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalNumber ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selNumberHandle);
+ } else {
+ ret = (NSGrammaticalNumber) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selNumberHandle);
+ }
+ return ret!;
+ }
+ [Export ("setNumber:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetNumber_Handle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetNumber_Handle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual NSGrammaticalPartOfSpeech PartOfSpeech {
+ [Export ("partOfSpeech", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSGrammaticalPartOfSpeech ret;
+ if (IsDirectBinding) {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selPartOfSpeechHandle);
+ } else {
+ ret = (NSGrammaticalPartOfSpeech) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selPartOfSpeechHandle);
+ }
+ return ret!;
+ }
+ [Export ("setPartOfSpeech:", ArgumentSemantic.UnsafeUnretained)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetPartOfSpeech_Handle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetPartOfSpeech_Handle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual bool Unspecified {
+ [Export ("isUnspecified")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsUnspecifiedHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsUnspecifiedHandle);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public static NSMorphology UserMorphology {
+ [Export ("userMorphology")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ NSMorphology? ret;
+ ret = Runtime.GetNSObject<NSMorphology> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, selUserMorphologyHandle))!;
+ return ret!;
+ }
+ }
+ } /* class NSMorphology */
+}
diff --git a/new/dotnet/macos/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
new file mode 100644
index 0000000..d5a5987
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/Foundation/NSMorphologyCustomPronoun.g.cs
@@ -0,0 +1,371 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace Foundation {
+ [Register("NSMorphologyCustomPronoun", true)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public unsafe partial class NSMorphologyCustomPronoun : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selCopyWithZone_ = "copyWithZone:";
+ static readonly NativeHandle selCopyWithZone_Handle = Selector.GetHandle ("copyWithZone:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selEncodeWithCoder_ = "encodeWithCoder:";
+ static readonly NativeHandle selEncodeWithCoder_Handle = Selector.GetHandle ("encodeWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInitWithCoder_ = "initWithCoder:";
+ static readonly NativeHandle selInitWithCoder_Handle = Selector.GetHandle ("initWithCoder:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsSupportedForLanguage_ = "isSupportedForLanguage:";
+ static readonly NativeHandle selIsSupportedForLanguage_Handle = Selector.GetHandle ("isSupportedForLanguage:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selObjectForm = "objectForm";
+ static readonly NativeHandle selObjectFormHandle = Selector.GetHandle ("objectForm");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selPossessiveAdjectiveForm = "possessiveAdjectiveForm";
+ static readonly NativeHandle selPossessiveAdjectiveFormHandle = Selector.GetHandle ("possessiveAdjectiveForm");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selPossessiveForm = "possessiveForm";
+ static readonly NativeHandle selPossessiveFormHandle = Selector.GetHandle ("possessiveForm");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selReflexiveForm = "reflexiveForm";
+ static readonly NativeHandle selReflexiveFormHandle = Selector.GetHandle ("reflexiveForm");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selRequiredKeysForLanguage_ = "requiredKeysForLanguage:";
+ static readonly NativeHandle selRequiredKeysForLanguage_Handle = Selector.GetHandle ("requiredKeysForLanguage:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetObjectForm_ = "setObjectForm:";
+ static readonly NativeHandle selSetObjectForm_Handle = Selector.GetHandle ("setObjectForm:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetPossessiveAdjectiveForm_ = "setPossessiveAdjectiveForm:";
+ static readonly NativeHandle selSetPossessiveAdjectiveForm_Handle = Selector.GetHandle ("setPossessiveAdjectiveForm:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetPossessiveForm_ = "setPossessiveForm:";
+ static readonly NativeHandle selSetPossessiveForm_Handle = Selector.GetHandle ("setPossessiveForm:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetReflexiveForm_ = "setReflexiveForm:";
+ static readonly NativeHandle selSetReflexiveForm_Handle = Selector.GetHandle ("setReflexiveForm:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetSubjectForm_ = "setSubjectForm:";
+ static readonly NativeHandle selSetSubjectForm_Handle = Selector.GetHandle ("setSubjectForm:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSubjectForm = "subjectForm";
+ static readonly NativeHandle selSubjectFormHandle = Selector.GetHandle ("subjectForm");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("NSMorphologyCustomPronoun");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public NSMorphologyCustomPronoun () : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.Init), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.Init), "init");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public NSMorphologyCustomPronoun (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:");
+ }
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected NSMorphologyCustomPronoun (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal NSMorphologyCustomPronoun (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selCopyWithZone_Handle, zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selCopyWithZone_Handle, zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selEncodeWithCoder_Handle, encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selEncodeWithCoder_Handle, encoder__handle__);
+ }
+ }
+ [Export ("requiredKeysForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static string[] GetRequiredKeysForLanguage (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ string[]? ret;
+ ret = CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, selRequiredKeysForLanguage_Handle, nslanguage))!;
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [Export ("isSupportedForLanguage:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool IsSupported (string language)
+ {
+ if (language is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (language));
+ var nslanguage = CFString.CreateNative (language);
+ bool ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, selIsSupportedForLanguage_Handle, nslanguage);
+ CFString.ReleaseNative (nslanguage);
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ObjectForm {
+ [Export ("objectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selObjectFormHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selObjectFormHandle))!;
+ }
+ }
+ [Export ("setObjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetObjectForm_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetObjectForm_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveAdjectiveForm {
+ [Export ("possessiveAdjectiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selPossessiveAdjectiveFormHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selPossessiveAdjectiveFormHandle))!;
+ }
+ }
+ [Export ("setPossessiveAdjectiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetPossessiveAdjectiveForm_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetPossessiveAdjectiveForm_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? PossessiveForm {
+ [Export ("possessiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selPossessiveFormHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selPossessiveFormHandle))!;
+ }
+ }
+ [Export ("setPossessiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetPossessiveForm_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetPossessiveForm_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? ReflexiveForm {
+ [Export ("reflexiveForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selReflexiveFormHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selReflexiveFormHandle))!;
+ }
+ }
+ [Export ("setReflexiveForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetReflexiveForm_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetReflexiveForm_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ public virtual string? SubjectForm {
+ [Export ("subjectForm")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ get {
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selSubjectFormHandle))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selSubjectFormHandle))!;
+ }
+ }
+ [Export ("setSubjectForm:")]
+ [SupportedOSPlatform ("tvos15.0.0")]
+ [SupportedOSPlatform ("macos12.0.0")]
+ [SupportedOSPlatform ("ios15.0.0")]
+ [SupportedOSPlatform ("maccatalyst15.0.0")]
+ set {
+ var nsvalue = CFString.CreateNative (value);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, selSetSubjectForm_Handle, nsvalue);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, selSetSubjectForm_Handle, nsvalue);
+ }
+ CFString.ReleaseNative (nsvalue);
+ }
+ }
+ } /* class NSMorphologyCustomPronoun */
+}
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSMutableUrlRequest.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSMutableUrlRequest.g.cs
index 92b026c..2171f16 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSMutableUrlRequest.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSMutableUrlRequest.g.cs
@@ -77,6 +77,9 @@ namespace Foundation {
const string selAssumesHTTP3Capable = "assumesHTTP3Capable";
static readonly NativeHandle selAssumesHTTP3CapableHandle = Selector.GetHandle ("assumesHTTP3Capable");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selAttribution = "attribution";
+ static readonly NativeHandle selAttributionHandle = Selector.GetHandle ("attribution");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selCachePolicy = "cachePolicy";
static readonly NativeHandle selCachePolicyHandle = Selector.GetHandle ("cachePolicy");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -107,6 +110,9 @@ namespace Foundation {
const string selSetAssumesHTTP3Capable_ = "setAssumesHTTP3Capable:";
static readonly NativeHandle selSetAssumesHTTP3Capable_Handle = Selector.GetHandle ("setAssumesHTTP3Capable:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAttribution_ = "setAttribution:";
+ static readonly NativeHandle selSetAttribution_Handle = Selector.GetHandle ("setAttribution:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
const string selSetCachePolicy_ = "setCachePolicy:";
static readonly NativeHandle selSetCachePolicy_Handle = Selector.GetHandle ("setCachePolicy:");
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -310,6 +316,31 @@ namespace Foundation {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ public virtual NSURLRequestAttribution Attribution {
+ [Export ("attribution", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ NSURLRequestAttribution ret;
+ if (IsDirectBinding) {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selAttributionHandle);
+ } else {
+ ret = (NSURLRequestAttribution) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selAttributionHandle);
+ }
+ return ret!;
+ }
+ [Export ("setAttribution:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetAttribution_Handle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetAttribution_Handle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual NSData? Body {
[Export ("HTTPBody")]
get {
diff --git a/old/dotnet/macos/generated-sources/Foundation/NSNetService.g.cs b/new/dotnet/macos/generated-sources/Foundation/NSNetService.g.cs
index 6e24763..d6b9cb6 100644
--- a/old/dotnet/macos/generated-sources/Foundation/NSNetService.g.cs
+++ b/new/dotnet/macos/generated-sources/Foundation/NSNetService.g.cs
@@ -45,6 +45,22 @@ using NativeHandle = System.IntPtr;
#endif
namespace Foundation {
[Register("NSNetService", true)]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -144,6 +160,22 @@ namespace Foundation {
}
[Export ("initWithDomain:type:name:port:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -172,6 +204,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("initWithDomain:type:name:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -199,6 +247,22 @@ namespace Foundation {
CFString.ReleaseNative (nsname);
}
[Export ("dataFromTXTRecordDictionary:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -210,6 +274,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, selDataFromTXTRecordDictionary_Handle, dictionary__handle__))!;
}
[Export ("dictionaryFromTXTRecordData:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -221,6 +301,22 @@ namespace Foundation {
return Runtime.GetNSObject<NSDictionary> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, selDictionaryFromTXTRecordData_Handle, data__handle__))!;
}
[Export ("getInputStream:outputStream:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -241,12 +337,28 @@ namespace Foundation {
return ret!;
}
[Export ("TXTRecordData")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSData GetTxtRecordData ()
+ public virtual NSData? GetTxtRecordData ()
{
if (IsDirectBinding) {
return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selTXTRecordDataHandle))!;
@@ -255,6 +367,22 @@ namespace Foundation {
}
}
[Export ("publish")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -269,6 +397,22 @@ namespace Foundation {
}
}
[Export ("publishWithOptions:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -291,6 +435,10 @@ namespace Foundation {
[Advice ("Starting with macos10.4 Use 'Resolve (double)' instead.")]
#endif
[UnsupportedOSPlatform ("macos10.4")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
#if __MACCATALYST__ && !__IOS__
[Advice ("Starting with maccatalyst2.0.0 Use 'Resolve (double)' instead.")]
#endif
@@ -309,6 +457,22 @@ namespace Foundation {
}
}
[Export ("resolveWithTimeout:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -323,6 +487,22 @@ namespace Foundation {
}
}
[Export ("scheduleInRunLoop:forMode:")]
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -338,6 +518,22 @@ namespace Foundation {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, selScheduleInRunLoop_ForMode_Handle, aRunLoop__handle__, forMode__handle__);
}
}
+ #if __MACOS__
+ [Advice ("Starting with macos12.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("macos12.0.0")]
+ #if __IOS__
+ [Advice ("Starting with ios15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("ios15.0.0")]
+ #if __TVOS__
+ [Advice ("Starting with tvos15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("tvos15.0.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst15.0.0 Use the Network.framework instead.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst15.0.0")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos")]
@@ -348,14 +544,30 @@ namespace Foundation {
Schedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment