-
-
Save vs-mobiletools-engineering-service2/b579a8a21a2aeca07ad52850d8a1a218 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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index 4a9efd5..d74518c 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
@@ -13,7 +13,7 @@ using System.Reflection; | |
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6d764a8bc65495b43e253ec39283c9ca4c850b0f")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0d3ae849b9d531e17d937dfb92b0602633964683")] | |
[assembly: System.Reflection.AssemblyProductAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
index 63175c0..16c5e6f 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
@@ -1 +1 @@ | |
-{"documents":{"/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/6d764a8bc65495b43e253ec39283c9ca4c850b0f/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/1/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/0d3ae849b9d531e17d937dfb92b0602633964683/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index fe40217..674a2d5 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/6d764a8bc65495b43e253ec39283c9ca4c850b0f/src*" | |
+ "/Users/builder/azdo/_work/1/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/0d3ae849b9d531e17d937dfb92b0602633964683/src*" | |
} | |
} | |
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs | |
index d217423..92f6af1 100644 | |
--- a/old/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ARKit/ARReferenceObject.g.cs | |
@@ -161,7 +161,7 @@ namespace ARKit { | |
[Export ("initWithArchiveURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public ARReferenceObject (NSUrl archiveUrl, out NSError? error) | |
+ public unsafe ARReferenceObject (NSUrl archiveUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -208,7 +208,7 @@ namespace ARKit { | |
} | |
[Export ("exportObjectToURL:previewImage:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Export (NSUrl url, global::UIKit.UIImage? previewImage, out NSError? error) | |
+ public unsafe virtual bool Export (NSUrl url, global::UIKit.UIImage? previewImage, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -245,7 +245,7 @@ namespace ARKit { | |
} | |
[Export ("referenceObjectByMergingObject:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ARReferenceObject? Merge (ARReferenceObject @object, out NSError? error) | |
+ public unsafe virtual ARReferenceObject? Merge (ARReferenceObject @object, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs | |
index d21f589..f6f54f4 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAsset.g.cs | |
@@ -604,7 +604,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus StatusOfValue (string key, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus StatusOfValue (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
index 86e1bf4..ba76465 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
@@ -164,7 +164,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError) | |
+ public unsafe virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
actualTime = default (global::CoreMedia.CMTime); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs | |
index 9b1ef62..7ee6f8e 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetReader.g.cs | |
@@ -133,7 +133,7 @@ namespace AVFoundation { | |
[Export ("initWithAsset:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAssetReader (AVAsset asset, out NSError error) | |
+ public unsafe AVAssetReader (AVAsset asset, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
@@ -181,7 +181,7 @@ namespace AVFoundation { | |
} | |
[Export ("assetReaderWithAsset:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAssetReader? FromAsset (AVAsset asset, out NSError error) | |
+ public unsafe static AVAssetReader? FromAsset (AVAsset asset, out NSError error) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
index 3ad5489..9003679 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
@@ -182,7 +182,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error) | |
+ public unsafe virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error) | |
{ | |
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse)); | |
var options__handle__ = options.GetHandle (); | |
@@ -206,7 +206,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error) | |
+ public unsafe virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error) | |
{ | |
var appIdentifier__handle__ = appIdentifier!.GetNonNullHandle (nameof (appIdentifier)); | |
var contentIdentifier__handle__ = contentIdentifier!.GetNonNullHandle (nameof (contentIdentifier)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
index 599491a..ca533f8 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
@@ -133,7 +133,7 @@ namespace AVFoundation { | |
[Export ("initWithURL:fileType:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error) | |
+ public unsafe AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl)); | |
@@ -344,7 +344,7 @@ namespace AVFoundation { | |
} | |
[Export ("assetWriterWithURL:fileType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error) | |
+ public unsafe static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error) | |
{ | |
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl)); | |
if (outputFileType is null) | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
index dbdef4e..8de7dbc 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
@@ -61,7 +61,7 @@ namespace AVFoundation { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("statusOfValueForKey:error:")] | |
[Preserve (Conditional = true)] | |
- AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error); | |
+ unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("loadValuesAsynchronouslyForKeys:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -75,7 +75,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
+ public unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
{ | |
if (forKey is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (forKey)); | |
@@ -191,7 +191,7 @@ namespace AVFoundation { | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
index 10760ff..9c56fb2 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
} | |
[Export ("convertToBuffer:fromBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError) | |
+ public unsafe virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError) | |
{ | |
var outputBuffer__handle__ = outputBuffer!.GetNonNullHandle (nameof (outputBuffer)); | |
var inputBuffer__handle__ = inputBuffer!.GetNonNullHandle (nameof (inputBuffer)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
index 37b442a..3a95935 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
@@ -409,7 +409,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError) | |
+ public unsafe virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError) | |
{ | |
var pcmFormat__handle__ = pcmFormat!.GetNonNullHandle (nameof (pcmFormat)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -478,7 +478,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError) | |
+ public unsafe virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -503,7 +503,7 @@ namespace AVFoundation { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartAndReturnError (out NSError outError) | |
+ public unsafe virtual bool StartAndReturnError (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs | |
index 191fc98..a49ef7b 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFile.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initForReading:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -159,7 +159,7 @@ namespace AVFoundation { | |
} | |
[Export ("initForReading:commonFormat:interleaved:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -173,7 +173,7 @@ namespace AVFoundation { | |
} | |
[Export ("initForWriting:settings:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError) | |
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -187,13 +187,13 @@ namespace AVFoundation { | |
outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError) | |
: this (fileUrl, settings.GetDictionary ()!, out outError) | |
{ | |
} | |
[Export ("initForWriting:settings:commonFormat:interleaved:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -207,13 +207,13 @@ namespace AVFoundation { | |
outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: this (fileUrl, settings.GetDictionary ()!, format, interleaved, out outError) | |
{ | |
} | |
[Export ("readIntoBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -228,7 +228,7 @@ namespace AVFoundation { | |
} | |
[Export ("readIntoBuffer:frameCount:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError) | |
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -243,7 +243,7 @@ namespace AVFoundation { | |
} | |
[Export ("writeFromBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
+ public unsafe virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
index bac4e17..2577d8e 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
@@ -165,7 +165,7 @@ namespace AVFoundation { | |
[Export ("initWithStreamDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description) | |
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (IsDirectBinding) { | |
@@ -176,7 +176,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithStreamDescription:channelLayout:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout) | |
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout) | |
: base (NSObjectFlag.Empty) | |
{ | |
var layout__handle__ = layout.GetHandle (); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
index c3a93b2..10375aa 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
@@ -136,7 +136,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError) | |
+ public unsafe virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
index 246f8f1..cb432ba 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
@@ -165,7 +165,7 @@ namespace AVFoundation { | |
} | |
[Export ("getVolumeRampForTime:startVolume:endVolume:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
index 7304d86..df4811c 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
@@ -136,7 +136,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError) | |
+ public unsafe AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -156,7 +156,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError) | |
+ public unsafe AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
index a7e0194..a1523f7 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
@@ -167,7 +167,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithURL:settings:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error) | |
+ internal unsafe virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var settings__handle__ = settings!.GetNonNullHandle (nameof (settings)); | |
@@ -187,7 +187,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError) | |
+ internal unsafe virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
index a5eba46..eb88749 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
@@ -167,7 +167,7 @@ namespace AVFoundation { | |
} | |
[Export ("beatsForHostTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual double GetBeats (ulong inHostTime, out NSError outError) | |
+ public unsafe virtual double GetBeats (ulong inHostTime, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
double ret; | |
@@ -181,7 +181,7 @@ namespace AVFoundation { | |
} | |
[Export ("dataWithSMPTEResolution:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData GetData (nint smpteResolution, out NSError outError) | |
+ public unsafe virtual NSData GetData (nint smpteResolution, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -195,7 +195,7 @@ namespace AVFoundation { | |
} | |
[Export ("hostTimeForBeats:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ulong GetHostTime (double inBeats, out NSError outError) | |
+ public unsafe virtual ulong GetHostTime (double inBeats, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
ulong ret; | |
@@ -219,7 +219,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadFromURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError) | |
+ public unsafe virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -234,7 +234,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadFromData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError) | |
+ public unsafe virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -259,7 +259,7 @@ namespace AVFoundation { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError outError) | |
+ public unsafe virtual bool Start (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -283,7 +283,7 @@ namespace AVFoundation { | |
} | |
[Export ("writeToURL:SMPTEResolution:replaceExisting:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError) | |
+ public unsafe virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs | |
index d967633..9923a97 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSession.g.cs | |
@@ -164,7 +164,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError) | |
+ public unsafe virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -200,7 +200,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetActive (bool beActive, out NSError outError) | |
+ public unsafe virtual bool SetActive (bool beActive, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -227,7 +227,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError) | |
+ public unsafe virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -254,7 +254,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error) | |
+ public unsafe virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -272,7 +272,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -294,7 +294,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (NSString theCategory, out NSError outError) | |
+ public unsafe virtual bool SetCategory (NSString theCategory, out NSError outError) | |
{ | |
var theCategory__handle__ = theCategory!.GetNonNullHandle (nameof (theCategory)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -331,7 +331,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -361,7 +361,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, options, out outError); | |
} | |
@@ -371,7 +371,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -396,7 +396,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode, options, out outError); | |
} | |
@@ -414,7 +414,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode.GetConstant ()!, options, out outError); | |
} | |
@@ -433,7 +433,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -458,7 +458,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode, policy, options, out outError); | |
} | |
@@ -467,7 +467,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -481,7 +481,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -502,7 +502,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetInputGain (float gain, out NSError outError) | |
+ public unsafe virtual bool SetInputGain (float gain, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -520,7 +520,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetMode (NSString mode, out NSError error) | |
+ public unsafe virtual bool SetMode (NSString mode, out NSError error) | |
{ | |
var mode__handle__ = mode!.GetNonNullHandle (nameof (mode)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -538,7 +538,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetMode (AVAudioSessionMode mode, out NSError error) | |
+ public unsafe bool SetMode (AVAudioSessionMode mode, out NSError error) | |
{ | |
return SetMode (mode.GetConstant ()!, out error); | |
} | |
@@ -548,7 +548,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -571,7 +571,7 @@ namespace AVFoundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'SetPreferredSampleRate' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError) | |
+ public unsafe virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -589,7 +589,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError) | |
+ public unsafe virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -607,7 +607,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError) | |
+ public unsafe virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError) | |
{ | |
var inPort__handle__ = inPort.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -626,7 +626,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError) | |
+ public unsafe virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -644,7 +644,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError) | |
+ public unsafe virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -666,7 +666,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError) | |
+ public unsafe virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -684,7 +684,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredSampleRate (double sampleRate, out NSError error) | |
+ public unsafe virtual bool SetPreferredSampleRate (double sampleRate, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -702,7 +702,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios14.5")] | |
[SupportedOSPlatform ("maccatalyst14.5")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -724,7 +724,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
index 9ee9abc..187b941 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
@@ -149,7 +149,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError) | |
+ internal unsafe virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError) | |
{ | |
var pattern__handle__ = pattern.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
index 721f14a..763d896 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
@@ -149,7 +149,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs | |
index 72ecf22..55ddc53 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioTime.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initWithAudioTimeStamp:sampleRate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
+ public unsafe AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (IsDirectBinding) { | |
@@ -200,7 +200,7 @@ namespace AVFoundation { | |
} | |
[Export ("timeWithAudioTimeStamp:sampleRate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
+ public unsafe static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
{ | |
return Runtime.GetNSObject<AVAudioTime> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_AudioTimeStamp_Double (class_ptr, Selector.GetHandle ("timeWithAudioTimeStamp:sampleRate:"), (global::AudioToolbox.AudioTimeStamp*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::AudioToolbox.AudioTimeStamp> (ref timestamp), sampleRate))!; | |
} | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
index 601e360..feeace8 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
@@ -162,7 +162,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadAudioUnitPresetAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error) | |
+ public unsafe virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
index 5a5eb44..a964b85 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("loadAudioFilesAtURLs:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError) | |
+ public unsafe virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError) | |
{ | |
if (audioFiles is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (audioFiles)); | |
@@ -163,7 +163,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadInstrumentAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError) | |
+ public unsafe virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError) | |
{ | |
var instrumentUrl__handle__ = instrumentUrl!.GetNonNullHandle (nameof (instrumentUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -178,7 +178,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadSoundBankInstrumentAtURL:program:bankMSB:bankLSB:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError) | |
+ public unsafe virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError) | |
{ | |
var bankUrl__handle__ = bankUrl!.GetNonNullHandle (nameof (bankUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
index c524ac3..e2538e9 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
@@ -534,7 +534,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LockForConfiguration (out NSError error) | |
+ public unsafe virtual bool LockForConfiguration (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -696,7 +696,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetTorchModeLevel (float torchLevel, out NSError outError) | |
+ public unsafe virtual bool SetTorchModeLevel (float torchLevel, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
index 123bfd4..ff15d7b 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
@@ -132,7 +132,7 @@ namespace AVFoundation { | |
[Export ("initWithDevice:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVCaptureDeviceInput (AVCaptureDevice device, out NSError error) | |
+ public unsafe AVCaptureDeviceInput (AVCaptureDevice device, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
@@ -146,7 +146,7 @@ namespace AVFoundation { | |
} | |
[Export ("deviceInputWithDevice:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error) | |
+ public unsafe static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
index 06ca6b7..514e443 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
@@ -144,7 +144,7 @@ namespace AVFoundation { | |
} | |
[Export ("appendTimedMetadataGroup:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError) | |
+ public unsafe virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError) | |
{ | |
var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
index 4036c5b..78a85df 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
@@ -79,7 +79,7 @@ namespace AVFoundation { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo) | |
+ public unsafe static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
index 3bccb78..ebe498e 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
@@ -219,7 +219,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error) | |
+ public unsafe virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs | |
index ef23606..2dfec61 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVDepthData.g.cs | |
@@ -152,7 +152,7 @@ namespace AVFoundation { | |
} | |
[Export ("depthDataFromDictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
+ public unsafe static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
{ | |
var imageSourceAuxDataInfoDictionary__handle__ = imageSourceAuxDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxDataInfoDictionary)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -163,7 +163,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
NativeHandle outAuxDataTypeValue = IntPtr.Zero; | |
NSDictionary? ret; | |
@@ -177,7 +177,7 @@ namespace AVFoundation { | |
} | |
[Export ("depthDataByReplacingDepthDataMapWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
+ public unsafe virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
{ | |
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
index 28445d5..56e65ff 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
@@ -339,7 +339,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
index efe6ba2..003dcb8 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initWithContentsOfURL:soundBankURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError) | |
+ public unsafe AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var contentsUrl__handle__ = contentsUrl!.GetNonNullHandle (nameof (contentsUrl)); | |
@@ -160,7 +160,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithData:soundBankURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError) | |
+ public unsafe AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
index 506056c..42c882c 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
@@ -68,7 +68,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError) | |
+ public unsafe static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -110,7 +110,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError) | |
+ public unsafe static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
index afe2355..811a962 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
@@ -218,7 +218,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofAsset:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error) | |
+ public unsafe virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error) | |
{ | |
var sourceAsset__handle__ = sourceAsset!.GetNonNullHandle (nameof (sourceAsset)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
index 06f8dc9..46aca00 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
@@ -165,7 +165,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofTrack:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error) | |
+ public unsafe virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error) | |
{ | |
var ofTrack__handle__ = ofTrack!.GetNonNullHandle (nameof (ofTrack)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -180,7 +180,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRanges:ofTracks:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error) | |
+ public unsafe virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error) | |
{ | |
if (cmTimeRanges is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (cmTimeRanges)); | |
@@ -265,7 +265,7 @@ namespace AVFoundation { | |
} | |
[Export ("validateTrackSegments:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error) | |
+ public unsafe virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error) | |
{ | |
if (trackSegments is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (trackSegments)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
index 7b263cc..6794c2d 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
@@ -156,7 +156,7 @@ namespace AVFoundation { | |
[Export ("initWithURL:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -176,7 +176,7 @@ namespace AVFoundation { | |
[Export ("initWithData:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -196,7 +196,7 @@ namespace AVFoundation { | |
[Export ("initWithSettingsFromMovie:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -215,7 +215,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -231,7 +231,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithSettingsFromMovie:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -247,7 +247,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
index f722184..1df3dc4 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
@@ -142,7 +142,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error) | |
+ public unsafe virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
index 4e44326..91cc770 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
@@ -74,7 +74,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofTrack:atTime:copySampleData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
+ public unsafe static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
index b29a286..f602ff7 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
@@ -74,7 +74,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofAsset:atTime:copySampleData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
+ public unsafe static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
index 9d03806..d3f8f57 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
@@ -132,7 +132,7 @@ namespace AVFoundation { | |
[Export ("persistableContentKeyFromKeyVendorResponse:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError) | |
+ public unsafe virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError) | |
{ | |
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse)); | |
var options__handle__ = options.GetHandle (); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
index 1c5432c..2a96c44 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
@@ -195,7 +195,7 @@ namespace AVFoundation { | |
} | |
[Export ("copyPixelBufferForItemTime:itemTimeForDisplay:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay) | |
+ protected unsafe virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay) | |
{ | |
if (IsDirectBinding) { | |
return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_CMTime_ref_CMTime (this.Handle, Selector.GetHandle ("copyPixelBufferForItemTime:itemTimeForDisplay:"), itemTime, (global::CoreMedia.CMTime*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::CoreMedia.CMTime> (ref outItemTimeForDisplay)); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
index 899ec26..4c945e1 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
@@ -138,7 +138,7 @@ namespace AVFoundation { | |
[Export ("portraitEffectsMatteFromDictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
+ public unsafe static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -167,7 +167,7 @@ namespace AVFoundation { | |
} | |
[Export ("portraitEffectsMatteByReplacingPortraitEffectsMatteWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
+ public unsafe virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -186,7 +186,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
index 9abfd61..f5fc8df 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
@@ -152,7 +152,7 @@ namespace AVFoundation { | |
} | |
[Export ("semanticSegmentationMatteFromImageSourceAuxiliaryDataType:dictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError) | |
+ public unsafe static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -168,7 +168,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -186,7 +186,7 @@ namespace AVFoundation { | |
} | |
[Export ("semanticSegmentationMatteByReplacingSemanticSegmentationMatteWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError) | |
+ public unsafe virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
index 3c8d53d..1794d3b 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
@@ -204,7 +204,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -216,7 +216,7 @@ namespace AVFoundation { | |
} | |
[Export ("getOpacityRampForTime:startOpacity:endOpacity:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -228,7 +228,7 @@ namespace AVFoundation { | |
} | |
[Export ("getTransformRampForTime:startTransform:endTransform:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs b/new/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs | |
index 48d8676..1d7e525 100644 | |
--- a/old/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AdServices/AAAttribution.g.cs | |
@@ -138,7 +138,7 @@ namespace AdServices { | |
[Export ("attributionTokenWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string? GetAttributionToken (out NSError? error) | |
+ public unsafe static string? GetAttributionToken (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs b/new/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs | |
index 65f8eae..95d36e1 100644 | |
--- a/old/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AssetsLibrary/ALAssetRepresentation.g.cs | |
@@ -143,7 +143,7 @@ namespace AssetsLibrary { | |
[Export ("getBytes:fromOffset:length:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint GetBytes (nint buffer, long offset, nuint length, out NSError error) | |
+ public unsafe virtual nuint GetBytes (nint buffer, long offset, nuint length, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
nuint ret; | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
index 62c1171..ffbbeec 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
@@ -133,7 +133,7 @@ namespace AudioUnit { | |
[Export ("initWithComponentDescription:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError) | |
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -146,7 +146,7 @@ namespace AudioUnit { | |
} | |
[Export ("initWithComponentDescription:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError) | |
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace AudioUnit { | |
} | |
[Export ("allocateRenderResourcesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AllocateRenderResources (out NSError? outError) | |
+ public unsafe virtual bool AllocateRenderResources (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -187,7 +187,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -210,7 +210,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
+ public unsafe virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -233,7 +233,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
+ public unsafe virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -288,7 +288,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -391,7 +391,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
index c500571..8a3d32b 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
@@ -145,7 +145,7 @@ namespace AudioUnit { | |
[Export ("initWithFormat:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
+ public unsafe AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
@@ -159,7 +159,7 @@ namespace AudioUnit { | |
} | |
[Export ("setFormat:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
+ public unsafe virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
{ | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
index 2ec003a..e2bd6ec 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
@@ -215,7 +215,7 @@ namespace AudioUnit { | |
} | |
[Export ("setBusCount:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetBusCount (nuint count, out NSError? outError) | |
+ public unsafe virtual bool SetBusCount (nuint count, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
index bacd941..b1265c4 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
@@ -57,7 +57,7 @@ namespace AudioUnit { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("createAudioUnitWithComponentDescription:error:")] | |
[Preserve (Conditional = true)] | |
- AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error); | |
+ unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error); | |
} | |
internal unsafe sealed class AUAudioUnitFactoryWrapper : BaseWrapper, IAUAudioUnitFactory { | |
[Preserve (Conditional = true)] | |
@@ -67,7 +67,7 @@ namespace AudioUnit { | |
} | |
[Export ("createAudioUnitWithComponentDescription:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error) | |
+ public unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
AUAudioUnit? ret; | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
index 0e48b2a..2ca2006 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
@@ -156,7 +156,7 @@ namespace AudioUnit { | |
} | |
[Export ("startHardwareAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool StartHardware (this AUAudioUnit This, out NSError? outError) | |
+ public unsafe static bool StartHardware (this AUAudioUnit This, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs | |
index 8dbe2f1..ad60da2 100644 | |
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUParameter.g.cs | |
@@ -180,7 +180,7 @@ namespace AudioUnit { | |
} | |
[Export ("stringFromValue:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetString (ref float value) | |
+ public unsafe virtual string GetString (ref float value) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_Single (this.Handle, Selector.GetHandle ("stringFromValue:"), (float*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<float> (ref value)))!; | |
diff --git a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
index 1ee7aca..6227618 100644 | |
--- a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
@@ -138,7 +138,7 @@ namespace BackgroundAssets { | |
[Export ("cancelDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CancelDownload (BADownload download, out NSError? error) | |
+ public unsafe virtual bool CancelDownload (BADownload download, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -161,7 +161,7 @@ namespace BackgroundAssets { | |
[SupportedOSPlatform ("maccatalyst16.4")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual BADownload[]? FetchCurrentDownloads (out NSError? error) | |
+ public unsafe virtual BADownload[]? FetchCurrentDownloads (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -250,7 +250,7 @@ namespace BackgroundAssets { | |
} | |
[Export ("scheduleDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ScheduleDownload (BADownload download, out NSError? outError) | |
+ public unsafe virtual bool ScheduleDownload (BADownload download, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -269,7 +269,7 @@ namespace BackgroundAssets { | |
} | |
[Export ("startForegroundDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartForegroundDownload (BADownload download, out NSError? outError) | |
+ public unsafe virtual bool StartForegroundDownload (BADownload download, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs b/new/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
index d356aa5..a643bbc 100644 | |
--- a/old/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
+++ b/new/dotnet/ios/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
@@ -223,7 +223,7 @@ namespace BackgroundTasks { | |
} | |
[Export ("submitTaskRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Submit (BGTaskRequest taskRequest, out NSError? error) | |
+ public unsafe virtual bool Submit (BGTaskRequest taskRequest, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs b/new/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs | |
index 6b3602a..6df6878 100644 | |
--- a/old/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Cinematic/CNCompositionInfo.g.cs | |
@@ -155,7 +155,7 @@ namespace Cinematic { | |
[Export ("insertTimeRange:ofCinematicAssetInfo:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, global::CoreMedia.CMTime startTime, out NSError? outError) | |
+ public unsafe virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, global::CoreMedia.CMTime startTime, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContact.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContact.g.cs | |
index 1d3b412..a770d47 100644 | |
--- a/old/dotnet/ios/generated-sources/Contacts/CNContact.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContact.g.cs | |
@@ -251,7 +251,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs | |
index 5f9271b..5afb135 100644 | |
--- a/old/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContactStore.g.cs | |
@@ -163,7 +163,7 @@ namespace Contacts { | |
} | |
[Export ("executeSaveRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error) | |
+ public unsafe virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error) | |
{ | |
var saveRequest__handle__ = saveRequest!.GetNonNullHandle (nameof (saveRequest)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -186,7 +186,7 @@ namespace Contacts { | |
} | |
[Export ("containersMatchingPredicate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error) | |
+ public unsafe virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error) | |
{ | |
var predicate__handle__ = predicate.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -204,7 +204,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error) | |
+ public unsafe virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -226,7 +226,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error) | |
+ public unsafe virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -245,7 +245,7 @@ namespace Contacts { | |
} | |
[Export ("groupsMatchingPredicate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error) | |
+ public unsafe virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error) | |
{ | |
var predicate__handle__ = predicate.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -260,7 +260,7 @@ namespace Contacts { | |
} | |
[Export ("unifiedContactWithIdentifier:keysToFetch:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error) | |
+ protected unsafe virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error) | |
{ | |
if (identifier is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (identifier)); | |
@@ -279,7 +279,7 @@ namespace Contacts { | |
} | |
[Export ("unifiedContactsMatchingPredicate:keysToFetch:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error) | |
+ protected unsafe virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error) | |
{ | |
var predicate__handle__ = predicate!.GetNonNullHandle (nameof (predicate)); | |
var keys__handle__ = keys!.GetNonNullHandle (nameof (keys)); | |
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
index 9bf5a8e..12ab996 100644 | |
--- a/old/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
@@ -144,7 +144,7 @@ namespace Contacts { | |
[Export ("contactsWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CNContact[]? GetContactsFromData (NSData data, out NSError error) | |
+ public unsafe static CNContact[]? GetContactsFromData (NSData data, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -155,7 +155,7 @@ namespace Contacts { | |
} | |
[Export ("dataWithContacts:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error) | |
+ public unsafe static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error) | |
{ | |
if (contacts is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (contacts)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs | |
index 4c891fe..9ac87a7 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSAtomicStore.g.cs | |
@@ -166,7 +166,7 @@ namespace CoreData { | |
} | |
[Export ("load:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (out NSError error) | |
+ public unsafe virtual bool Load (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -225,7 +225,7 @@ namespace CoreData { | |
} | |
[Export ("save:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Save (out NSError error) | |
+ public unsafe virtual bool Save (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
index 3712cbd..91da10f 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
@@ -141,7 +141,7 @@ namespace CoreData { | |
[Export ("beginEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -157,7 +157,7 @@ namespace CoreData { | |
} | |
[Export ("createDestinationInstancesForSourceInstance:entityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var sInstance__handle__ = sInstance!.GetNonNullHandle (nameof (sInstance)); | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
@@ -174,7 +174,7 @@ namespace CoreData { | |
} | |
[Export ("createRelationshipsForDestinationInstance:entityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var dInstance__handle__ = dInstance!.GetNonNullHandle (nameof (dInstance)); | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
@@ -191,7 +191,7 @@ namespace CoreData { | |
} | |
[Export ("endEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -207,7 +207,7 @@ namespace CoreData { | |
} | |
[Export ("endInstanceCreationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -223,7 +223,7 @@ namespace CoreData { | |
} | |
[Export ("endRelationshipCreationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
} | |
[Export ("performCustomValidationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs | |
index e623ab5..1bbda27 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchRequest.g.cs | |
@@ -190,7 +190,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFetchRequestResult[]? Execute (out NSError error) | |
+ public unsafe virtual INSFetchRequestResult[]? Execute (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
INSFetchRequestResult[]? ret; | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
index 053b2c3..bd2435a 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
@@ -208,7 +208,7 @@ namespace CoreData { | |
} | |
[Export ("performFetch:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PerformFetch (out NSError error) | |
+ public unsafe virtual bool PerformFetch (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs | |
index 0e7ac93..0b97e0c 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSIncrementalStore.g.cs | |
@@ -159,7 +159,7 @@ namespace CoreData { | |
} | |
[Export ("executeRequest:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error) | |
+ public unsafe virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
var context__handle__ = context.GetHandle (); | |
@@ -182,7 +182,7 @@ namespace CoreData { | |
} | |
[Export ("loadMetadata:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadMetadata (out NSError error) | |
+ public unsafe virtual bool LoadMetadata (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -236,7 +236,7 @@ namespace CoreData { | |
} | |
[Export ("newValueForRelationship:forObjectWithID:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error) | |
+ public unsafe virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error) | |
{ | |
var forRelationship__handle__ = forRelationship!.GetNonNullHandle (nameof (forRelationship)); | |
var forObjectI__handle__ = forObjectI!.GetNonNullHandle (nameof (forObjectI)); | |
@@ -253,7 +253,7 @@ namespace CoreData { | |
} | |
[Export ("newValuesForObjectWithID:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error) | |
+ public unsafe virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error) | |
{ | |
var forObjectId__handle__ = forObjectId!.GetNonNullHandle (nameof (forObjectId)); | |
var context__handle__ = context!.GetNonNullHandle (nameof (context)); | |
@@ -269,7 +269,7 @@ namespace CoreData { | |
} | |
[Export ("obtainPermanentIDsForObjects:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error) | |
+ public unsafe virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error) | |
{ | |
if (array is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (array)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs | |
index a276ad4..a01bc96 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObject.g.cs | |
@@ -392,7 +392,7 @@ namespace CoreData { | |
} | |
[Export ("validateForDelete:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForDelete (out NSError error) | |
+ public unsafe virtual bool ValidateForDelete (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -406,7 +406,7 @@ namespace CoreData { | |
} | |
[Export ("validateForInsert:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForInsert (out NSError error) | |
+ public unsafe virtual bool ValidateForInsert (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -420,7 +420,7 @@ namespace CoreData { | |
} | |
[Export ("validateForUpdate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForUpdate (out NSError error) | |
+ public unsafe virtual bool ValidateForUpdate (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -434,7 +434,7 @@ namespace CoreData { | |
} | |
[Export ("validateValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateValue (ref NSObject value, string key, out NSError error) | |
+ public unsafe virtual bool ValidateValue (ref NSObject value, string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
index f3a3f1d..9e2f6e6 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
@@ -191,7 +191,7 @@ namespace CoreData { | |
} | |
[Export ("countForFetchRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error) | |
+ public unsafe virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
} | |
[Export ("executeFetchRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error) | |
+ public unsafe virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -258,7 +258,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error) | |
+ public unsafe virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -273,7 +273,7 @@ namespace CoreData { | |
} | |
[Export ("existingObjectWithID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error) | |
+ public unsafe virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error) | |
{ | |
var objectID__handle__ = objectID!.GetNonNullHandle (nameof (objectID)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -378,7 +378,7 @@ namespace CoreData { | |
} | |
[Export ("obtainPermanentIDsForObjects:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error) | |
+ public unsafe virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error) | |
{ | |
if (objects is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (objects)); | |
@@ -489,7 +489,7 @@ namespace CoreData { | |
} | |
[Export ("save:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Save (out NSError error) | |
+ public unsafe virtual bool Save (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -507,7 +507,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error) | |
+ public unsafe virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error) | |
{ | |
var generation__handle__ = generation.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
index 1eaebe2..1a193a8 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
@@ -176,7 +176,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios17.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error) | |
+ public unsafe static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs | |
index b84d050..6052a1a 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMappingModel.g.cs | |
@@ -153,7 +153,7 @@ namespace CoreData { | |
} | |
[Export ("inferredMappingModelForSourceModel:destinationModel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error) | |
+ public unsafe static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error) | |
{ | |
var source__handle__ = source!.GetNonNullHandle (nameof (source)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs | |
index 5aa3a83..9e1cbc4 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMergePolicy.g.cs | |
@@ -140,7 +140,7 @@ namespace CoreData { | |
} | |
[Export ("resolveConflicts:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
@@ -162,7 +162,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
@@ -184,7 +184,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs | |
index 55ee125..65ee70b 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSMigrationManager.g.cs | |
@@ -208,7 +208,7 @@ namespace CoreData { | |
} | |
[Export ("migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error) | |
+ public unsafe virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error) | |
{ | |
var sourceUrl__handle__ = sourceUrl!.GetNonNullHandle (nameof (sourceUrl)); | |
if (sStoreType is null) | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
index fad52a6..96a425f 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
@@ -312,7 +312,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error) | |
+ public unsafe virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -335,7 +335,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -427,7 +427,7 @@ namespace CoreData { | |
} | |
[Export ("initializeCloudKitSchemaWithOptions:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error) | |
+ public unsafe virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs | |
index bf5c348..3035aaf 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStore.g.cs | |
@@ -156,7 +156,7 @@ namespace CoreData { | |
} | |
[Export ("loadMetadata:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadMetadata (out NSError error) | |
+ public unsafe virtual bool LoadMetadata (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -170,7 +170,7 @@ namespace CoreData { | |
} | |
[Export ("metadataForPersistentStoreWithURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -181,7 +181,7 @@ namespace CoreData { | |
} | |
[Export ("setMetadata:forPersistentStoreWithURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
index 43f8316..ec2636f 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
@@ -141,7 +141,7 @@ namespace CoreData { | |
} | |
[Export ("addPersistentStoreWithType:configuration:URL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error) | |
+ public unsafe virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error) | |
{ | |
var storeType__handle__ = storeType!.GetNonNullHandle (nameof (storeType)); | |
var storeUrl__handle__ = storeUrl.GetHandle (); | |
@@ -199,7 +199,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error) | |
+ public unsafe virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
if (storeType is null) | |
@@ -219,7 +219,7 @@ namespace CoreData { | |
} | |
[Export ("executeRequest:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error) | |
+ public unsafe virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
var context__handle__ = context!.GetNonNullHandle (nameof (context)); | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FinishDeferredLightweightMigration (out NSError? error) | |
+ public unsafe virtual bool FinishDeferredLightweightMigration (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -261,7 +261,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FinishDeferredLightweightMigrationTask (out NSError? error) | |
+ public unsafe virtual bool FinishDeferredLightweightMigrationTask (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -306,7 +306,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
+ public unsafe static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
if (storeType is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (storeType)); | |
@@ -369,7 +369,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error) | |
{ | |
var storeType__handle__ = storeType.GetHandle (); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -381,7 +381,7 @@ namespace CoreData { | |
} | |
[Export ("migratePersistentStore:toURL:options:withType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error) | |
+ public unsafe virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error) | |
{ | |
var store__handle__ = store!.GetNonNullHandle (nameof (store)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -454,7 +454,7 @@ namespace CoreData { | |
} | |
[Export ("removePersistentStore:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error) | |
+ public unsafe virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error) | |
{ | |
var store__handle__ = store!.GetNonNullHandle (nameof (store)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -476,7 +476,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error) | |
+ public unsafe static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error) | |
{ | |
var storeUrl__handle__ = storeUrl!.GetNonNullHandle (nameof (storeUrl)); | |
var options__handle__ = options.GetHandle (); | |
@@ -492,7 +492,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error) | |
+ public unsafe virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error) | |
{ | |
var destinationUrl__handle__ = destinationUrl!.GetNonNullHandle (nameof (destinationUrl)); | |
var destinationOptions__handle__ = destinationOptions.GetHandle (); | |
@@ -522,7 +522,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
var storeType__handle__ = storeType.GetHandle (); | |
@@ -539,7 +539,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
if (storeType is null) | |
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
index 411016c..62b7f55 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
@@ -67,15 +67,15 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("pauseAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Pause (double time, out NSError? outError); | |
+ unsafe bool Pause (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("resumeAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Resume (double time, out NSError? outError); | |
+ unsafe bool Resume (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("seekToOffset:error:")] | |
[Preserve (Conditional = true)] | |
- bool Seek (double offsetTime, out NSError? outError); | |
+ unsafe bool Seek (double offsetTime, out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool LoopEnabled { | |
[Export ("loopEnabled")] | |
@@ -122,7 +122,7 @@ namespace CoreHaptics { | |
} | |
[Export ("pauseAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Pause (double time, out NSError? outError) | |
+ public unsafe bool Pause (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -136,7 +136,7 @@ namespace CoreHaptics { | |
} | |
[Export ("resumeAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Resume (double time, out NSError? outError) | |
+ public unsafe bool Resume (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -150,7 +150,7 @@ namespace CoreHaptics { | |
} | |
[Export ("seekToOffset:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Seek (double offsetTime, out NSError? outError) | |
+ public unsafe bool Seek (double offsetTime, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -164,7 +164,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Start (double time, out NSError? outError) | |
+ public unsafe bool Start (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -178,7 +178,7 @@ namespace CoreHaptics { | |
} | |
[Export ("stopAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Stop (double time, out NSError? outError) | |
+ public unsafe bool Stop (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -192,7 +192,7 @@ namespace CoreHaptics { | |
} | |
[Export ("sendParameters:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -210,7 +210,7 @@ namespace CoreHaptics { | |
} | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -225,7 +225,7 @@ namespace CoreHaptics { | |
} | |
[Export ("cancelAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Cancel (out NSError? outError) | |
+ public unsafe bool Cancel (out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
index 8cb74c5..a93bcd4 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
@@ -63,11 +63,11 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("attributesForEventParameter:eventType:error:")] | |
[Preserve (Conditional = true)] | |
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError); | |
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("attributesForDynamicParameter:error:")] | |
[Preserve (Conditional = true)] | |
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError); | |
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool SupportsHaptics { | |
[Export ("supportsHaptics")] | |
@@ -87,7 +87,7 @@ namespace CoreHaptics { | |
} | |
[Export ("attributesForEventParameter:eventType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError) | |
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -106,7 +106,7 @@ namespace CoreHaptics { | |
} | |
[Export ("attributesForDynamicParameter:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError) | |
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
index 84500c0..92dae0b 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
@@ -138,7 +138,7 @@ namespace CoreHaptics { | |
[Export ("initAndReturnError:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticEngine (out NSError? error) | |
+ public unsafe CHHapticEngine (out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -160,7 +160,7 @@ namespace CoreHaptics { | |
[SupportedOSPlatform ("ios13.0")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error) | |
+ public unsafe CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -178,7 +178,7 @@ namespace CoreHaptics { | |
} | |
[Export ("createAdvancedPlayerWithPattern:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError) | |
+ public unsafe virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -197,7 +197,7 @@ namespace CoreHaptics { | |
} | |
[Export ("createPlayerWithPattern:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError) | |
+ public unsafe virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -256,7 +256,7 @@ namespace CoreHaptics { | |
} | |
[Export ("playPatternFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError) | |
+ public unsafe virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -275,7 +275,7 @@ namespace CoreHaptics { | |
} | |
[Export ("playPatternFromData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PlayPattern (NSData data, out NSError? outError) | |
+ public unsafe virtual bool PlayPattern (NSData data, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -294,7 +294,7 @@ namespace CoreHaptics { | |
} | |
[Export ("registerAudioResource:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError) | |
+ public unsafe virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -344,7 +344,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError? outError) | |
+ public unsafe virtual bool Start (out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -392,7 +392,7 @@ namespace CoreHaptics { | |
} | |
[Export ("unregisterAudioResource:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError) | |
+ public unsafe virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
index cd634f0..a13ee2c 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
@@ -137,7 +137,7 @@ namespace CoreHaptics { | |
[Export ("initWithEvents:parameters:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -162,7 +162,7 @@ namespace CoreHaptics { | |
} | |
[Export ("initWithEvents:parameterCurves:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -187,7 +187,7 @@ namespace CoreHaptics { | |
} | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (NSDictionary patternDict, out NSError? outError) | |
+ public unsafe CHHapticPattern (NSDictionary patternDict, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -204,7 +204,7 @@ namespace CoreHaptics { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError) | |
: this (patternDefinition.GetDictionary ()!, out outError) | |
{ | |
#if ARCH_32 | |
@@ -218,7 +218,7 @@ namespace CoreHaptics { | |
[SupportedOSPlatform ("ios16.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (NSUrl url, out NSError? error) | |
+ public unsafe CHHapticPattern (NSUrl url, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -235,7 +235,7 @@ namespace CoreHaptics { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPatternDefinition? Export (out NSError? outError) | |
+ public unsafe CHHapticPatternDefinition? Export (out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -245,7 +245,7 @@ namespace CoreHaptics { | |
} | |
[Export ("exportDictionaryAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError) | |
+ internal unsafe virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
index 54dccaf..8e6c88b 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
@@ -64,23 +64,23 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("startAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Start (double time, out NSError? outError); | |
+ unsafe bool Start (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("stopAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Stop (double time, out NSError? outError); | |
+ unsafe bool Stop (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("sendParameters:atTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError); | |
+ unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError); | |
+ unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("cancelAndReturnError:")] | |
[Preserve (Conditional = true)] | |
- bool Cancel (out NSError? outError); | |
+ unsafe bool Cancel (out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool IsMuted { | |
[Export ("isMuted")] | |
@@ -97,7 +97,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Start (double time, out NSError? outError) | |
+ public unsafe bool Start (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -111,7 +111,7 @@ namespace CoreHaptics { | |
} | |
[Export ("stopAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Stop (double time, out NSError? outError) | |
+ public unsafe bool Stop (double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -125,7 +125,7 @@ namespace CoreHaptics { | |
} | |
[Export ("sendParameters:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -143,7 +143,7 @@ namespace CoreHaptics { | |
} | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -158,7 +158,7 @@ namespace CoreHaptics { | |
} | |
[Export ("cancelAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Cancel (out NSError? outError) | |
+ public unsafe bool Cancel (out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs | |
index e2a2d74..c708d45 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext.g.cs | |
@@ -379,7 +379,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos14.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
+ public unsafe virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -483,7 +483,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos14.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
+ public unsafe virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
index b962994..c3f7866 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
@@ -58,7 +58,7 @@ namespace CoreImage { | |
static readonly NativeHandle class_ptr = Class.GetHandle ("CIContext"); | |
[Export ("prepareRender:fromRect:toDestination:atPoint:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
+ public unsafe static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
@@ -70,7 +70,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToClear:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error) | |
{ | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -81,7 +81,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToRender:fromRect:toDestination:atPoint:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
@@ -93,7 +93,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToRender:toDestination:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
index c37a483..c078162 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
@@ -58,7 +58,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -78,7 +78,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -180,7 +180,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -201,7 +201,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -215,7 +215,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -232,7 +232,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WriteHeifRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -242,7 +242,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -259,7 +259,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WriteJpegRepresentation (This, image, url, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -269,7 +269,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -286,7 +286,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WritePngRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -296,7 +296,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error) | |
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -313,7 +313,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error) | |
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error) | |
{ | |
return WriteTiffRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs | |
index a541d7a..87d74fb 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIFilter.g.cs | |
@@ -353,7 +353,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error) | |
+ public unsafe static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error) | |
{ | |
var xmpData__handle__ = xmpData!.GetNonNullHandle (nameof (xmpData)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
index c4533da..e9a2c0c 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
@@ -58,6 +58,16 @@ namespace CoreImage { | |
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = true, Name = "CustomAttributes", Selector = "customAttributes", PropertyType = typeof (global::Foundation.NSDictionary<NSString, NSObject>), GetterSelector = "customAttributes", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface ICIFilterProtocol : INativeObject, IDisposable | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static NSDictionary<NSString, NSObject> GetCustomAttributes<T> () where T: NSObject, ICIFilterProtocol | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("customAttributes")))!; | |
+ #endif | |
+ } | |
[Preserve (Conditional = true)] | |
CIImage? OutputImage { | |
[Export ("outputImage")] | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
index e2c230f..755350c 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
@@ -145,7 +145,7 @@ namespace CoreImage { | |
[Export ("applyWithExtent:inputs:arguments:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error) | |
+ public unsafe static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error) | |
{ | |
var args__handle__ = args.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -197,7 +197,7 @@ namespace CoreImage { | |
} | |
[Export ("processWithInputs:arguments:output:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error) | |
+ public unsafe static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error) | |
{ | |
var arguments__handle__ = arguments.GetHandle (); | |
var output__handle__ = output!.GetNonNullHandle (nameof (output)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs | |
index c67b224..5297390 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIKernel.g.cs | |
@@ -159,7 +159,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel? FromFunction (string name, NSData data, out NSError? error) | |
+ public unsafe static CIKernel? FromFunction (string name, NSData data, out NSError? error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -178,7 +178,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error) | |
+ public unsafe static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -197,7 +197,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel[]? FromMetalSource (string source, out NSError? error) | |
+ public unsafe static CIKernel[]? FromMetalSource (string source, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs b/new/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs | |
index d644eef..2dd5bd2 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreImage/CIRenderTask.g.cs | |
@@ -132,7 +132,7 @@ namespace CoreImage { | |
[Export ("waitUntilCompletedAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CIRenderInfo? WaitUntilCompleted (out NSError? error) | |
+ public unsafe virtual CIRenderInfo? WaitUntilCompleted (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
CIRenderInfo? ret; | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
index 363f794..24bbc1a 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
@@ -157,7 +157,7 @@ namespace CoreML { | |
} | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error) | |
+ public unsafe MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs | |
index 26cdc09..f80441e 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLCustomLayer.g.cs | |
@@ -63,15 +63,15 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("setWeightData:error:")] | |
[Preserve (Conditional = true)] | |
- bool SetWeightData (NSData[] weights, out NSError? error); | |
+ unsafe bool SetWeightData (NSData[] weights, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("outputShapesForInputShapes:error:")] | |
[Preserve (Conditional = true)] | |
- NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error); | |
+ unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("evaluateOnCPUWithInputs:outputs:error:")] | |
[Preserve (Conditional = true)] | |
- bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error); | |
+ unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error); | |
} | |
/// <summary>Extension methods to the <see cref="IMLCustomLayer" /> interface to support all the methods from the MLCustomLayer protocol.</summary> | |
/// <remarks> | |
@@ -79,7 +79,7 @@ namespace CoreML { | |
/// </remarks> | |
public unsafe static partial class MLCustomLayer_Extensions { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error) | |
+ public unsafe static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -109,7 +109,7 @@ namespace CoreML { | |
} | |
[Export ("setWeightData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetWeightData (NSData[] weights, out NSError? error) | |
+ public unsafe bool SetWeightData (NSData[] weights, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -127,7 +127,7 @@ namespace CoreML { | |
} | |
[Export ("outputShapesForInputShapes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error) | |
+ public unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -145,7 +145,7 @@ namespace CoreML { | |
} | |
[Export ("evaluateOnCPUWithInputs:outputs:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error) | |
+ public unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs | |
index dd4bf87..b938157 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLCustomModel.g.cs | |
@@ -79,7 +79,7 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("predictionFromFeatures:options:error:")] | |
[Preserve (Conditional = true)] | |
- IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error); | |
+ unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error); | |
} | |
/// <summary>Extension methods to the <see cref="IMLCustomModel" /> interface to support all the methods from the MLCustomModel protocol.</summary> | |
/// <remarks> | |
@@ -87,7 +87,7 @@ namespace CoreML { | |
/// </remarks> | |
public unsafe static partial class MLCustomModel_Extensions { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -110,7 +110,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
+ public unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -218,7 +218,7 @@ namespace CoreML { | |
[Export ("initWithModelDescription:parameterDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error) | |
+ public unsafe MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -229,7 +229,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -239,7 +239,7 @@ namespace CoreML { | |
} | |
[Export ("predictionsFromBatch:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
index 9b7ea64..61ea126 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
@@ -165,7 +165,7 @@ namespace CoreML { | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error) | |
+ public unsafe MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var dictionary__handle__ = dictionary!.GetNonNullHandle (nameof (dictionary)); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs | |
index 7da0329..6b8931d 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLFeatureValue.g.cs | |
@@ -238,7 +238,7 @@ namespace CoreML { | |
} | |
[Export ("featureValueWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error) | |
+ public unsafe static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error) | |
{ | |
var value__handle__ = value!.GetNonNullHandle (nameof (value)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -253,7 +253,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -272,7 +272,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -286,7 +286,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -306,7 +306,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -320,7 +320,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -339,7 +339,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -353,7 +353,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -373,7 +373,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -387,7 +387,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -406,7 +406,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -420,7 +420,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -440,7 +440,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -454,7 +454,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -473,7 +473,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -487,7 +487,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -507,7 +507,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLModel.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLModel.g.cs | |
index 1ca40e3..81be48a 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLModel.g.cs | |
@@ -153,7 +153,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? CompileModel (NSUrl modelUrl, out NSError error) | |
+ public unsafe static NSUrl? CompileModel (NSUrl modelUrl, out NSError error) | |
{ | |
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -199,7 +199,7 @@ namespace CoreML { | |
} | |
[Export ("modelWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModel? Create (NSUrl url, out NSError error) | |
+ public unsafe static MLModel? Create (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -214,7 +214,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error) | |
+ public unsafe static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -234,7 +234,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error) | |
+ public unsafe virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -253,7 +253,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error) | |
{ | |
var input__handle__ = input!.GetNonNullHandle (nameof (input)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -268,7 +268,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error) | |
{ | |
var input__handle__ = input!.GetNonNullHandle (nameof (input)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -367,7 +367,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -390,7 +390,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs | |
index 3ff2150..0ea032d 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLModelAsset.g.cs | |
@@ -142,7 +142,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModelAsset? Create (NSData specificationData, out NSError? error) | |
+ public unsafe static MLModelAsset? Create (NSData specificationData, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs | |
index fcaf370..c933edf 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLMultiArray.g.cs | |
@@ -152,7 +152,7 @@ namespace CoreML { | |
[Export ("initWithShape:dataType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error) | |
+ public unsafe MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (shape is null) | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs | |
index 26f95c2..71413bc 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLUpdateTask.g.cs | |
@@ -159,7 +159,7 @@ namespace CoreML { | |
} | |
[Export ("updateTaskForModelAtURL:trainingData:configuration:progressHandlers:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -205,7 +205,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs b/new/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs | |
index e9b290d..ab21939 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreML/MLWritable.g.cs | |
@@ -60,7 +60,7 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("writeToURL:error:")] | |
[Preserve (Conditional = true)] | |
- bool Write (NSUrl url, out NSError? error); | |
+ unsafe bool Write (NSUrl url, out NSError? error); | |
} | |
internal unsafe sealed class MLWritableWrapper : BaseWrapper, IMLWritable { | |
[Preserve (Conditional = true)] | |
@@ -70,7 +70,7 @@ namespace CoreML { | |
} | |
[Export ("writeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Write (NSUrl url, out NSError? error) | |
+ public unsafe bool Write (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs | |
index 38fe8e0..416c8b9 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreMidi/MidiCISession.g.cs | |
@@ -166,7 +166,7 @@ namespace CoreMidi { | |
} | |
[Export ("disableProfile:onChannel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
+ public unsafe virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -185,7 +185,7 @@ namespace CoreMidi { | |
} | |
[Export ("enableProfile:onChannel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
+ public unsafe virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs b/new/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
index 46d1ded..e2dac23 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
@@ -257,7 +257,7 @@ namespace CoreNFC { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string? GetWellKnownTypeTextPayload (out NSLocale locale) | |
+ public unsafe virtual string? GetWellKnownTypeTextPayload (out NSLocale locale) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
index e0f16cb..90b4c1a 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
@@ -170,7 +170,7 @@ namespace CoreSpotlight { | |
} | |
[Export ("updateAttributes:forFileAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error) | |
+ public unsafe virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
index 2d5e11d..3670298 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
@@ -194,7 +194,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -221,7 +221,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
index 4f3e014..ac2e7c5 100644 | |
--- a/old/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
@@ -93,7 +93,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -115,7 +115,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -271,7 +271,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
@@ -281,7 +281,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs b/new/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs | |
index 346ccd9..79974cb 100644 | |
--- a/old/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/EventKit/EKEventStore.g.cs | |
@@ -177,7 +177,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Commit (out NSError error) | |
+ public unsafe virtual bool Commit (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -433,7 +433,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
{ | |
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -451,7 +451,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
{ | |
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -469,7 +469,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error) | |
+ public unsafe virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error) | |
{ | |
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -487,7 +487,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error) | |
{ | |
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -649,7 +649,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
{ | |
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -667,7 +667,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error) | |
+ public unsafe virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error) | |
{ | |
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -685,7 +685,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
{ | |
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -703,7 +703,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error) | |
{ | |
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs | |
index 4a24c37..2061848 100644 | |
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs | |
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderEnumerating.g.cs | |
@@ -60,7 +60,7 @@ namespace FileProvider { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("enumeratorForContainerItemIdentifier:request:error:")] | |
[Preserve (Conditional = true)] | |
- INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error); | |
+ unsafe INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error); | |
} | |
internal unsafe sealed class NSFileProviderEnumeratingWrapper : BaseWrapper, INSFileProviderEnumerating { | |
[Preserve (Conditional = true)] | |
@@ -70,7 +70,7 @@ namespace FileProvider { | |
} | |
[Export ("enumeratorForContainerItemIdentifier:request:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error) | |
+ public unsafe INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs | |
index ca206f9..13aeffd 100644 | |
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs | |
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderExtension.g.cs | |
@@ -258,7 +258,7 @@ namespace FileProvider { | |
} | |
[Export ("enumeratorForContainerItemIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, out NSError error) | |
+ public unsafe virtual INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, out NSError error) | |
{ | |
if (containerItemIdentifier is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (containerItemIdentifier)); | |
@@ -276,7 +276,7 @@ namespace FileProvider { | |
} | |
[Export ("itemForIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFileProviderItem? GetItem (NSString identifier, out NSError error) | |
+ public unsafe virtual INSFileProviderItem? GetItem (NSString identifier, out NSError error) | |
{ | |
var identifier__handle__ = identifier!.GetNonNullHandle (nameof (identifier)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -315,7 +315,7 @@ namespace FileProvider { | |
} | |
[Export ("supportedServiceSourcesForItemIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFileProviderServiceSource[]? GetSupportedServiceSources (string itemIdentifier, out NSError error) | |
+ public unsafe virtual INSFileProviderServiceSource[]? GetSupportedServiceSources (string itemIdentifier, out NSError error) | |
{ | |
if (itemIdentifier is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (itemIdentifier)); | |
@@ -687,7 +687,7 @@ namespace FileProvider { | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePlaceholder (NSUrl placeholderUrl, NSDictionary metadata, ref NSError error) | |
+ public unsafe static bool WritePlaceholder (NSUrl placeholderUrl, NSDictionary metadata, ref NSError error) | |
{ | |
var placeholderUrl__handle__ = placeholderUrl!.GetNonNullHandle (nameof (placeholderUrl)); | |
var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata)); | |
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderManager.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderManager.g.cs | |
index 4343a66..8a50b83 100644 | |
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderManager.g.cs | |
@@ -322,7 +322,7 @@ namespace FileProvider { | |
[SupportedOSPlatform ("macos11.3")] | |
[SupportedOSPlatform ("ios16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<INSFileProviderTestingOperation, NSError>? GetRunTestingOperations (INSFileProviderTestingOperation[] operations, out NSError? error) | |
+ public unsafe virtual NSDictionary<INSFileProviderTestingOperation, NSError>? GetRunTestingOperations (INSFileProviderTestingOperation[] operations, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -393,7 +393,7 @@ namespace FileProvider { | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos11.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetTemporaryDirectoryUrl (out NSError? error) | |
+ public unsafe virtual NSUrl? GetTemporaryDirectoryUrl (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -486,7 +486,7 @@ namespace FileProvider { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("macos11.3")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFileProviderTestingOperation[]? ListAvailableTestingOperations (out NSError? error) | |
+ public unsafe virtual INSFileProviderTestingOperation[]? ListAvailableTestingOperations (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -778,7 +778,7 @@ namespace FileProvider { | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePlaceholder (NSUrl placeholderUrl, INSFileProviderItem metadata, out NSError error) | |
+ public unsafe static bool WritePlaceholder (NSUrl placeholderUrl, INSFileProviderItem metadata, out NSError error) | |
{ | |
var placeholderUrl__handle__ = placeholderUrl!.GetNonNullHandle (nameof (placeholderUrl)); | |
var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata)); | |
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderReplicatedExtension.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderReplicatedExtension.g.cs | |
index 9bc67c2..4889bf2 100644 | |
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderReplicatedExtension.g.cs | |
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderReplicatedExtension.g.cs | |
@@ -259,7 +259,7 @@ namespace FileProvider { | |
} | |
[Export ("enumeratorForContainerItemIdentifier:request:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error) | |
+ public unsafe INSFileProviderEnumerator? GetEnumerator (string containerItemIdentifier, NSFileProviderRequest request, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderServiceSource.g.cs b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderServiceSource.g.cs | |
index 66c71ee..144d427 100644 | |
--- a/old/dotnet/ios/generated-sources/FileProvider/NSFileProviderServiceSource.g.cs | |
+++ b/new/dotnet/ios/generated-sources/FileProvider/NSFileProviderServiceSource.g.cs | |
@@ -62,7 +62,7 @@ namespace FileProvider { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("makeListenerEndpointAndReturnError:")] | |
[Preserve (Conditional = true)] | |
- NSXpcListenerEndpoint? MakeListenerEndpoint (out NSError error); | |
+ unsafe NSXpcListenerEndpoint? MakeListenerEndpoint (out NSError error); | |
[Preserve (Conditional = true)] | |
string ServiceName { | |
[Export ("serviceName")] | |
@@ -91,7 +91,7 @@ namespace FileProvider { | |
} | |
[Export ("makeListenerEndpointAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSXpcListenerEndpoint? MakeListenerEndpoint (out NSError error) | |
+ public unsafe NSXpcListenerEndpoint? MakeListenerEndpoint (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSXpcListenerEndpoint? ret; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSArray.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSArray.g.cs | |
index dd215b5..df26880 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSArray.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSArray.g.cs | |
@@ -259,7 +259,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSArray? FromUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSArray? FromUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -384,7 +384,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl url, out NSError error) | |
+ public unsafe virtual bool Write (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs | |
index 91480d3..970572c 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSAttributedString.g.cs | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("initWithURL:options:documentAttributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -222,7 +222,7 @@ namespace Foundation { | |
} | |
[Export ("initWithData:options:documentAttributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData data, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSData data, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -238,12 +238,12 @@ namespace Foundation { | |
error = Runtime.GetNSObject<NSError> (errorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: this (url, options.GetDictionary ()!, out resultDocumentAttributes, ref error) | |
{ | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: this (data, options.GetDictionary ()!, out resultDocumentAttributes, ref error) | |
{ | |
} | |
@@ -253,7 +253,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -277,7 +277,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -301,7 +301,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -438,7 +438,7 @@ namespace Foundation { | |
} | |
[Export ("attribute:atIndex:effectiveRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject GetAttribute (string attribute, nint location, out NSRange effectiveRange) | |
+ public unsafe virtual NSObject GetAttribute (string attribute, nint location, out NSRange effectiveRange) | |
{ | |
if (attribute is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (attribute)); | |
@@ -455,7 +455,7 @@ namespace Foundation { | |
} | |
[Export ("attribute:atIndex:longestEffectiveRange:inRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject GetAttribute (string attribute, nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
+ public unsafe virtual NSObject GetAttribute (string attribute, nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
{ | |
if (attribute is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (attribute)); | |
@@ -472,7 +472,7 @@ namespace Foundation { | |
} | |
[Export ("attributesAtIndex:longestEffectiveRange:inRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary GetAttributes (nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
+ public unsafe virtual NSDictionary GetAttributes (nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
{ | |
longestEffectiveRange = default (NSRange); | |
if (IsDirectBinding) { | |
@@ -515,7 +515,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetData (NSRange range, NSDictionary options, out NSError error) | |
+ public unsafe NSData? GetData (NSRange range, NSDictionary options, out NSError error) | |
{ | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -525,7 +525,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetData (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
+ public unsafe NSData? GetData (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
{ | |
return this.GetData (range, options.GetDictionary ()!, out error); | |
} | |
@@ -533,7 +533,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetData' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetDataFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
+ public unsafe virtual NSData? GetDataFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
var errorValue = error is null ? NativeHandle.Zero : error.Handle; | |
@@ -549,12 +549,12 @@ namespace Foundation { | |
[Obsolete ("Use 'GetData' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetDataFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
+ public unsafe NSData? GetDataFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
{ | |
return GetDataFromRange (range, documentAttributes.GetDictionary ()!, ref error); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapper (NSRange range, NSDictionary options, out NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapper (NSRange range, NSDictionary options, out NSError error) | |
{ | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -564,7 +564,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapper (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapper (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
{ | |
return this.GetFileWrapper (range, options.GetDictionary ()!, out error); | |
} | |
@@ -572,7 +572,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetFileWrapper' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
+ public unsafe virtual NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
var errorValue = error is null ? NativeHandle.Zero : error.Handle; | |
@@ -588,7 +588,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetFileWrapper' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
{ | |
return GetFileWrapperFromRange (range, documentAttributes.GetDictionary ()!, ref error); | |
} | |
@@ -618,7 +618,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSCalendar.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSCalendar.g.cs | |
index fe5e142..99d1b9f 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSCalendar.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSCalendar.g.cs | |
@@ -439,7 +439,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FindNextWeekend (out NSDate date, out double interval, NSCalendarOptions options, NSDate afterDate) | |
+ public unsafe virtual bool FindNextWeekend (out NSDate date, out double interval, NSCalendarOptions options, NSDate afterDate) | |
{ | |
var afterDate__handle__ = afterDate!.GetNonNullHandle (nameof (afterDate)); | |
NativeHandle dateValue = IntPtr.Zero; | |
@@ -474,7 +474,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetComponentsFromDate (out nint era, out nint year, out nint month, out nint day, NSDate date) | |
+ public unsafe virtual void GetComponentsFromDate (out nint era, out nint year, out nint month, out nint day, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
era = default (nint);year = default (nint);month = default (nint);day = default (nint); | |
@@ -490,7 +490,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetComponentsFromDateForWeekOfYear (out nint era, out nint year, out nint weekOfYear, out nint weekday, NSDate date) | |
+ public unsafe virtual void GetComponentsFromDateForWeekOfYear (out nint era, out nint year, out nint weekOfYear, out nint weekday, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
era = default (nint);year = default (nint);weekOfYear = default (nint);weekday = default (nint); | |
@@ -506,7 +506,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetHourComponentsFromDate (out nint hour, out nint minute, out nint second, out nint nanosecond, NSDate date) | |
+ public unsafe virtual void GetHourComponentsFromDate (out nint hour, out nint minute, out nint second, out nint nanosecond, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
hour = default (nint);minute = default (nint);second = default (nint);nanosecond = default (nint); | |
@@ -736,7 +736,7 @@ namespace Foundation { | |
} | |
[Export ("rangeOfUnit:startDate:interval:forDate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Range (NSCalendarUnit unit, out NSDate? datep, out double interval, NSDate date) | |
+ public unsafe virtual bool Range (NSCalendarUnit unit, out NSDate? datep, out double interval, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
NativeHandle datepValue = IntPtr.Zero; | |
@@ -756,7 +756,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RangeOfWeekendContainingDate (out NSDate weekendStartDate, out double interval, NSDate date) | |
+ public unsafe virtual bool RangeOfWeekendContainingDate (out NSDate weekendStartDate, out double interval, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
NativeHandle weekendStartDateValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSCoder.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSCoder.g.cs | |
index 95afd85..d27007a 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSCoder.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSCoder.g.cs | |
@@ -223,7 +223,7 @@ namespace Foundation { | |
} | |
[Export ("decodeBytesForKey:returnedLength:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nint DecodeBytes (string key, out nuint length) | |
+ public unsafe virtual nint DecodeBytes (string key, out nuint length) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
@@ -240,7 +240,7 @@ namespace Foundation { | |
} | |
[Export ("decodeBytesWithReturnedLength:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nint DecodeBytes (out nuint length) | |
+ public unsafe virtual nint DecodeBytes (out nuint length) | |
{ | |
length = default (nuint); | |
if (IsDirectBinding) { | |
@@ -413,7 +413,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSObject? ret; | |
@@ -431,7 +431,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
@@ -453,7 +453,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (Class klass, string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (Class klass, string key, out NSError error) | |
{ | |
var klass__handle__ = klass!.GetNonNullHandle (nameof (klass)); | |
if (key is null) | |
@@ -476,7 +476,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (NSSet<Class>? setOfClasses, string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (NSSet<Class>? setOfClasses, string key, out NSError error) | |
{ | |
var setOfClasses__handle__ = setOfClasses.GetHandle (); | |
if (key is null) | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSCoding.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSCoding.g.cs | |
index a41d6bc..11ed1a2 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSCoding.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSCoding.g.cs | |
@@ -54,7 +54,7 @@ namespace Foundation { | |
public partial interface INSCoding : INativeObject, IDisposable | |
{ | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public unsafe static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, INSCoding | |
+ public static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, INSCoding | |
{ | |
var decoder__handle__ = decoder!.GetNonNullHandle (nameof (decoder)); | |
IntPtr __handle__; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSData.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSData.g.cs | |
index 5f2b3f5..c8456e3 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSData.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSData.g.cs | |
@@ -219,7 +219,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual NSData? Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -257,7 +257,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual NSData? Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -370,7 +370,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithContentsOfFile:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData FromFile (string path, NSDataReadingOptions mask, out NSError error) | |
+ public unsafe static NSData FromFile (string path, NSDataReadingOptions mask, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -391,7 +391,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithContentsOfURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData FromUrl (NSUrl url, NSDataReadingOptions mask, out NSError error) | |
+ public unsafe static NSData FromUrl (NSUrl url, NSDataReadingOptions mask, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSDataDetector.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSDataDetector.g.cs | |
index 5e8e3e0..effe2d8 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSDataDetector.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSDataDetector.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithTypes:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDataDetector (NSTextCheckingTypes options, out NSError error) | |
+ public unsafe NSDataDetector (NSTextCheckingTypes options, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -174,7 +174,7 @@ namespace Foundation { | |
error = Runtime.GetNSObject<NSError> (errorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDataDetector (NSTextCheckingType options, out NSError error) | |
+ public unsafe NSDataDetector (NSTextCheckingType options, out NSError error) | |
: this ((NSTextCheckingTypes) options, out error) | |
{ | |
} | |
@@ -196,7 +196,7 @@ namespace Foundation { | |
} | |
[Export ("dataDetectorWithTypes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDataDetector Create (NSTextCheckingTypes checkingTypes, out NSError error) | |
+ public unsafe static NSDataDetector Create (NSTextCheckingTypes checkingTypes, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDataDetector? ret; | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDataDetector Create (NSTextCheckingType checkingTypes, out NSError error) | |
+ public unsafe static NSDataDetector Create (NSTextCheckingType checkingTypes, out NSError error) | |
{ | |
return Create ((NSTextCheckingTypes) checkingTypes, out error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSDateComponentsFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
index 17600cc..79a2035 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSDictionary.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSDictionary.g.cs | |
index 8ad5d1a..a437acb 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSDictionary.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSDictionary.g.cs | |
@@ -246,7 +246,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDictionary (NSUrl url, out NSError error) | |
+ public unsafe NSDictionary (NSUrl url, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -357,7 +357,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSObject>? FromUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary<NSString, NSObject>? FromUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSEnergyFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
index 484e0b9..4e8e7b0 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromJoules:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromJoules (double numberInJoules, out NSEnergyFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromJoules (double numberInJoules, out NSEnergyFormatterUnit unitp) | |
{ | |
unitp = default (NSEnergyFormatterUnit); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSFileHandle.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSFileHandle.g.cs | |
index d9cc18e..cd32f71 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSFileHandle.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSFileHandle.g.cs | |
@@ -214,7 +214,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Close (out NSError? error) | |
+ public unsafe virtual bool Close (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -289,7 +289,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetOffset (out ulong offsetInFile, out NSError? error) | |
+ public unsafe virtual bool GetOffset (out ulong offsetInFile, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -338,7 +338,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForReadingFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenReadUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenReadUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -361,7 +361,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForUpdatingURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenUpdateUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenUpdateUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -384,7 +384,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForWritingToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenWriteUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenWriteUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -399,7 +399,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Read (nuint length, out NSError? error) | |
+ public unsafe virtual NSData? Read (nuint length, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -486,7 +486,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? ReadToEnd (out NSError? error) | |
+ public unsafe virtual NSData? ReadToEnd (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -537,7 +537,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Seek (ulong offset, out NSError? error) | |
+ public unsafe virtual bool Seek (ulong offset, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -559,7 +559,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SeekToEnd (out ulong offsetInFile, out NSError? error) | |
+ public unsafe virtual bool SeekToEnd (out ulong offsetInFile, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -646,7 +646,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Synchronize (out NSError? error) | |
+ public unsafe virtual bool Synchronize (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -686,7 +686,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Truncate (ulong offset, out NSError? error) | |
+ public unsafe virtual bool Truncate (ulong offset, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -755,7 +755,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSData data, out NSError? error) | |
+ public unsafe virtual bool Write (NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSFileManager.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSFileManager.g.cs | |
index 59539ef..ce2ac4d 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSFileManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSFileManager.g.cs | |
@@ -209,7 +209,7 @@ namespace Foundation { | |
} | |
[Export ("copyItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Copy (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Copy (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -231,7 +231,7 @@ namespace Foundation { | |
} | |
[Export ("copyItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Copy (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Copy (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -247,7 +247,7 @@ namespace Foundation { | |
} | |
[Export ("createDirectoryAtPath:withIntermediateDirectories:attributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDirectory (string path, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
+ public unsafe virtual bool CreateDirectory (string path, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -266,7 +266,7 @@ namespace Foundation { | |
} | |
[Export ("createDirectoryAtURL:withIntermediateDirectories:attributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDirectory (NSUrl url, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
+ public unsafe virtual bool CreateDirectory (NSUrl url, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var attributes__handle__ = attributes.GetHandle (); | |
@@ -300,7 +300,7 @@ namespace Foundation { | |
} | |
[Export ("createSymbolicLinkAtPath:withDestinationPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateSymbolicLink (string path, string destPath, out NSError error) | |
+ public unsafe virtual bool CreateSymbolicLink (string path, string destPath, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -322,7 +322,7 @@ namespace Foundation { | |
} | |
[Export ("createSymbolicLinkAtURL:withDestinationURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateSymbolicLink (NSUrl url, NSUrl destURL, out NSError error) | |
+ public unsafe virtual bool CreateSymbolicLink (NSUrl url, NSUrl destURL, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var destURL__handle__ = destURL!.GetNonNullHandle (nameof (destURL)); | |
@@ -354,7 +354,7 @@ namespace Foundation { | |
} | |
[Export ("evictUbiquitousItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EvictUbiquitous (NSUrl url, out NSError error) | |
+ public unsafe virtual bool EvictUbiquitous (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -385,7 +385,7 @@ namespace Foundation { | |
} | |
[Export ("fileExistsAtPath:isDirectory:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FileExists (string path, ref bool isDirectory) | |
+ public unsafe virtual bool FileExists (string path, ref bool isDirectory) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -427,7 +427,7 @@ namespace Foundation { | |
} | |
[Export ("contentsOfDirectoryAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetDirectoryContent (string path, out NSError error) | |
+ public unsafe virtual string[] GetDirectoryContent (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -445,7 +445,7 @@ namespace Foundation { | |
} | |
[Export ("contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl[] GetDirectoryContent (NSUrl url, NSArray? properties, NSDirectoryEnumerationOptions options, out NSError error) | |
+ public unsafe virtual NSUrl[] GetDirectoryContent (NSUrl url, NSArray? properties, NSDirectoryEnumerationOptions options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var properties__handle__ = properties.GetHandle (); | |
@@ -461,7 +461,7 @@ namespace Foundation { | |
} | |
[Export ("subpathsOfDirectoryAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetDirectoryContentRecursive (string path, out NSError error) | |
+ public unsafe virtual string[] GetDirectoryContentRecursive (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -565,7 +565,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl toItemAtUrl, out NSError error) | |
+ public unsafe virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl toItemAtUrl, out NSError error) | |
{ | |
var toItemAtUrl__handle__ = toItemAtUrl!.GetNonNullHandle (nameof (toItemAtUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -585,7 +585,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSUrl directoryURL, NSUrl otherURL, out NSError error) | |
+ public unsafe virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSUrl directoryURL, NSUrl otherURL, out NSError error) | |
{ | |
var directoryURL__handle__ = directoryURL!.GetNonNullHandle (nameof (directoryURL)); | |
var otherURL__handle__ = otherURL!.GetNonNullHandle (nameof (otherURL)); | |
@@ -602,7 +602,7 @@ namespace Foundation { | |
} | |
[Export ("destinationOfSymbolicLinkAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetSymbolicLinkDestination (string path, out NSError error) | |
+ public unsafe virtual string GetSymbolicLinkDestination (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -620,7 +620,7 @@ namespace Foundation { | |
} | |
[Export ("URLForDirectory:inDomain:appropriateForURL:create:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl GetUrl (NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl? url, bool shouldCreate, out NSError error) | |
+ public unsafe virtual NSUrl GetUrl (NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl? url, bool shouldCreate, out NSError error) | |
{ | |
var url__handle__ = url.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -635,7 +635,7 @@ namespace Foundation { | |
} | |
[Export ("URLForPublishingUbiquitousItemAtURL:expirationDate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl GetUrlForPublishingUbiquitousItem (NSUrl url, out NSDate expirationDate, out NSError error) | |
+ public unsafe virtual NSUrl GetUrlForPublishingUbiquitousItem (NSUrl url, out NSDate expirationDate, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle expirationDateValue = IntPtr.Zero; | |
@@ -753,7 +753,7 @@ namespace Foundation { | |
} | |
[Export ("linkItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Link (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Link (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -775,7 +775,7 @@ namespace Foundation { | |
} | |
[Export ("linkItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Link (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Link (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -791,7 +791,7 @@ namespace Foundation { | |
} | |
[Export ("moveItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Move (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Move (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -813,7 +813,7 @@ namespace Foundation { | |
} | |
[Export ("moveItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Move (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Move (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -829,7 +829,7 @@ namespace Foundation { | |
} | |
[Export ("removeItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (string? path, out NSError error) | |
+ public unsafe virtual bool Remove (string? path, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
var nspath = CFString.CreateNative (path); | |
@@ -845,7 +845,7 @@ namespace Foundation { | |
} | |
[Export ("removeItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (NSUrl? url, out NSError error) | |
+ public unsafe virtual bool Remove (NSUrl? url, out NSError error) | |
{ | |
var url__handle__ = url.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -860,7 +860,7 @@ namespace Foundation { | |
} | |
[Export ("replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Replace (NSUrl originalItem, NSUrl newItem, string? backupItemName, NSFileManagerItemReplacementOptions options, out NSUrl resultingURL, out NSError error) | |
+ public unsafe virtual bool Replace (NSUrl originalItem, NSUrl newItem, string? backupItemName, NSFileManagerItemReplacementOptions options, out NSUrl resultingURL, out NSError error) | |
{ | |
var originalItem__handle__ = originalItem!.GetNonNullHandle (nameof (originalItem)); | |
var newItem__handle__ = newItem!.GetNonNullHandle (nameof (newItem)); | |
@@ -880,7 +880,7 @@ namespace Foundation { | |
} | |
[Export ("setAttributes:ofItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAttributes (NSDictionary attributes, string path, out NSError error) | |
+ public unsafe virtual bool SetAttributes (NSDictionary attributes, string path, out NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
if (path is null) | |
@@ -899,7 +899,7 @@ namespace Foundation { | |
} | |
[Export ("setUbiquitous:itemAtURL:destinationURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetUbiquitous (bool flag, NSUrl url, NSUrl destinationUrl, out NSError error) | |
+ public unsafe virtual bool SetUbiquitous (bool flag, NSUrl url, NSUrl destinationUrl, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var destinationUrl__handle__ = destinationUrl!.GetNonNullHandle (nameof (destinationUrl)); | |
@@ -915,7 +915,7 @@ namespace Foundation { | |
} | |
[Export ("startDownloadingUbiquitousItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartDownloadingUbiquitous (NSUrl url, out NSError error) | |
+ public unsafe virtual bool StartDownloadingUbiquitous (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -950,7 +950,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error) | |
+ public unsafe virtual bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle resultingItemUrlValue = IntPtr.Zero; | |
@@ -967,7 +967,7 @@ namespace Foundation { | |
} | |
[Export ("attributesOfItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary _GetAttributes (string path, out NSError error) | |
+ internal unsafe virtual NSDictionary _GetAttributes (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -985,7 +985,7 @@ namespace Foundation { | |
} | |
[Export ("attributesOfFileSystemForPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary _GetFileSystemAttributes (string path, out NSError error) | |
+ internal unsafe virtual NSDictionary _GetFileSystemAttributes (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSFileVersion.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSFileVersion.g.cs | |
index e6366ec..202a691 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSFileVersion.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSFileVersion.g.cs | |
@@ -188,7 +188,7 @@ namespace Foundation { | |
} | |
[Export ("removeAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (out NSError outError) | |
+ public unsafe virtual bool Remove (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -202,7 +202,7 @@ namespace Foundation { | |
} | |
[Export ("removeOtherVersionsOfItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool RemoveOtherVersions (NSUrl url, out NSError outError) | |
+ public unsafe static bool RemoveOtherVersions (NSUrl url, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -213,7 +213,7 @@ namespace Foundation { | |
} | |
[Export ("replaceItemAtURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl ReplaceItem (NSUrl url, NSFileVersionReplacingOptions options, out NSError error) | |
+ public unsafe virtual NSUrl ReplaceItem (NSUrl url, NSFileVersionReplacingOptions options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSFileWrapper.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSFileWrapper.g.cs | |
index 49021eb..5f6ad14 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSFileWrapper.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSFileWrapper.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithURL:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
+ public unsafe NSFileWrapper (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -298,7 +298,7 @@ namespace Foundation { | |
} | |
[Export ("readFromURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Read (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
+ public unsafe virtual bool Read (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -324,7 +324,7 @@ namespace Foundation { | |
} | |
[Export ("writeToURL:options:originalContentsURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl url, NSFileWrapperWritingOptions options, NSUrl? originalContentsURL, out NSError outError) | |
+ public unsafe virtual bool Write (NSUrl url, NSFileWrapperWritingOptions options, NSUrl? originalContentsURL, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var originalContentsURL__handle__ = originalContentsURL.GetHandle (); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSFormatter.g.cs | |
index 81fe6ef..a14f754 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSFormatter.g.cs | |
@@ -223,7 +223,7 @@ namespace Foundation { | |
} | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out NSString error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out NSString error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -243,7 +243,7 @@ namespace Foundation { | |
} | |
[Export ("isPartialStringValid:newEditingString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool IsPartialStringValid (string partialString, out string? newString, out NSString? error) | |
+ public unsafe virtual bool IsPartialStringValid (string partialString, out string? newString, out NSString? error) | |
{ | |
if (partialString is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (partialString)); | |
@@ -263,7 +263,7 @@ namespace Foundation { | |
} | |
[Export ("isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string? error) | |
+ public unsafe virtual bool IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string? error) | |
{ | |
if (origString is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (origString)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderReading.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderReading.g.cs | |
index c5b36fb..dc95067 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderReading.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderReading.g.cs | |
@@ -58,6 +58,28 @@ namespace Foundation { | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = true, Name = "ReadableTypeIdentifiers", Selector = "readableTypeIdentifiersForItemProvider", PropertyType = typeof (String[]), GetterSelector = "readableTypeIdentifiersForItemProvider", ArgumentSemantic = ArgumentSemantic.Copy)] | |
public partial interface INSItemProviderReading : INativeObject, IDisposable | |
{ | |
+ [Export ("objectWithItemProviderData:typeIdentifier:error:")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe static INSItemProviderReading? GetObject<T> (NSData data, string typeIdentifier, out NSError? outError) where T: NSObject, INSItemProviderReading | |
+ { | |
+ var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
+ if (typeIdentifier is null) | |
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (typeIdentifier)); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ NativeHandle outErrorValue = IntPtr.Zero; | |
+ var nstypeIdentifier = CFString.CreateNative (typeIdentifier); | |
+ INSItemProviderReading? ret; | |
+ ret = Runtime.GetINativeObject<INSItemProviderReading> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (class_ptr, Selector.GetHandle ("objectWithItemProviderData:typeIdentifier:error:"), data__handle__, nstypeIdentifier, &outErrorValue), false)!; | |
+ CFString.ReleaseNative (nstypeIdentifier); | |
+ outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
+ return ret!; | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string[] GetReadableTypeIdentifiers<T> () where T: NSObject, INSItemProviderReading | |
+ { | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("readableTypeIdentifiersForItemProvider")))!; | |
+ } | |
} | |
internal unsafe sealed class NSItemProviderReadingWrapper : BaseWrapper, INSItemProviderReading { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderWriting.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
index 298526e..3d53cbf 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
@@ -64,6 +64,12 @@ namespace Foundation { | |
[Export ("loadDataWithTypeIdentifier:forItemProviderCompletionHandler:")] | |
[Preserve (Conditional = true)] | |
unsafe NSProgress? LoadData (string typeIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V19))]global::System.Action<NSData, NSError> completionHandler); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string[] GetWritableTypeIdentifiers<T> () where T: NSObject, INSItemProviderWriting | |
+ { | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("writableTypeIdentifiersForItemProvider")))!; | |
+ } | |
} | |
/// <summary>Extension methods to the <see cref="INSItemProviderWriting" /> interface to support all the methods from the NSItemProviderWriting protocol.</summary> | |
/// <remarks> | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSJsonSerialization.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSJsonSerialization.g.cs | |
index 073880f..1659172 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSJsonSerialization.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSJsonSerialization.g.cs | |
@@ -128,7 +128,7 @@ namespace Foundation { | |
[Export ("JSONObjectWithData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject Deserialize (NSData data, NSJsonReadingOptions opt, out NSError error) | |
+ public unsafe static NSObject Deserialize (NSData data, NSJsonReadingOptions opt, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -139,7 +139,7 @@ namespace Foundation { | |
} | |
[Export ("JSONObjectWithStream:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject Deserialize (NSInputStream stream, NSJsonReadingOptions opt, out NSError error) | |
+ public unsafe static NSObject Deserialize (NSInputStream stream, NSJsonReadingOptions opt, out NSError error) | |
{ | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithJSONObject:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData Serialize (NSObject obj, NSJsonWritingOptions opt, out NSError error) | |
+ public unsafe static NSData Serialize (NSObject obj, NSJsonWritingOptions opt, out NSError error) | |
{ | |
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -170,7 +170,7 @@ namespace Foundation { | |
} | |
[Export ("writeJSONObject:toStream:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nint Serialize (NSObject obj, NSOutputStream stream, NSJsonWritingOptions opt, out NSError error) | |
+ public unsafe static nint Serialize (NSObject obj, NSOutputStream stream, NSJsonWritingOptions opt, out NSError error) | |
{ | |
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj)); | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSKeyedArchiver.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
index 6c1d4b5..d9b2c5c 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
@@ -217,7 +217,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetArchivedData (NSObject @object, bool requiresSecureCoding, out NSError? error) | |
+ public unsafe static NSData? GetArchivedData (NSObject @object, bool requiresSecureCoding, out NSError? error) | |
{ | |
var @object__handle__ = @object!.GetNonNullHandle (nameof (@object)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSKeyedUnarchiver.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
index dea480a..5561c11 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
@@ -132,7 +132,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSKeyedUnarchiver (NSData data, out NSError? error) | |
+ public unsafe NSKeyedUnarchiver (NSData data, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -203,7 +203,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject[]? GetUnarchivedArray (Class @class, NSData data, out NSError? error) | |
+ public unsafe static NSObject[]? GetUnarchivedArray (Class @class, NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -223,7 +223,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject[]? GetUnarchivedArray (NSSet<Class> classes, NSData data, out NSError? error) | |
+ public unsafe static NSObject[]? GetUnarchivedArray (NSSet<Class> classes, NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -243,7 +243,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetUnarchivedDictionary (Class keyClass, Class valueClass, NSData data, out NSError? error) | |
+ public unsafe static NSDictionary? GetUnarchivedDictionary (Class keyClass, Class valueClass, NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -264,7 +264,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetUnarchivedDictionary (NSSet<Class> keyClasses, NSSet<Class> valueClasses, NSData data, out NSError? error) | |
+ public unsafe static NSDictionary? GetUnarchivedDictionary (NSSet<Class> keyClasses, NSSet<Class> valueClasses, NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -285,7 +285,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (Class cls, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (Class cls, NSData data, out NSError? error) | |
{ | |
var cls__handle__ = cls!.GetNonNullHandle (nameof (cls)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -300,7 +300,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (global::System.Type type, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (global::System.Type type, NSData data, out NSError? error) | |
{ | |
return GetUnarchivedObject (new Class (type), data, out error); | |
} | |
@@ -310,7 +310,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, out NSError? error) | |
{ | |
var classes__handle__ = classes!.GetNonNullHandle (nameof (classes)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -325,7 +325,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (global::System.Type[] types, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (global::System.Type[] types, NSData data, out NSError? error) | |
{ | |
return GetUnarchivedObject (new NSSet<Class> (Array.ConvertAll (types, t => new Class (t))), data, out error); | |
} | |
@@ -395,7 +395,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject UnarchiveTopLevelObject (NSData data, out NSError error) | |
+ public unsafe static NSObject UnarchiveTopLevelObject (NSData data, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSLengthFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSLengthFormatter.g.cs | |
index bb763f1..22736f4 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSLengthFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSLengthFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromMeters:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromMeters (double numberInMeters, ref NSLengthFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromMeters (double numberInMeters, ref NSLengthFormatterUnit unitp) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_Double_ref_NSLengthFormatterUnit (this.Handle, Selector.GetHandle ("unitStringFromMeters:usedUnit:"), numberInMeters, (NSLengthFormatterUnit*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSLengthFormatterUnit> (ref unitp)))!; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSLinguisticAnalysis.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
index 654b718..51d148a 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
@@ -74,7 +74,7 @@ namespace Foundation { | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (NSLinguisticTag[]), OriginalType = typeof (NSString[]))] | |
- public static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSString scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSString scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
var scheme__handle__ = scheme!.GetNonNullHandle (nameof (scheme)); | |
var orthography__handle__ = orthography.GetHandle (); | |
@@ -90,7 +90,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSLinguisticTagScheme scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSLinguisticTagScheme scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
return GetLinguisticTags (This, range, scheme.GetConstant ()!, options, orthography, out tokenRanges); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSLinguisticTagger.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
index 2f5b672..5c80b46 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
@@ -285,7 +285,7 @@ namespace Foundation { | |
} | |
[Export ("orthographyAtIndex:effectiveRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSOrthography GetOrthography (nint charIndex, ref NSRange effectiveRange) | |
+ public unsafe virtual NSOrthography GetOrthography (nint charIndex, ref NSRange effectiveRange) | |
{ | |
if (IsDirectBinding) { | |
return Runtime.GetNSObject<NSOrthography> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_ref_NSRange (this.Handle, Selector.GetHandle ("orthographyAtIndex:effectiveRange:"), charIndex, (NSRange*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSRange> (ref effectiveRange)))!; | |
@@ -295,7 +295,7 @@ namespace Foundation { | |
} | |
[Export ("possibleTagsAtIndex:scheme:tokenRange:sentenceRange:scores:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSString[] GetPossibleTags (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange, ref NSArray scores) | |
+ internal unsafe virtual NSString[] GetPossibleTags (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange, ref NSArray scores) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
var scoresValue = scores is null ? NativeHandle.Zero : scores.Handle; | |
@@ -338,7 +338,7 @@ namespace Foundation { | |
} | |
[Export ("tagAtIndex:scheme:tokenRange:sentenceRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetTag (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange) | |
+ public unsafe virtual string GetTag (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
if (IsDirectBinding) { | |
@@ -357,7 +357,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string? GetTag (nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, ref NSRange tokenRange) | |
+ public unsafe virtual string? GetTag (nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, ref NSRange tokenRange) | |
{ | |
if (scheme is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (scheme)); | |
@@ -381,7 +381,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string? GetTag (string str, nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, NSOrthography? orthography, ref NSRange tokenRange) | |
+ public unsafe static string? GetTag (string str, nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, NSOrthography? orthography, ref NSRange tokenRange) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -406,7 +406,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, out NSValue[]? tokenRanges) | |
+ public unsafe virtual string[] GetTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, out NSValue[]? tokenRanges) | |
{ | |
if (scheme is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (scheme)); | |
@@ -432,7 +432,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string[] GetTags (string str, NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static string[] GetTags (string str, NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -451,7 +451,7 @@ namespace Foundation { | |
} | |
[Export ("tagsInRange:scheme:options:tokenRanges:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSString[] GetTagsInRange (NSRange range, NSString tagScheme, NSLinguisticTaggerOptions opts, ref NSArray tokenRanges) | |
+ internal unsafe virtual NSString[] GetTagsInRange (NSRange range, NSString tagScheme, NSLinguisticTaggerOptions opts, ref NSArray tokenRanges) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
var tokenRangesValue = tokenRanges is null ? NativeHandle.Zero : tokenRanges.Handle; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMassFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMassFormatter.g.cs | |
index a0f9aa9..f8744e7 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSMassFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMassFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromKilograms:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromKilograms (double numberInKilograms, ref NSMassFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromKilograms (double numberInKilograms, ref NSMassFormatterUnit unitp) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_Double_ref_NSMassFormatterUnit (this.Handle, Selector.GetHandle ("unitStringFromKilograms:usedUnit:"), numberInKilograms, (NSMassFormatterUnit*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSMassFormatterUnit> (ref unitp)))!; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs | |
index d14f5b6..d85c51f 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMorphology.g.cs | |
@@ -250,7 +250,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error) | |
+ public unsafe 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"); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMutableAttributedString.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
index 0a6fcd0..0246bf1 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
@@ -293,7 +293,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromData (NSData data, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromData (NSData data, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -314,7 +314,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromData (NSData data, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromData (NSData data, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
return ReadFromData (data, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
@@ -326,7 +326,7 @@ namespace Foundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'ReadFromUrl' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromFile (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromFile (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -349,7 +349,7 @@ namespace Foundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'ReadFromUrl' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromFile (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromFile (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
return ReadFromFile (url, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
@@ -358,7 +358,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ internal unsafe bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -376,7 +376,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromUrl (NSUrl url, NSDictionary<NSString, NSObject> options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromUrl (NSUrl url, NSDictionary<NSString, NSObject> options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -397,7 +397,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromUrl (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromUrl (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
return ReadFromUrl (url, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMutableData.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMutableData.g.cs | |
index 0a9408a..9b96da6 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSMutableData.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMutableData.g.cs | |
@@ -198,7 +198,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual bool Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -228,7 +228,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual bool Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSMutableString.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSMutableString.g.cs | |
index fe2b1a6..6d6fd7e 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSMutableString.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSMutableString.g.cs | |
@@ -188,7 +188,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ApplyTransform (NSString transform, bool reverse, NSRange range, out NSRange resultingRange) | |
+ public unsafe virtual bool ApplyTransform (NSString transform, bool reverse, NSRange range, out NSRange resultingRange) | |
{ | |
var transform__handle__ = transform!.GetNonNullHandle (nameof (transform)); | |
resultingRange = default (NSRange); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ApplyTransform (NSStringTransform transform, bool reverse, NSRange range, out NSRange resultingRange) | |
+ public unsafe bool ApplyTransform (NSStringTransform transform, bool reverse, NSRange range, out NSRange resultingRange) | |
{ | |
return ApplyTransform (transform.GetConstant ()!, reverse, range, out resultingRange); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs | |
index fc3a821..3f26b47 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSNetService.g.cs | |
@@ -197,7 +197,7 @@ namespace Foundation { | |
} | |
[Export ("getInputStream:outputStream:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetStreams (out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe virtual bool GetStreams (out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
NativeHandle inputStreamValue = IntPtr.Zero; | |
NativeHandle outputStreamValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
index e978e42..97bd040 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
@@ -203,7 +203,7 @@ namespace Foundation { | |
} | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject result, string str, out string errorDescription) | |
+ public unsafe virtual bool GetObjectValue (out NSObject result, string str, out string errorDescription) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSPropertyListSerialization.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
index 6ad95a3..a0b1eed 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
@@ -128,7 +128,7 @@ namespace Foundation { | |
[Export ("dataWithPropertyList:format:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData DataWithPropertyList (NSObject plist, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
+ public unsafe static NSData DataWithPropertyList (NSObject plist, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
{ | |
var plist__handle__ = plist!.GetNonNullHandle (nameof (plist)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -148,7 +148,7 @@ namespace Foundation { | |
} | |
[Export ("propertyListWithData:options:format:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject PropertyListWithData (NSData data, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
+ public unsafe static NSObject PropertyListWithData (NSData data, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace Foundation { | |
} | |
[Export ("propertyListWithStream:options:format:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject PropertyListWithStream (NSInputStream stream, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
+ public unsafe static NSObject PropertyListWithStream (NSInputStream stream, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
{ | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -170,7 +170,7 @@ namespace Foundation { | |
} | |
[Export ("writePropertyList:toStream:format:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nint WritePropertyList (NSObject plist, NSOutputStream stream, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
+ public unsafe static nint WritePropertyList (NSObject plist, NSOutputStream stream, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
{ | |
var plist__handle__ = plist!.GetNonNullHandle (nameof (plist)); | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSRegularExpression.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSRegularExpression.g.cs | |
index 5feb98e..429a4de 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSRegularExpression.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSRegularExpression.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithPattern:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSRegularExpression (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
+ public unsafe NSRegularExpression (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
@@ -192,7 +192,7 @@ namespace Foundation { | |
} | |
[Export ("regularExpressionWithPattern:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSRegularExpression Create (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
+ public unsafe static NSRegularExpression Create (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSStream.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSStream.g.cs | |
index acaddf3..e4eabfd 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSStream.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSStream.g.cs | |
@@ -155,7 +155,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void GetBoundStreams (nuint bufferSize, out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe static void GetBoundStreams (nuint bufferSize, out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
NativeHandle inputStreamValue = IntPtr.Zero; | |
NativeHandle outputStreamValue = IntPtr.Zero; | |
@@ -175,7 +175,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void GetStreamsToHost (string hostname, nint port, out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe static void GetStreamsToHost (string hostname, nint port, out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
if (hostname is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (hostname)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSString.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSString.g.cs | |
index 0116f33..183f685 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSString.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSString.g.cs | |
@@ -355,7 +355,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nuint DetectStringEncoding (NSData rawData, NSDictionary options, out string convertedString, out bool usedLossyConversion) | |
+ public unsafe static nuint DetectStringEncoding (NSData rawData, NSDictionary options, out string convertedString, out bool usedLossyConversion) | |
{ | |
var rawData__handle__ = rawData!.GetNonNullHandle (nameof (rawData)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -371,7 +371,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nuint DetectStringEncoding (NSData rawData, EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion) | |
+ public unsafe static nuint DetectStringEncoding (NSData rawData, EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion) | |
{ | |
return DetectStringEncoding(rawData,options.GetDictionary ()!, out convertedString, out usedLossyConversion); | |
} | |
@@ -418,7 +418,7 @@ namespace Foundation { | |
} | |
[Export ("getLineStart:end:contentsEnd:forRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetLineStart (out nuint startPtr, out nuint lineEndPtr, out nuint contentsEndPtr, NSRange range) | |
+ public unsafe virtual void GetLineStart (out nuint startPtr, out nuint lineEndPtr, out nuint contentsEndPtr, NSRange range) | |
{ | |
startPtr = default (nuint);lineEndPtr = default (nuint);contentsEndPtr = default (nuint); | |
if (IsDirectBinding) { | |
@@ -449,7 +449,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSString? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static NSString? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
@@ -464,7 +464,7 @@ namespace Foundation { | |
} | |
[Export ("getParagraphStart:end:contentsEnd:forRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetParagraphPositions (out nuint paragraphStartPosition, out nuint paragraphEndPosition, out nuint contentsEndPosition, NSRange range) | |
+ public unsafe virtual void GetParagraphPositions (out nuint paragraphStartPosition, out nuint paragraphEndPosition, out nuint contentsEndPosition, NSRange range) | |
{ | |
paragraphStartPosition = default (nuint);paragraphEndPosition = default (nuint);contentsEndPosition = default (nuint); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrl.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrl.g.cs | |
index 3cec8e5..83fa63e 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrl.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrl.g.cs | |
@@ -244,7 +244,7 @@ namespace Foundation { | |
} | |
[Export ("initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSUrl (NSData bookmarkData, NSUrlBookmarkResolutionOptions resolutionOptions, NSUrl? relativeUrl, out bool bookmarkIsStale, out NSError error) | |
+ public unsafe NSUrl (NSData bookmarkData, NSUrlBookmarkResolutionOptions resolutionOptions, NSUrl? relativeUrl, out bool bookmarkIsStale, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var bookmarkData__handle__ = bookmarkData!.GetNonNullHandle (nameof (bookmarkData)); | |
@@ -341,7 +341,7 @@ namespace Foundation { | |
} | |
[Export ("bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData CreateBookmarkData (NSUrlBookmarkCreationOptions options, string[]? resourceValues, NSUrl? relativeUrl, out NSError error) | |
+ public unsafe virtual NSData CreateBookmarkData (NSUrlBookmarkCreationOptions options, string[]? resourceValues, NSUrl? relativeUrl, out NSError error) | |
{ | |
var relativeUrl__handle__ = relativeUrl.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -448,7 +448,7 @@ namespace Foundation { | |
} | |
[Export ("URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl FromBookmarkData (NSData data, NSUrlBookmarkResolutionOptions options, NSUrl? relativeToUrl, out bool isStale, out NSError error) | |
+ public unsafe static NSUrl FromBookmarkData (NSData data, NSUrlBookmarkResolutionOptions options, NSUrl? relativeToUrl, out bool isStale, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var relativeToUrl__handle__ = relativeToUrl.GetHandle (); | |
@@ -502,7 +502,7 @@ namespace Foundation { | |
} | |
[Export ("bookmarkDataWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData GetBookmarkData (NSUrl bookmarkFileUrl, out NSError error) | |
+ public unsafe static NSData GetBookmarkData (NSUrl bookmarkFileUrl, out NSError error) | |
{ | |
var bookmarkFileUrl__handle__ = bookmarkFileUrl!.GetNonNullHandle (nameof (bookmarkFileUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -553,7 +553,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static NSUrl? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
@@ -568,7 +568,7 @@ namespace Foundation { | |
} | |
[Export ("getResourceValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool GetResourceValue (out NSObject value, NSString key, out NSError error) | |
+ internal unsafe virtual bool GetResourceValue (out NSObject value, NSString key, out NSError error) | |
{ | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
NativeHandle valueValue = IntPtr.Zero; | |
@@ -585,7 +585,7 @@ namespace Foundation { | |
} | |
[Export ("resourceValuesForKeys:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary GetResourceValues (NSString[] keys, out NSError error) | |
+ public unsafe virtual NSDictionary GetResourceValues (NSString[] keys, out NSError error) | |
{ | |
if (keys is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (keys)); | |
@@ -725,7 +725,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl ResolveAlias (NSUrl aliasFileUrl, NSUrlBookmarkResolutionOptions options, out NSError error) | |
+ public unsafe static NSUrl ResolveAlias (NSUrl aliasFileUrl, NSUrlBookmarkResolutionOptions options, out NSError error) | |
{ | |
var aliasFileUrl__handle__ = aliasFileUrl!.GetNonNullHandle (nameof (aliasFileUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -736,7 +736,7 @@ namespace Foundation { | |
} | |
[Export ("setResourceValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool SetResourceValue (NSObject value, NSString key, out NSError error) | |
+ internal unsafe virtual bool SetResourceValue (NSObject value, NSString key, out NSError error) | |
{ | |
var value__handle__ = value!.GetNonNullHandle (nameof (value)); | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
@@ -798,7 +798,7 @@ namespace Foundation { | |
} | |
[Export ("writeBookmarkData:toURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteBookmarkData (NSData data, NSUrl bookmarkFileUrl, NSUrlBookmarkCreationOptions options, out NSError error) | |
+ public unsafe static bool WriteBookmarkData (NSData data, NSUrl bookmarkFileUrl, NSUrlBookmarkCreationOptions options, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var bookmarkFileUrl__handle__ = bookmarkFileUrl!.GetNonNullHandle (nameof (bookmarkFileUrl)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs | |
index a8e908b..c86062c 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrlConnection.g.cs | |
@@ -327,7 +327,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? SendSynchronousRequest (NSUrlRequest request, out NSUrlResponse response, out NSError error) | |
+ public unsafe static NSData? SendSynchronousRequest (NSUrlRequest request, out NSUrlResponse response, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle responseValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUrl_PromisedItems.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
index 23187e4..66ec556 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
@@ -58,7 +58,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool CheckPromisedItemIsReachable (this NSUrl This, out NSError error) | |
+ public unsafe static bool CheckPromisedItemIsReachable (this NSUrl This, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -72,7 +72,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool GetPromisedItemResourceValue (this NSUrl This, out NSObject value, NSString key, out NSError error) | |
+ public unsafe static bool GetPromisedItemResourceValue (this NSUrl This, out NSObject value, NSString key, out NSError error) | |
{ | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
NativeHandle valueValue = IntPtr.Zero; | |
@@ -89,7 +89,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetPromisedItemResourceValues (this NSUrl This, NSString[] keys, out NSError error) | |
+ public unsafe static NSDictionary? GetPromisedItemResourceValues (this NSUrl This, NSString[] keys, out NSError error) | |
{ | |
if (keys is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (keys)); | |
diff --git a/old/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs b/new/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs | |
index 9751199..54616f4 100644 | |
--- a/old/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Foundation/NSUserActivity.g.cs | |
@@ -285,7 +285,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/GLKit/GLKMesh.g.cs b/new/dotnet/ios/generated-sources/GLKit/GLKMesh.g.cs | |
index b16b288..13787d9 100644 | |
--- a/old/dotnet/ios/generated-sources/GLKit/GLKMesh.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GLKit/GLKMesh.g.cs | |
@@ -134,7 +134,7 @@ namespace GLKit { | |
[Export ("initWithMesh:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public GLKMesh (global::ModelIO.MDLMesh mesh, out NSError error) | |
+ public unsafe GLKMesh (global::ModelIO.MDLMesh mesh, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var mesh__handle__ = mesh!.GetNonNullHandle (nameof (mesh)); | |
@@ -148,7 +148,7 @@ namespace GLKit { | |
} | |
[Export ("newMeshesFromAsset:sourceMeshes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static GLKMesh[]? FromAsset (global::ModelIO.MDLAsset asset, out NSArray sourceMeshes, out NSError error) | |
+ internal unsafe static GLKMesh[]? FromAsset (global::ModelIO.MDLAsset asset, out NSArray sourceMeshes, out NSError error) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
NativeHandle sourceMeshesValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/GLKit/GLKTextureLoader.g.cs b/new/dotnet/ios/generated-sources/GLKit/GLKTextureLoader.g.cs | |
index 467ed6e..16bc0ab 100644 | |
--- a/old/dotnet/ios/generated-sources/GLKit/GLKTextureLoader.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GLKit/GLKTextureLoader.g.cs | |
@@ -407,7 +407,7 @@ namespace GLKit { | |
} | |
[Export ("cubeMapWithContentsOfFile:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? CubeMapFromFile (string path, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? CubeMapFromFile (string path, NSDictionary? textureOperations, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -422,7 +422,7 @@ namespace GLKit { | |
} | |
[Export ("cubeMapWithContentsOfFiles:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static GLKTextureInfo? CubeMapFromFiles (NSArray paths, NSDictionary? textureOperations, out NSError error) | |
+ internal unsafe static GLKTextureInfo? CubeMapFromFiles (NSArray paths, NSDictionary? textureOperations, out NSError error) | |
{ | |
var paths__handle__ = paths!.GetNonNullHandle (nameof (paths)); | |
var textureOperations__handle__ = textureOperations.GetHandle (); | |
@@ -434,7 +434,7 @@ namespace GLKit { | |
} | |
[Export ("cubeMapWithContentsOfURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? CubeMapFromUrl (NSUrl url, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? CubeMapFromUrl (NSUrl url, NSDictionary? textureOperations, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var textureOperations__handle__ = textureOperations.GetHandle (); | |
@@ -446,7 +446,7 @@ namespace GLKit { | |
} | |
[Export ("textureWithContentsOfData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? FromData (NSData data, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? FromData (NSData data, NSDictionary? textureOperations, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var textureOperations__handle__ = textureOperations.GetHandle (); | |
@@ -458,7 +458,7 @@ namespace GLKit { | |
} | |
[Export ("textureWithContentsOfFile:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? FromFile (string path, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? FromFile (string path, NSDictionary? textureOperations, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -473,7 +473,7 @@ namespace GLKit { | |
} | |
[Export ("textureWithCGImage:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? FromImage (CGImage cgImage, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? FromImage (CGImage cgImage, NSDictionary? textureOperations, out NSError error) | |
{ | |
var cgImage__handle__ = cgImage!.GetNonNullHandle (nameof (cgImage)); | |
var textureOperations__handle__ = textureOperations.GetHandle (); | |
@@ -485,7 +485,7 @@ namespace GLKit { | |
} | |
[Export ("textureWithName:scaleFactor:bundle:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? FromName (string name, nfloat scaleFactor, NSBundle? bundle, NSDictionary<NSString, NSNumber>? options, out NSError outError) | |
+ public unsafe static GLKTextureInfo? FromName (string name, nfloat scaleFactor, NSBundle? bundle, NSDictionary<NSString, NSNumber>? options, out NSError outError) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -501,7 +501,7 @@ namespace GLKit { | |
} | |
[Export ("textureWithContentsOfURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static GLKTextureInfo? FromUrl (NSUrl url, NSDictionary? textureOperations, out NSError error) | |
+ public unsafe static GLKTextureInfo? FromUrl (NSUrl url, NSDictionary? textureOperations, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var textureOperations__handle__ = textureOperations.GetHandle (); | |
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs | |
index 864c945..f9bf483 100644 | |
--- a/old/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GameKit/GKLocalPlayer.g.cs | |
@@ -728,7 +728,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("ios15.0")] | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PresentFriendRequestCreator (global::UIKit.UIViewController viewController, out NSError? error) | |
+ public unsafe virtual bool PresentFriendRequestCreator (global::UIKit.UIViewController viewController, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKMatch.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKMatch.g.cs | |
index 5597e52..95c91fd 100644 | |
--- a/old/dotnet/ios/generated-sources/GameKit/GKMatch.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GameKit/GKMatch.g.cs | |
@@ -255,7 +255,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, string[] players, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, string[] players, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -279,7 +279,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, GKPlayer[] players, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, GKPlayer[] players, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -299,7 +299,7 @@ namespace GameKit { | |
} | |
[Export ("sendDataToAllPlayers:withDataMode:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendDataToAllPlayers (NSData data, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendDataToAllPlayers (NSData data, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKSession.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKSession.g.cs | |
index bd97013..69434aa 100644 | |
--- a/old/dotnet/ios/generated-sources/GameKit/GKSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GameKit/GKSession.g.cs | |
@@ -172,7 +172,7 @@ namespace GameKit { | |
} | |
[Export ("acceptConnectionFromPeer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AcceptConnection (string peerID, out NSError error) | |
+ public unsafe virtual bool AcceptConnection (string peerID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (peerID is null) | |
@@ -304,7 +304,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, string[] peers, GKSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, string[] peers, GKSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -331,7 +331,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendDataToAllPeers (NSData data, GKSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendDataToAllPeers (NSData data, GKSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/GameKit/GKVoiceChatService.g.cs b/new/dotnet/ios/generated-sources/GameKit/GKVoiceChatService.g.cs | |
index 529d570..c9df07c 100644 | |
--- a/old/dotnet/ios/generated-sources/GameKit/GKVoiceChatService.g.cs | |
+++ b/new/dotnet/ios/generated-sources/GameKit/GKVoiceChatService.g.cs | |
@@ -148,7 +148,7 @@ namespace GameKit { | |
[Export ("acceptCallID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AcceptCall (nint callID, out NSError error) | |
+ public unsafe virtual bool AcceptCall (nint callID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -206,7 +206,7 @@ namespace GameKit { | |
} | |
[Export ("startVoiceChatWithParticipantID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartVoiceChat (string participantID, out NSError error) | |
+ public unsafe virtual bool StartVoiceChat (string participantID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (participantID is null) | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
index 6bce045..150d4c2 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
@@ -137,7 +137,7 @@ namespace HealthKit { | |
[Export ("sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKAudiogramSensitivityPoint? GetSensitivityPoint (HKQuantity frequency, HKQuantity? leftEarSensitivity, HKQuantity? rightEarSensitivity, out NSError? error) | |
+ public unsafe static HKAudiogramSensitivityPoint? GetSensitivityPoint (HKQuantity frequency, HKQuantity? leftEarSensitivity, HKQuantity? rightEarSensitivity, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
index d73451d..cf4f7d2 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
@@ -154,7 +154,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, NSDictionary? metadata, out NSError validationError) | |
+ public unsafe static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, NSDictionary? metadata, out NSError validationError) | |
{ | |
var documentData__handle__ = documentData!.GetNonNullHandle (nameof (documentData)); | |
var startDate__handle__ = startDate!.GetNonNullHandle (nameof (startDate)); | |
@@ -167,7 +167,7 @@ namespace HealthKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError) | |
+ public unsafe static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError) | |
{ | |
return Create (documentData, startDate, endDate, metadata.GetDictionary (), out validationError); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs | |
index 4e05771..3fdda2b 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs | |
@@ -196,7 +196,7 @@ namespace HealthKit { | |
} | |
[Export ("versionFromVersionString:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKFhirVersion? GetVersion (string versionString, out NSError? errorOut) | |
+ public unsafe static HKFhirVersion? GetVersion (string versionString, out NSError? errorOut) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs | |
index 76b80aa..8120713 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs | |
@@ -348,7 +348,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKActivityMoveModeObject? GetActivityMoveMode (out NSError? error) | |
+ public unsafe virtual HKActivityMoveModeObject? GetActivityMoveMode (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -379,7 +379,7 @@ namespace HealthKit { | |
} | |
[Export ("biologicalSexWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKBiologicalSexObject? GetBiologicalSex (out NSError error) | |
+ public unsafe virtual HKBiologicalSexObject? GetBiologicalSex (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKBiologicalSexObject? ret; | |
@@ -393,7 +393,7 @@ namespace HealthKit { | |
} | |
[Export ("bloodTypeWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKBloodTypeObject? GetBloodType (out NSError error) | |
+ public unsafe virtual HKBloodTypeObject? GetBloodType (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKBloodTypeObject? ret; | |
@@ -412,7 +412,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("macos13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDate? GetDateOfBirth (out NSError error) | |
+ public unsafe virtual NSDate? GetDateOfBirth (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDate? ret; | |
@@ -429,7 +429,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDateComponents? GetDateOfBirthComponents (out NSError error) | |
+ public unsafe virtual NSDateComponents? GetDateOfBirthComponents (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDateComponents? ret; | |
@@ -446,7 +446,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKFitzpatrickSkinTypeObject? GetFitzpatrickSkinType (out NSError error) | |
+ public unsafe virtual HKFitzpatrickSkinTypeObject? GetFitzpatrickSkinType (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKFitzpatrickSkinTypeObject? ret; | |
@@ -534,7 +534,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKWheelchairUseObject? GetWheelchairUse (out NSError error) | |
+ public unsafe virtual HKWheelchairUseObject? GetWheelchairUse (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKWheelchairUseObject? ret; | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
index c1d9d5c..0f65e1c 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
@@ -287,7 +287,7 @@ namespace HealthKit { | |
} | |
[Export ("insertQuantity:date:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (HKQuantity quantity, NSDate date, out NSError? error) | |
+ public unsafe virtual bool Insert (HKQuantity quantity, NSDate date, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -310,7 +310,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (HKQuantity quantity, NSDateInterval dateInterval, out NSError? error) | |
+ public unsafe virtual bool Insert (HKQuantity quantity, NSDateInterval dateInterval, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/LocalAuthentication/LAContext.g.cs b/new/dotnet/ios/generated-sources/LocalAuthentication/LAContext.g.cs | |
index 13363d6..a2a8812 100644 | |
--- a/old/dotnet/ios/generated-sources/LocalAuthentication/LAContext.g.cs | |
+++ b/new/dotnet/ios/generated-sources/LocalAuthentication/LAContext.g.cs | |
@@ -145,7 +145,7 @@ namespace LocalAuthentication { | |
[Export ("canEvaluatePolicy:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CanEvaluatePolicy (LAPolicy policy, out NSError error) | |
+ public unsafe virtual bool CanEvaluatePolicy (LAPolicy policy, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/MapKit/MKGeoJsonDecoder.g.cs b/new/dotnet/ios/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
index 03706b2..8909dd7 100644 | |
--- a/old/dotnet/ios/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
@@ -156,7 +156,7 @@ namespace MapKit { | |
[Export ("geoJSONObjectsWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMKGeoJsonObject[]? GeoJsonObjects (NSData data, out NSError? error) | |
+ public unsafe virtual IMKGeoJsonObject[]? GeoJsonObjects (NSData data, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MapKit/MKMapItem.g.cs b/new/dotnet/ios/generated-sources/MapKit/MKMapItem.g.cs | |
index 24dcbaf..3263835 100644 | |
--- a/old/dotnet/ios/generated-sources/MapKit/MKMapItem.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MapKit/MKMapItem.g.cs | |
@@ -221,7 +221,7 @@ namespace MapKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/MediaSetup/MSSetupSession.g.cs b/new/dotnet/ios/generated-sources/MediaSetup/MSSetupSession.g.cs | |
index 8b00c37..296a801 100644 | |
--- a/old/dotnet/ios/generated-sources/MediaSetup/MSSetupSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MediaSetup/MSSetupSession.g.cs | |
@@ -153,7 +153,7 @@ namespace MediaSetup { | |
} | |
[Export ("startWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError? error) | |
+ public unsafe virtual bool Start (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Messages/MSSticker.g.cs b/new/dotnet/ios/generated-sources/Messages/MSSticker.g.cs | |
index fff73be..e4bc1fd 100644 | |
--- a/old/dotnet/ios/generated-sources/Messages/MSSticker.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Messages/MSSticker.g.cs | |
@@ -131,7 +131,7 @@ namespace Messages { | |
[Export ("initWithContentsOfFileURL:localizedDescription:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MSSticker (NSUrl fileUrl, string localizedDescription, out NSError? error) | |
+ public unsafe MSSticker (NSUrl fileUrl, string localizedDescription, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLBinaryArchive.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLBinaryArchive.g.cs | |
index a96d27d..453cfec 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLBinaryArchive.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLBinaryArchive.g.cs | |
@@ -66,11 +66,11 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addComputePipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addRenderPipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("tvos14.5")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
@@ -78,11 +78,11 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addTileRenderPipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("serializeToURL:error:")] | |
[Preserve (Conditional = true)] | |
- bool Serialize (NSUrl url, out NSError? error); | |
+ unsafe bool Serialize (NSUrl url, out NSError? error); | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
@@ -90,7 +90,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addFunctionWithDescriptor:library:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error); | |
+ unsafe bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error); | |
[Preserve (Conditional = true)] | |
string? Label { | |
[Export ("label")] | |
@@ -112,7 +112,7 @@ namespace Metal { | |
} | |
[Export ("addComputePipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -127,7 +127,7 @@ namespace Metal { | |
} | |
[Export ("addRenderPipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -142,7 +142,7 @@ namespace Metal { | |
} | |
[Export ("addTileRenderPipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -157,7 +157,7 @@ namespace Metal { | |
} | |
[Export ("serializeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Serialize (NSUrl url, out NSError? error) | |
+ public unsafe bool Serialize (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -172,7 +172,7 @@ namespace Metal { | |
} | |
[Export ("addFunctionWithDescriptor:library:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error) | |
+ public unsafe bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLCaptureManager.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLCaptureManager.g.cs | |
index 3aa7296..ffac443 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLCaptureManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLCaptureManager.g.cs | |
@@ -225,7 +225,7 @@ namespace Metal { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartCapture (MTLCaptureDescriptor descriptor, out NSError? error) | |
+ public unsafe virtual bool StartCapture (MTLCaptureDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLComputePipelineState.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLComputePipelineState.g.cs | |
index 6bf6a8d..d4bf546 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLComputePipelineState.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLComputePipelineState.g.cs | |
@@ -92,7 +92,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithAdditionalBinaryFunctions:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLComputePipelineState CreateComputePipelineState (IMTLFunction[] functions, out NSError? error); | |
+ unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction[] functions, out NSError? error); | |
[return: ReleaseAttribute ()] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
@@ -201,7 +201,7 @@ namespace Metal { | |
[Export ("newComputePipelineStateWithAdditionalBinaryFunctions:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLComputePipelineState CreateComputePipelineState (IMTLFunction[] functions, out NSError? error) | |
+ public unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction[] functions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs | |
index e51a8c2..8173616 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs | |
@@ -256,17 +256,17 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithFile:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary CreateLibrary (string filepath, out NSError error); | |
+ unsafe IMTLLibrary CreateLibrary (string filepath, out NSError error); | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithData:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary CreateLibrary (global::CoreFoundation.DispatchData data, out NSError error); | |
+ unsafe IMTLLibrary CreateLibrary (global::CoreFoundation.DispatchData data, out NSError error); | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithSource:options:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary CreateLibrary (string source, MTLCompileOptions options, out NSError error); | |
+ unsafe IMTLLibrary CreateLibrary (string source, MTLCompileOptions options, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithSource:options:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -279,12 +279,12 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newDefaultLibraryWithBundle:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary? CreateDefaultLibrary (NSBundle bundle, out NSError error); | |
+ unsafe IMTLLibrary? CreateDefaultLibrary (NSBundle bundle, out NSError error); | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, out NSError error); | |
+ unsafe IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithDescriptor:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -293,7 +293,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithDescriptor:options:reflection:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out NSError error); | |
+ unsafe IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithDescriptor:options:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -302,7 +302,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithFunction:options:reflection:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error); | |
+ unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithFunction:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -311,7 +311,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithFunction:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, out NSError error); | |
+ unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithFunction:options:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -324,7 +324,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newComputePipelineStateWithDescriptor:options:reflection:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLComputePipelineState CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error); | |
+ unsafe IMTLComputePipelineState CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error); | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
@@ -362,7 +362,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithURL:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary? CreateLibrary (NSUrl url, out NSError? error); | |
+ unsafe IMTLLibrary? CreateLibrary (NSUrl url, out NSError? error); | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
@@ -440,7 +440,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithTileDescriptor:options:reflection:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLRenderPipelineState? CreateRenderPipelineState (MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error); | |
+ unsafe IMTLRenderPipelineState? CreateRenderPipelineState (MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error); | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("tvos14.5")] | |
@@ -498,7 +498,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newCounterSampleBufferWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLCounterSampleBuffer? CreateCounterSampleBuffer (MTLCounterSampleBufferDescriptor descriptor, out NSError? error); | |
+ unsafe IMTLCounterSampleBuffer? CreateCounterSampleBuffer (MTLCounterSampleBufferDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("tvos14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
@@ -523,7 +523,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newDynamicLibrary:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLDynamicLibrary? CreateDynamicLibrary (IMTLLibrary library, out NSError? error); | |
+ unsafe IMTLDynamicLibrary? CreateDynamicLibrary (IMTLLibrary library, out NSError? error); | |
[return: ReleaseAttribute ()] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
@@ -532,7 +532,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newDynamicLibraryWithURL:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLDynamicLibrary? CreateDynamicLibrary (NSUrl url, out NSError? error); | |
+ unsafe IMTLDynamicLibrary? CreateDynamicLibrary (NSUrl url, out NSError? error); | |
[return: ReleaseAttribute ()] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
@@ -541,7 +541,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newBinaryArchiveWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLBinaryArchive? CreateBinaryArchive (MTLBinaryArchiveDescriptor descriptor, out NSError? error); | |
+ unsafe IMTLBinaryArchive? CreateBinaryArchive (MTLBinaryArchiveDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[UnsupportedOSPlatform ("tvos")] | |
@@ -576,7 +576,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newLibraryWithStitchedDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLLibrary? CreateLibrary (MTLStitchedLibraryDescriptor descriptor, out NSError? error); | |
+ unsafe IMTLLibrary? CreateLibrary (MTLStitchedLibraryDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
@@ -940,7 +940,7 @@ namespace Metal { | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[SupportedOSPlatform ("tvos16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static IMTLRenderPipelineState? CreateRenderPipelineState (this IMTLDevice This, MTLMeshRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error) | |
+ public unsafe static IMTLRenderPipelineState? CreateRenderPipelineState (this IMTLDevice This, MTLMeshRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -1248,7 +1248,7 @@ namespace Metal { | |
[Export ("newLibraryWithFile:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary CreateLibrary (string filepath, out NSError error) | |
+ public unsafe IMTLLibrary CreateLibrary (string filepath, out NSError error) | |
{ | |
if (filepath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (filepath)); | |
@@ -1265,7 +1265,7 @@ namespace Metal { | |
[Export ("newLibraryWithData:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary CreateLibrary (global::CoreFoundation.DispatchData data, out NSError error) | |
+ public unsafe IMTLLibrary CreateLibrary (global::CoreFoundation.DispatchData data, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -1279,7 +1279,7 @@ namespace Metal { | |
[Export ("newLibraryWithSource:options:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary CreateLibrary (string source, MTLCompileOptions options, out NSError error) | |
+ public unsafe IMTLLibrary CreateLibrary (string source, MTLCompileOptions options, out NSError error) | |
{ | |
if (source is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (source)); | |
@@ -1312,7 +1312,7 @@ namespace Metal { | |
[Export ("newDefaultLibraryWithBundle:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary? CreateDefaultLibrary (NSBundle bundle, out NSError error) | |
+ public unsafe IMTLLibrary? CreateDefaultLibrary (NSBundle bundle, out NSError error) | |
{ | |
var bundle__handle__ = bundle!.GetNonNullHandle (nameof (bundle)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -1326,7 +1326,7 @@ namespace Metal { | |
[Export ("newRenderPipelineStateWithDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, out NSError error) | |
+ public unsafe IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, out NSError error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -1351,7 +1351,7 @@ namespace Metal { | |
[Export ("newRenderPipelineStateWithDescriptor:options:reflection:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out NSError error) | |
+ public unsafe IMTLRenderPipelineState CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out NSError error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle reflectionValue = IntPtr.Zero; | |
@@ -1378,7 +1378,7 @@ namespace Metal { | |
[Export ("newComputePipelineStateWithFunction:options:reflection:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error) | |
+ public unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error) | |
{ | |
var computeFunction__handle__ = computeFunction!.GetNonNullHandle (nameof (computeFunction)); | |
NativeHandle reflectionValue = IntPtr.Zero; | |
@@ -1405,7 +1405,7 @@ namespace Metal { | |
[Export ("newComputePipelineStateWithFunction:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, out NSError error) | |
+ public unsafe IMTLComputePipelineState CreateComputePipelineState (IMTLFunction computeFunction, out NSError error) | |
{ | |
var computeFunction__handle__ = computeFunction!.GetNonNullHandle (nameof (computeFunction)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -1430,7 +1430,7 @@ namespace Metal { | |
[Export ("newComputePipelineStateWithDescriptor:options:reflection:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLComputePipelineState CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error) | |
+ public unsafe IMTLComputePipelineState CreateComputePipelineState (MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, out MTLComputePipelineReflection reflection, out NSError error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle reflectionValue = IntPtr.Zero; | |
@@ -1484,7 +1484,7 @@ namespace Metal { | |
[Export ("newLibraryWithURL:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary? CreateLibrary (NSUrl url, out NSError? error) | |
+ public unsafe IMTLLibrary? CreateLibrary (NSUrl url, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -1597,7 +1597,7 @@ namespace Metal { | |
[Export ("newRenderPipelineStateWithTileDescriptor:options:reflection:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLRenderPipelineState? CreateRenderPipelineState (MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error) | |
+ public unsafe IMTLRenderPipelineState? CreateRenderPipelineState (MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection? reflection, out NSError? error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle reflectionValue = IntPtr.Zero; | |
@@ -1696,7 +1696,7 @@ namespace Metal { | |
[Export ("newCounterSampleBufferWithDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLCounterSampleBuffer? CreateCounterSampleBuffer (MTLCounterSampleBufferDescriptor descriptor, out NSError? error) | |
+ public unsafe IMTLCounterSampleBuffer? CreateCounterSampleBuffer (MTLCounterSampleBufferDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -1736,7 +1736,7 @@ namespace Metal { | |
[Export ("newDynamicLibrary:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLDynamicLibrary? CreateDynamicLibrary (IMTLLibrary library, out NSError? error) | |
+ public unsafe IMTLDynamicLibrary? CreateDynamicLibrary (IMTLLibrary library, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -1754,7 +1754,7 @@ namespace Metal { | |
[Export ("newDynamicLibraryWithURL:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLDynamicLibrary? CreateDynamicLibrary (NSUrl url, out NSError? error) | |
+ public unsafe IMTLDynamicLibrary? CreateDynamicLibrary (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -1772,7 +1772,7 @@ namespace Metal { | |
[Export ("newBinaryArchiveWithDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLBinaryArchive? CreateBinaryArchive (MTLBinaryArchiveDescriptor descriptor, out NSError? error) | |
+ public unsafe IMTLBinaryArchive? CreateBinaryArchive (MTLBinaryArchiveDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -1842,7 +1842,7 @@ namespace Metal { | |
[Export ("newLibraryWithStitchedDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLLibrary? CreateLibrary (MTLStitchedLibraryDescriptor descriptor, out NSError? error) | |
+ public unsafe IMTLLibrary? CreateLibrary (MTLStitchedLibraryDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLDynamicLibrary.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLDynamicLibrary.g.cs | |
index f26f3fc..a8514bd 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLDynamicLibrary.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLDynamicLibrary.g.cs | |
@@ -63,7 +63,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("serializeToURL:error:")] | |
[Preserve (Conditional = true)] | |
- bool Serialize (NSUrl url, out NSError? error); | |
+ unsafe bool Serialize (NSUrl url, out NSError? error); | |
[Preserve (Conditional = true)] | |
string? Label { | |
[Export ("label")] | |
@@ -90,7 +90,7 @@ namespace Metal { | |
} | |
[Export ("serializeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Serialize (NSUrl url, out NSError? error) | |
+ public unsafe bool Serialize (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLFunction.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLFunction.g.cs | |
index bf97225..194271d 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLFunction.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLFunction.g.cs | |
@@ -85,7 +85,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newArgumentEncoderWithBufferIndex:reflection:")] | |
[Preserve (Conditional = true)] | |
- IMTLArgumentEncoder CreateArgumentEncoder (nuint bufferIndex, out MTLArgument? reflection); | |
+ unsafe IMTLArgumentEncoder CreateArgumentEncoder (nuint bufferIndex, out MTLArgument? reflection); | |
[Preserve (Conditional = true)] | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
@@ -183,7 +183,7 @@ namespace Metal { | |
[Export ("newArgumentEncoderWithBufferIndex:reflection:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLArgumentEncoder CreateArgumentEncoder (nuint bufferIndex, out MTLArgument? reflection) | |
+ public unsafe IMTLArgumentEncoder CreateArgumentEncoder (nuint bufferIndex, out MTLArgument? reflection) | |
{ | |
NativeHandle reflectionValue = IntPtr.Zero; | |
IMTLArgumentEncoder? ret; | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs | |
index d7206cf..cd71f34 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs | |
@@ -81,7 +81,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newFunctionWithName:constantValues:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLFunction? CreateFunction (string name, MTLFunctionConstantValues constantValues, out NSError error); | |
+ unsafe IMTLFunction? CreateFunction (string name, MTLFunctionConstantValues constantValues, out NSError error); | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
@@ -106,7 +106,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newFunctionWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLFunction? CreateFunction (MTLFunctionDescriptor descriptor, out NSError? error); | |
+ unsafe IMTLFunction? CreateFunction (MTLFunctionDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[UnsupportedOSPlatform ("tvos")] | |
@@ -123,7 +123,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newIntersectionFunctionWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLFunction? CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, out NSError? error); | |
+ unsafe IMTLFunction? CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, out NSError? error); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -206,7 +206,7 @@ namespace Metal { | |
[Export ("newFunctionWithName:constantValues:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLFunction? CreateFunction (string name, MTLFunctionConstantValues constantValues, out NSError error) | |
+ public unsafe IMTLFunction? CreateFunction (string name, MTLFunctionConstantValues constantValues, out NSError error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -254,7 +254,7 @@ namespace Metal { | |
[Export ("newFunctionWithDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLFunction? CreateFunction (MTLFunctionDescriptor descriptor, out NSError? error) | |
+ public unsafe IMTLFunction? CreateFunction (MTLFunctionDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -287,7 +287,7 @@ namespace Metal { | |
[Export ("newIntersectionFunctionWithDescriptor:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLFunction? CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, out NSError? error) | |
+ public unsafe IMTLFunction? CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLRasterizationRateMapDescriptor.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLRasterizationRateMapDescriptor.g.cs | |
index d5b830f..d4a611c 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLRasterizationRateMapDescriptor.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLRasterizationRateMapDescriptor.g.cs | |
@@ -196,7 +196,7 @@ namespace Metal { | |
} | |
[Export ("rasterizationRateMapDescriptorWithScreenSize:layerCount:layers:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MTLRasterizationRateMapDescriptor Create (MTLSize screenSize, nuint layerCount, out MTLRasterizationRateLayerDescriptor layers) | |
+ public unsafe static MTLRasterizationRateMapDescriptor Create (MTLSize screenSize, nuint layerCount, out MTLRasterizationRateLayerDescriptor layers) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLRenderPipelineState.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLRenderPipelineState.g.cs | |
index d47dc63..82e897d 100644 | |
--- a/old/dotnet/ios/generated-sources/Metal/MTLRenderPipelineState.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Metal/MTLRenderPipelineState.g.cs | |
@@ -115,7 +115,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("newRenderPipelineStateWithAdditionalBinaryFunctions:error:")] | |
[Preserve (Conditional = true)] | |
- IMTLRenderPipelineState? NewRenderPipelineStateWithAdditionalBinaryFunctions (MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, out NSError? error); | |
+ unsafe IMTLRenderPipelineState? NewRenderPipelineStateWithAdditionalBinaryFunctions (MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, out NSError? error); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -269,7 +269,7 @@ namespace Metal { | |
[Export ("newRenderPipelineStateWithAdditionalBinaryFunctions:error:")] | |
[return: ReleaseAttribute ()] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMTLRenderPipelineState? NewRenderPipelineStateWithAdditionalBinaryFunctions (MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, out NSError? error) | |
+ public unsafe IMTLRenderPipelineState? NewRenderPipelineStateWithAdditionalBinaryFunctions (MTLRenderPipelineFunctionsDescriptor additionalBinaryFunctions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MetalKit/MTKMesh.g.cs b/new/dotnet/ios/generated-sources/MetalKit/MTKMesh.g.cs | |
index 343638c..eb4be36 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalKit/MTKMesh.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalKit/MTKMesh.g.cs | |
@@ -132,7 +132,7 @@ namespace MetalKit { | |
[Export ("initWithMesh:device:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MTKMesh (global::ModelIO.MDLMesh mesh, global::Metal.IMTLDevice device, out NSError error) | |
+ public unsafe MTKMesh (global::ModelIO.MDLMesh mesh, global::Metal.IMTLDevice device, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var mesh__handle__ = mesh!.GetNonNullHandle (nameof (mesh)); | |
@@ -147,7 +147,7 @@ namespace MetalKit { | |
} | |
[Export ("newMeshesFromAsset:device:sourceMeshes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static MTKMesh[]? FromAsset (global::ModelIO.MDLAsset asset, global::Metal.IMTLDevice device, out NSArray sourceMeshes, out NSError error) | |
+ internal unsafe static MTKMesh[]? FromAsset (global::ModelIO.MDLAsset asset, global::Metal.IMTLDevice device, out NSArray sourceMeshes, out NSError error) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
diff --git a/old/dotnet/ios/generated-sources/MetalKit/MTKTextureLoader.g.cs b/new/dotnet/ios/generated-sources/MetalKit/MTKTextureLoader.g.cs | |
index 3783012..2c8b946 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalKit/MTKTextureLoader.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalKit/MTKTextureLoader.g.cs | |
@@ -177,7 +177,7 @@ namespace MetalKit { | |
} | |
[Export ("newTextureWithCGImage:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual global::Metal.IMTLTexture? FromCGImage (CGImage cgImage, NSDictionary? options, out NSError error) | |
+ internal unsafe virtual global::Metal.IMTLTexture? FromCGImage (CGImage cgImage, NSDictionary? options, out NSError error) | |
{ | |
var cgImage__handle__ = cgImage!.GetNonNullHandle (nameof (cgImage)); | |
var options__handle__ = options.GetHandle (); | |
@@ -192,7 +192,7 @@ namespace MetalKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture? FromCGImage (CGImage cgImage, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture? FromCGImage (CGImage cgImage, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromCGImage (cgImage, options.GetDictionary (), out error); | |
} | |
@@ -231,7 +231,7 @@ namespace MetalKit { | |
} | |
[Export ("newTextureWithData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual global::Metal.IMTLTexture? FromData (NSData data, NSDictionary? options, out NSError error) | |
+ internal unsafe virtual global::Metal.IMTLTexture? FromData (NSData data, NSDictionary? options, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var options__handle__ = options.GetHandle (); | |
@@ -246,7 +246,7 @@ namespace MetalKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture? FromData (NSData data, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture? FromData (NSData data, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromData (data, options.GetDictionary (), out error); | |
} | |
@@ -321,7 +321,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::Metal.IMTLTexture? FromName (string name, nfloat scaleFactor, NSBundle? bundle, NSDictionary? options, out NSError error) | |
+ public unsafe virtual global::Metal.IMTLTexture? FromName (string name, nfloat scaleFactor, NSBundle? bundle, NSDictionary? options, out NSError error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -344,7 +344,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture? FromName (string name, nfloat scaleFactor, NSBundle? bundle, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture? FromName (string name, nfloat scaleFactor, NSBundle? bundle, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromName (name, scaleFactor, bundle, options.GetDictionary (), out error); | |
} | |
@@ -480,7 +480,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::Metal.IMTLTexture? FromTexture (global::ModelIO.MDLTexture texture, NSDictionary? options, out NSError error) | |
+ public unsafe virtual global::Metal.IMTLTexture? FromTexture (global::ModelIO.MDLTexture texture, NSDictionary? options, out NSError error) | |
{ | |
var texture__handle__ = texture!.GetNonNullHandle (nameof (texture)); | |
var options__handle__ = options.GetHandle (); | |
@@ -499,7 +499,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture? FromTexture (global::ModelIO.MDLTexture texture, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture? FromTexture (global::ModelIO.MDLTexture texture, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromTexture (texture, options.GetDictionary (), out error); | |
} | |
@@ -538,7 +538,7 @@ namespace MetalKit { | |
} | |
[Export ("newTextureWithContentsOfURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual global::Metal.IMTLTexture? FromUrl (NSUrl url, NSDictionary? options, out NSError error) | |
+ internal unsafe virtual global::Metal.IMTLTexture? FromUrl (NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options.GetHandle (); | |
@@ -553,7 +553,7 @@ namespace MetalKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture? FromUrl (NSUrl url, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture? FromUrl (NSUrl url, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromUrl (url, options.GetDictionary (), out error); | |
} | |
@@ -627,7 +627,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::Metal.IMTLTexture[] FromUrls (NSUrl[] urls, NSDictionary? options, out NSError error) | |
+ public unsafe virtual global::Metal.IMTLTexture[] FromUrls (NSUrl[] urls, NSDictionary? options, out NSError error) | |
{ | |
if (urls is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (urls)); | |
@@ -649,7 +649,7 @@ namespace MetalKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public global::Metal.IMTLTexture[] FromUrls (NSUrl[] urls, MTKTextureLoaderOptions? options, out NSError error) | |
+ public unsafe global::Metal.IMTLTexture[] FromUrls (NSUrl[] urls, MTKTextureLoaderOptions? options, out NSError error) | |
{ | |
return FromUrls (urls, options.GetDictionary (), out error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBatchNormalizationDataSource.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBatchNormalizationDataSource.g.cs | |
index deed5c8..c47ff79 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBatchNormalizationDataSource.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBatchNormalizationDataSource.g.cs | |
@@ -74,7 +74,7 @@ namespace MetalPerformanceShaders { | |
Foundation.INSCopying | |
{ | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public unsafe static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, IMPSCnnBatchNormalizationDataSource | |
+ public static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, IMPSCnnBatchNormalizationDataSource | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -90,6 +90,18 @@ namespace MetalPerformanceShaders { | |
[Export ("purge")] | |
[Preserve (Conditional = true)] | |
void Purge (); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool GetSupportsSecureCoding<T> () where T: NSObject, IMPSCnnBatchNormalizationDataSource | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ byte ret; | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, Selector.GetHandle ("supportsSecureCoding")); | |
+ return ret != 0; | |
+ #endif | |
+ } | |
[Preserve (Conditional = true)] | |
nuint NumberOfFeatureChannels { | |
[Export ("numberOfFeatureChannels")] | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBinaryKernel.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBinaryKernel.g.cs | |
index f970e43..fec4139 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBinaryKernel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnBinaryKernel.g.cs | |
@@ -226,7 +226,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSArray<MPSImage> EncodeBatch (global::Metal.IMTLCommandBuffer commandBuffer, NSArray<MPSImage> primaryImages, NSArray<MPSImage> secondaryImages, out MPSState[]? outState, bool isTemporary) | |
+ public unsafe virtual NSArray<MPSImage> EncodeBatch (global::Metal.IMTLCommandBuffer commandBuffer, NSArray<MPSImage> primaryImages, NSArray<MPSImage> secondaryImages, out MPSState[]? outState, bool isTemporary) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -278,7 +278,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual MPSImage EncodeToCommandBuffer (global::Metal.IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, out MPSState? outState, bool isTemporary) | |
+ public unsafe virtual MPSImage EncodeToCommandBuffer (global::Metal.IMTLCommandBuffer commandBuffer, MPSImage primaryImage, MPSImage secondaryImage, out MPSState? outState, bool isTemporary) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnInstanceNormalizationDataSource.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnInstanceNormalizationDataSource.g.cs | |
index 948ada2..55eccef 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnInstanceNormalizationDataSource.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnInstanceNormalizationDataSource.g.cs | |
@@ -67,7 +67,7 @@ namespace MetalPerformanceShaders { | |
Foundation.INSCopying | |
{ | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public unsafe static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, IMPSCnnInstanceNormalizationDataSource | |
+ public static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, IMPSCnnInstanceNormalizationDataSource | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnKernel.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnKernel.g.cs | |
index 9e553d0..d083527 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnKernel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSCnnKernel.g.cs | |
@@ -250,7 +250,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSArray<MPSImage> EncodeBatch (global::Metal.IMTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceImages, out NSArray<MPSState>? outStates, bool isTemporary) | |
+ public unsafe virtual NSArray<MPSImage> EncodeBatch (global::Metal.IMTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceImages, out NSArray<MPSState>? outStates, bool isTemporary) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -325,7 +325,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual MPSImage EncodeToCommandBuffer (global::Metal.IMTLCommandBuffer commandBuffer, MPSImage sourceImage, out MPSState? outState, bool isTemporary) | |
+ public unsafe virtual MPSImage EncodeToCommandBuffer (global::Metal.IMTLCommandBuffer commandBuffer, MPSImage sourceImage, out MPSState? outState, bool isTemporary) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogram.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogram.g.cs | |
index 40b9019..b9df318 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogram.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogram.g.cs | |
@@ -171,7 +171,7 @@ namespace MetalPerformanceShaders { | |
[Export ("initWithDevice:histogramInfo:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MPSImageHistogram (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
+ public unsafe MPSImageHistogram (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
: base (NSObjectFlag.Empty) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramEqualization.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramEqualization.g.cs | |
index 8e755c2..bfa17c9 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramEqualization.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramEqualization.g.cs | |
@@ -153,7 +153,7 @@ namespace MetalPerformanceShaders { | |
[Export ("initWithDevice:histogramInfo:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MPSImageHistogramEqualization (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
+ public unsafe MPSImageHistogramEqualization (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
: base (NSObjectFlag.Empty) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramSpecification.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramSpecification.g.cs | |
index 8729b08..4f00974 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramSpecification.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageHistogramSpecification.g.cs | |
@@ -153,7 +153,7 @@ namespace MetalPerformanceShaders { | |
[Export ("initWithDevice:histogramInfo:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MPSImageHistogramSpecification (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
+ public unsafe MPSImageHistogramSpecification (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
: base (NSObjectFlag.Empty) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageNormalizedHistogram.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageNormalizedHistogram.g.cs | |
index 6d61378..6709823 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageNormalizedHistogram.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSImageNormalizedHistogram.g.cs | |
@@ -163,7 +163,7 @@ namespace MetalPerformanceShaders { | |
[Export ("initWithDevice:histogramInfo:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MPSImageNormalizedHistogram (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
+ public unsafe MPSImageNormalizedHistogram (global::Metal.IMTLDevice device, ref MPSImageHistogramInfo histogramInfo) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSKeyedUnarchiver.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSKeyedUnarchiver.g.cs | |
index 7a60743..61b3a54 100644 | |
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSKeyedUnarchiver.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSKeyedUnarchiver.g.cs | |
@@ -142,7 +142,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MPSKeyedUnarchiver (NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
+ public unsafe MPSKeyedUnarchiver (NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -179,7 +179,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -200,7 +200,7 @@ namespace MetalPerformanceShaders { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (Class @class, NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (Class @class, NSData data, global::Metal.IMTLDevice device, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/MetricKit/MXMetricManager.g.cs b/new/dotnet/ios/generated-sources/MetricKit/MXMetricManager.g.cs | |
index b94f632..7c176fe 100644 | |
--- a/old/dotnet/ios/generated-sources/MetricKit/MXMetricManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MetricKit/MXMetricManager.g.cs | |
@@ -157,7 +157,7 @@ namespace MetricKit { | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool ExtendLaunchMeasurement (string taskId, out NSError? error) | |
+ public unsafe static bool ExtendLaunchMeasurement (string taskId, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -179,7 +179,7 @@ namespace MetricKit { | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool FinishExtendedLaunchMeasurement (string taskId, out NSError? error) | |
+ public unsafe static bool FinishExtendedLaunchMeasurement (string taskId, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/ModelIO/MDLAsset.g.cs b/new/dotnet/ios/generated-sources/ModelIO/MDLAsset.g.cs | |
index feacd20..27a3efa 100644 | |
--- a/old/dotnet/ios/generated-sources/ModelIO/MDLAsset.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ModelIO/MDLAsset.g.cs | |
@@ -187,7 +187,7 @@ namespace ModelIO { | |
} | |
[Export ("initWithURL:vertexDescriptor:bufferAllocator:preserveTopology:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MDLAsset (NSUrl url, MDLVertexDescriptor? vertexDescriptor, IMDLMeshBufferAllocator? bufferAllocator, bool preserveTopology, out NSError error) | |
+ public unsafe MDLAsset (NSUrl url, MDLVertexDescriptor? vertexDescriptor, IMDLMeshBufferAllocator? bufferAllocator, bool preserveTopology, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -258,7 +258,7 @@ namespace ModelIO { | |
} | |
[Export ("exportAssetToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ExportAssetToUrl (NSUrl url, out NSError error) | |
+ public unsafe virtual bool ExportAssetToUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/ModelIO/MDLMesh.g.cs b/new/dotnet/ios/generated-sources/ModelIO/MDLMesh.g.cs | |
index 2082ec1..3438313 100644 | |
--- a/old/dotnet/ios/generated-sources/ModelIO/MDLMesh.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ModelIO/MDLMesh.g.cs | |
@@ -783,7 +783,7 @@ namespace ModelIO { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool MakeVerticesUnique (out NSError error) | |
+ public unsafe virtual bool MakeVerticesUnique (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/ModelIO/MDLTransformComponent.g.cs b/new/dotnet/ios/generated-sources/ModelIO/MDLTransformComponent.g.cs | |
index 75292ed..18d2851 100644 | |
--- a/old/dotnet/ios/generated-sources/ModelIO/MDLTransformComponent.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ModelIO/MDLTransformComponent.g.cs | |
@@ -66,6 +66,24 @@ namespace ModelIO { | |
public partial interface IMDLTransformComponent : INativeObject, IDisposable, | |
ModelIO.IMDLComponent | |
{ | |
+ [Export ("globalTransformWithObject:atTime:")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static NMatrix4 CreateGlobalTransform<T> (MDLObject obj, double atTime) where T: NSObject, IMDLTransformComponent | |
+ { | |
+ var obj__handle__ = obj!.GetNonNullHandle (nameof (obj)); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ NMatrix4 ret; | |
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) { | |
+ ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_NativeHandle_Double (class_ptr, Selector.GetHandle ("globalTransformWithObject:atTime:"), obj__handle__, atTime); | |
+ } else if (IntPtr.Size == 8) { | |
+ ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_NativeHandle_Double (class_ptr, Selector.GetHandle ("globalTransformWithObject:atTime:"), obj__handle__, atTime); | |
+ } else if (Runtime.Arch == Arch.DEVICE) { | |
+ ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_NativeHandle_Double (class_ptr, Selector.GetHandle ("globalTransformWithObject:atTime:"), obj__handle__, atTime); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.xamarin_simd__NMatrix4_objc_msgSend_stret_NativeHandle_Double (class_ptr, Selector.GetHandle ("globalTransformWithObject:atTime:"), obj__handle__, atTime); | |
+ } | |
+ return ret!; | |
+ } | |
[Preserve (Conditional = true)] | |
NMatrix4 Matrix { | |
[Export ("matrix", ArgumentSemantic.Assign)] | |
diff --git a/old/dotnet/ios/generated-sources/MultipeerConnectivity/MCSession.g.cs b/new/dotnet/ios/generated-sources/MultipeerConnectivity/MCSession.g.cs | |
index affee4e..e1380b5 100644 | |
--- a/old/dotnet/ios/generated-sources/MultipeerConnectivity/MCSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/MultipeerConnectivity/MCSession.g.cs | |
@@ -216,7 +216,7 @@ namespace MultipeerConnectivity { | |
} | |
[Export ("sendData:toPeers:withMode:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, MCPeerID[] peerIDs, MCSessionSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, MCPeerID[] peerIDs, MCSessionSendDataMode mode, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (peerIDs is null) | |
@@ -281,7 +281,7 @@ namespace MultipeerConnectivity { | |
} | |
[Export ("startStreamWithName:toPeer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSOutputStream? StartStream (string streamName, MCPeerID peerID, out NSError error) | |
+ public unsafe virtual NSOutputStream? StartStream (string streamName, MCPeerID peerID, out NSError error) | |
{ | |
if (streamName is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (streamName)); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbedding.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbedding.g.cs | |
index e907a98..40d6751 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbedding.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbedding.g.cs | |
@@ -197,7 +197,7 @@ namespace NaturalLanguage { | |
} | |
[Export ("embeddingResultForString:language:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NLContextualEmbeddingResult? GetEmbeddingResult (string @string, string? language, out NSError? error) | |
+ public unsafe virtual NLContextualEmbeddingResult? GetEmbeddingResult (string @string, string? language, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -221,7 +221,7 @@ namespace NaturalLanguage { | |
} | |
[Export ("loadWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (out NSError? error) | |
+ public unsafe virtual bool Load (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbeddingResult.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbeddingResult.g.cs | |
index 4fa96c0..404955b 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbeddingResult.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLContextualEmbeddingResult.g.cs | |
@@ -157,7 +157,7 @@ namespace NaturalLanguage { | |
[Export ("tokenVectorAtIndex:tokenRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (nuint[]), OriginalType = typeof (NSNumber[]))] | |
- public virtual nuint[]? GetVector (nuint characterIndex, ref NSRange tokenRange) | |
+ public unsafe virtual nuint[]? GetVector (nuint characterIndex, ref NSRange tokenRange) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLEmbedding.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLEmbedding.g.cs | |
index dec08ba..08af491 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLEmbedding.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLEmbedding.g.cs | |
@@ -320,7 +320,7 @@ namespace NaturalLanguage { | |
} | |
[Export ("embeddingWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NLEmbedding? GetEmbedding (NSUrl url, out NSError? error) | |
+ public unsafe static NLEmbedding? GetEmbedding (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -617,7 +617,7 @@ namespace NaturalLanguage { | |
[Export ("writeEmbeddingForDictionary:language:revision:toURL:error:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Write (NSDictionary dictionary, NSString? language, nuint revision, NSUrl url, out NSError? error) | |
+ public unsafe static bool Write (NSDictionary dictionary, NSString? language, nuint revision, NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -633,7 +633,7 @@ namespace NaturalLanguage { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Write (NLVectorDictionary dictionary, NLLanguage? language, nuint revision, NSUrl url, out NSError? error) | |
+ public unsafe static bool Write (NLVectorDictionary dictionary, NLLanguage? language, nuint revision, NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLGazetteer.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLGazetteer.g.cs | |
index b027356..103aaab 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLGazetteer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLGazetteer.g.cs | |
@@ -139,7 +139,7 @@ namespace NaturalLanguage { | |
[Export ("initWithContentsOfURL:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NLGazetteer (NSUrl url, out NSError? error) | |
+ public unsafe NLGazetteer (NSUrl url, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -158,7 +158,7 @@ namespace NaturalLanguage { | |
[Export ("initWithData:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NLGazetteer (NSData data, out NSError? error) | |
+ public unsafe NLGazetteer (NSData data, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -178,7 +178,7 @@ namespace NaturalLanguage { | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NLGazetteer (NSDictionary dictionary, NSString? language, out NSError? error) | |
+ public unsafe NLGazetteer (NSDictionary dictionary, NSString? language, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -196,7 +196,7 @@ namespace NaturalLanguage { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NLGazetteer (NLStrongDictionary dictionary, NLLanguage? language, out NSError? error) | |
+ public unsafe NLGazetteer (NLStrongDictionary dictionary, NLLanguage? language, out NSError? error) | |
: this (dictionary.GetDictionary ()!, language.HasValue ? language.Value.GetConstant () : null, out error) | |
{ | |
#if ARCH_32 | |
@@ -206,7 +206,7 @@ namespace NaturalLanguage { | |
} | |
[Export ("gazetteerWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NLGazetteer? Create (NSUrl url, out NSError? error) | |
+ public unsafe static NLGazetteer? Create (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -242,7 +242,7 @@ namespace NaturalLanguage { | |
[Export ("writeGazetteerForDictionary:language:toURL:error:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Write (NSDictionary dictionary, NSString? language, NSUrl url, out NSError? error) | |
+ public unsafe static bool Write (NSDictionary dictionary, NSString? language, NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -258,7 +258,7 @@ namespace NaturalLanguage { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Write (NLStrongDictionary dictionary, NLLanguage? language, NSUrl url, out NSError? error) | |
+ public unsafe static bool Write (NLStrongDictionary dictionary, NLLanguage? language, NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLModel.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLModel.g.cs | |
index 75c31b1..41a903b 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLModel.g.cs | |
@@ -138,7 +138,7 @@ namespace NaturalLanguage { | |
[Export ("modelWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NLModel? Create (NSUrl url, out NSError? error) | |
+ public unsafe static NLModel? Create (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -153,7 +153,7 @@ namespace NaturalLanguage { | |
} | |
[Export ("modelWithMLModel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NLModel? Create (global::CoreML.MLModel mlModel, out NSError? error) | |
+ public unsafe static NLModel? Create (global::CoreML.MLModel mlModel, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs | |
index 31ebed2..a0a5b48 100644 | |
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs | |
@@ -281,7 +281,7 @@ namespace NaturalLanguage { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, NSNumber> GetNativeTagHypotheses (nuint characterIndex, NLTokenUnit unit, NSString scheme, nuint maximumCount, out NSRange tokenRange) | |
+ public unsafe virtual NSDictionary<NSString, NSNumber> GetNativeTagHypotheses (nuint characterIndex, NLTokenUnit unit, NSString scheme, nuint maximumCount, out NSRange tokenRange) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -312,7 +312,7 @@ namespace NaturalLanguage { | |
[Export ("tagAtIndex:unit:scheme:tokenRange:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSString? GetTag (nuint characterIndex, NLTokenUnit unit, NSString scheme, out NSRange tokenRange) | |
+ public unsafe virtual NSString? GetTag (nuint characterIndex, NLTokenUnit unit, NSString scheme, out NSRange tokenRange) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -327,7 +327,7 @@ namespace NaturalLanguage { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSString? GetTag (nuint characterIndex, NLTokenUnit unit, NLTagScheme scheme, out NSRange tokenRange) | |
+ public unsafe NSString? GetTag (nuint characterIndex, NLTokenUnit unit, NLTagScheme scheme, out NSRange tokenRange) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -352,7 +352,7 @@ namespace NaturalLanguage { | |
[Export ("tagsInRange:unit:scheme:options:tokenRanges:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSString[] GetTags (NSRange range, NLTokenUnit unit, NSString scheme, NLTaggerOptions options, out NSValue[]? tokenRanges) | |
+ public unsafe virtual NSString[] GetTags (NSRange range, NLTokenUnit unit, NSString scheme, NLTaggerOptions options, out NSValue[]? tokenRanges) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -370,7 +370,7 @@ namespace NaturalLanguage { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSString[] GetTags (NSRange range, NLTokenUnit unit, NLTagScheme scheme, NLTaggerOptions options, out NSValue[]? tokenRanges) | |
+ public unsafe NSString[] GetTags (NSRange range, NLTokenUnit unit, NLTagScheme scheme, NLTaggerOptions options, out NSValue[]? tokenRanges) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/NearbyInteraction/NINearbyAccessoryConfiguration.g.cs b/new/dotnet/ios/generated-sources/NearbyInteraction/NINearbyAccessoryConfiguration.g.cs | |
index 2e63f05..17634c0 100644 | |
--- a/old/dotnet/ios/generated-sources/NearbyInteraction/NINearbyAccessoryConfiguration.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NearbyInteraction/NINearbyAccessoryConfiguration.g.cs | |
@@ -162,7 +162,7 @@ namespace NearbyInteraction { | |
[Export ("initWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NINearbyAccessoryConfiguration (NSData data, out NSError? error) | |
+ public unsafe NINearbyAccessoryConfiguration (NSData data, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -184,7 +184,7 @@ namespace NearbyInteraction { | |
[UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NINearbyAccessoryConfiguration (NSData accessoryData, NSUuid identifier, out NSError? error) | |
+ public unsafe NINearbyAccessoryConfiguration (NSData accessoryData, NSUuid identifier, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderSession.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderSession.g.cs | |
index b2370eb..842d09d 100644 | |
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderSession.g.cs | |
@@ -164,7 +164,7 @@ namespace NetworkExtension { | |
} | |
[Export ("startTunnelWithOptions:andReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartTunnel (NSDictionary<NSString, NSObject>? options, out NSError? error) | |
+ public unsafe virtual bool StartTunnel (NSDictionary<NSString, NSObject>? options, out NSError? error) | |
{ | |
var options__handle__ = options.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NEVpnConnection.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NEVpnConnection.g.cs | |
index 4c8eeec..3431036 100644 | |
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NEVpnConnection.g.cs | |
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NEVpnConnection.g.cs | |
@@ -183,7 +183,7 @@ namespace NetworkExtension { | |
} | |
[Export ("startVPNTunnelAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartVpnTunnel (out NSError error) | |
+ public unsafe virtual bool StartVpnTunnel (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -201,7 +201,7 @@ namespace NetworkExtension { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool StartVpnTunnel (NSDictionary? options, out NSError error) | |
+ internal unsafe virtual bool StartVpnTunnel (NSDictionary? options, out NSError error) | |
{ | |
var options__handle__ = options.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -219,7 +219,7 @@ namespace NetworkExtension { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool StartVpnTunnel (NEVpnConnectionStartOptions? options, out NSError error) | |
+ public unsafe bool StartVpnTunnel (NEVpnConnectionStartOptions? options, out NSError error) | |
{ | |
return StartVpnTunnel (options.GetDictionary (), out error);; | |
} | |
diff --git a/old/dotnet/ios/generated-sources/OSLog/OSLogStore.g.cs b/new/dotnet/ios/generated-sources/OSLog/OSLogStore.g.cs | |
index 3c4d7ac..53b8eb8 100644 | |
--- a/old/dotnet/ios/generated-sources/OSLog/OSLogStore.g.cs | |
+++ b/new/dotnet/ios/generated-sources/OSLog/OSLogStore.g.cs | |
@@ -138,7 +138,7 @@ namespace OSLog { | |
[Export ("storeWithURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static OSLogStore? CreateStore (NSUrl url, out NSError? error) | |
+ public unsafe static OSLogStore? CreateStore (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -157,7 +157,7 @@ namespace OSLog { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static OSLogStore? CreateStore (OSLogStoreScope scope, out NSError? error) | |
+ public unsafe static OSLogStore? CreateStore (OSLogStoreScope scope, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -171,7 +171,7 @@ namespace OSLog { | |
} | |
[Export ("entriesEnumeratorWithOptions:position:predicate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual OSLogEnumerator? GetEntriesEnumerator (OSLogEnumeratorOptions options, OSLogPosition? position, NSPredicate? predicate, out NSError? error) | |
+ public unsafe virtual OSLogEnumerator? GetEntriesEnumerator (OSLogEnumeratorOptions options, OSLogPosition? position, NSPredicate? predicate, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -191,7 +191,7 @@ namespace OSLog { | |
} | |
[Export ("entriesEnumeratorAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual OSLogEnumerator? GetEntriesEnumerator (out NSError? error) | |
+ public unsafe virtual OSLogEnumerator? GetEntriesEnumerator (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/PassKit/PKAddPassesViewController.g.cs b/new/dotnet/ios/generated-sources/PassKit/PKAddPassesViewController.g.cs | |
index 63e147b..201f258 100644 | |
--- a/old/dotnet/ios/generated-sources/PassKit/PKAddPassesViewController.g.cs | |
+++ b/new/dotnet/ios/generated-sources/PassKit/PKAddPassesViewController.g.cs | |
@@ -197,7 +197,7 @@ namespace PassKit { | |
[SupportedOSPlatform ("maccatalyst16.4")] | |
[UnsupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public PKAddPassesViewController (NSData issuerData, NSData signature, out NSError? error) | |
+ public unsafe PKAddPassesViewController (NSData issuerData, NSData signature, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/PassKit/PKPass.g.cs b/new/dotnet/ios/generated-sources/PassKit/PKPass.g.cs | |
index c2b1291..6f552cc 100644 | |
--- a/old/dotnet/ios/generated-sources/PassKit/PKPass.g.cs | |
+++ b/new/dotnet/ios/generated-sources/PassKit/PKPass.g.cs | |
@@ -164,7 +164,7 @@ namespace PassKit { | |
[Export ("initWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public PKPass (NSData data, out NSError error) | |
+ public unsafe PKPass (NSData data, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/PassKit/PKVehicleConnectionSession.g.cs b/new/dotnet/ios/generated-sources/PassKit/PKVehicleConnectionSession.g.cs | |
index cdc537c..285bd06 100644 | |
--- a/old/dotnet/ios/generated-sources/PassKit/PKVehicleConnectionSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/PassKit/PKVehicleConnectionSession.g.cs | |
@@ -180,7 +180,7 @@ namespace PassKit { | |
} | |
[Export ("sendData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData message, out NSError? error) | |
+ public unsafe virtual bool SendData (NSData message, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/PencilKit/PKCanvasViewDelegate.g.cs b/new/dotnet/ios/generated-sources/PencilKit/PKCanvasViewDelegate.g.cs | |
index c2229fa..8329d6d 100644 | |
--- a/old/dotnet/ios/generated-sources/PencilKit/PKCanvasViewDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/PencilKit/PKCanvasViewDelegate.g.cs | |
@@ -360,7 +360,7 @@ namespace PencilKit { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (global::UIKit.UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (global::UIKit.UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/PencilKit/PKDrawing.g.cs b/new/dotnet/ios/generated-sources/PencilKit/PKDrawing.g.cs | |
index 2309b57..67b4ac7 100644 | |
--- a/old/dotnet/ios/generated-sources/PencilKit/PKDrawing.g.cs | |
+++ b/new/dotnet/ios/generated-sources/PencilKit/PKDrawing.g.cs | |
@@ -180,7 +180,7 @@ namespace PencilKit { | |
[Export ("initWithData:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public PKDrawing (NSData data, out NSError? error) | |
+ public unsafe PKDrawing (NSData data, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/Phase/PhaseAssetRegistry.g.cs b/new/dotnet/ios/generated-sources/Phase/PhaseAssetRegistry.g.cs | |
index 9bc1adc..a2a25a4 100644 | |
--- a/old/dotnet/ios/generated-sources/Phase/PhaseAssetRegistry.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Phase/PhaseAssetRegistry.g.cs | |
@@ -158,7 +158,7 @@ namespace Phase { | |
} | |
[Export ("registerGlobalMetaParameter:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PhaseGlobalMetaParameterAsset? RegisterGlobalMetaParameter (PhaseMetaParameterDefinition metaParameterDefinition, out NSError? error) | |
+ public unsafe virtual PhaseGlobalMetaParameterAsset? RegisterGlobalMetaParameter (PhaseMetaParameterDefinition metaParameterDefinition, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -177,7 +177,7 @@ namespace Phase { | |
} | |
[Export ("registerSoundAssetAtURL:identifier:assetType:channelLayout:normalizationMode:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PhaseSoundAsset? RegisterSoundAsset (NSUrl url, string? identifier, PhaseAssetType assetType, global::AVFoundation.AVAudioChannelLayout? channelLayout, PhaseNormalizationMode normalizationMode, out NSError? error) | |
+ public unsafe virtual PhaseSoundAsset? RegisterSoundAsset (NSUrl url, string? identifier, PhaseAssetType assetType, global::AVFoundation.AVAudioChannelLayout? channelLayout, PhaseNormalizationMode normalizationMode, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -199,7 +199,7 @@ namespace Phase { | |
} | |
[Export ("registerSoundAssetWithData:identifier:format:normalizationMode:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PhaseSoundAsset? RegisterSoundAsset (NSData data, string? identifier, global::AVFoundation.AVAudioFormat format, PhaseNormalizationMode normalizationMode, out NSError? error) | |
+ public unsafe virtual PhaseSoundAsset? RegisterSoundAsset (NSData data, string? identifier, global::AVFoundation.AVAudioFormat format, PhaseNormalizationMode normalizationMode, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -221,7 +221,7 @@ namespace Phase { | |
} | |
[Export ("registerSoundEventAssetWithRootNode:identifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PhaseSoundEventNodeAsset? RegisterSoundEventAsset (PhaseSoundEventNodeDefinition rootNode, string? identifier, out NSError? error) | |
+ public unsafe virtual PhaseSoundEventNodeAsset? RegisterSoundEventAsset (PhaseSoundEventNodeDefinition rootNode, string? identifier, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Phase/PhaseEngine.g.cs b/new/dotnet/ios/generated-sources/Phase/PhaseEngine.g.cs | |
index 2c0c02c..c3716a9 100644 | |
--- a/old/dotnet/ios/generated-sources/Phase/PhaseEngine.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Phase/PhaseEngine.g.cs | |
@@ -168,7 +168,7 @@ namespace Phase { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError? error) | |
+ public unsafe virtual bool Start (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Phase/PhaseObject.g.cs b/new/dotnet/ios/generated-sources/Phase/PhaseObject.g.cs | |
index 91d992a..c339b68 100644 | |
--- a/old/dotnet/ios/generated-sources/Phase/PhaseObject.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Phase/PhaseObject.g.cs | |
@@ -155,7 +155,7 @@ namespace Phase { | |
} | |
[Export ("addChild:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AddChild (PhaseObject child, out NSError? error) | |
+ public unsafe virtual bool AddChild (PhaseObject child, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Phase/PhaseSoundEvent.g.cs b/new/dotnet/ios/generated-sources/Phase/PhaseSoundEvent.g.cs | |
index 8b49fb1..ae2c4b0 100644 | |
--- a/old/dotnet/ios/generated-sources/Phase/PhaseSoundEvent.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Phase/PhaseSoundEvent.g.cs | |
@@ -138,7 +138,7 @@ namespace Phase { | |
[Export ("initWithEngine:assetIdentifier:mixerParameters:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, PhaseMixerParameters mixerParameters, out NSError? error) | |
+ public unsafe PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, PhaseMixerParameters mixerParameters, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -161,7 +161,7 @@ namespace Phase { | |
} | |
[Export ("initWithEngine:assetIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, out NSError? error) | |
+ public unsafe PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -224,7 +224,7 @@ namespace Phase { | |
} | |
[Export ("prepareAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Prepare (out NSError? error) | |
+ public unsafe virtual bool Prepare (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -332,7 +332,7 @@ namespace Phase { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError? error) | |
+ public unsafe virtual bool Start (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Photos/PHContentEditingOutput.g.cs b/new/dotnet/ios/generated-sources/Photos/PHContentEditingOutput.g.cs | |
index eac514b..ccc00ad 100644 | |
--- a/old/dotnet/ios/generated-sources/Photos/PHContentEditingOutput.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Photos/PHContentEditingOutput.g.cs | |
@@ -208,7 +208,7 @@ namespace Photos { | |
[SupportedOSPlatform ("ios17.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetRenderedContentUrl (global::UniformTypeIdentifiers.UTType type, out NSError? error) | |
+ public unsafe virtual NSUrl? GetRenderedContentUrl (global::UniformTypeIdentifiers.UTType type, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Photos/PHLivePhoto.g.cs b/new/dotnet/ios/generated-sources/Photos/PHLivePhoto.g.cs | |
index df28c87..58b7f78 100644 | |
--- a/old/dotnet/ios/generated-sources/Photos/PHLivePhoto.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Photos/PHLivePhoto.g.cs | |
@@ -214,7 +214,7 @@ namespace Photos { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/Photos/PHPersistentChange.g.cs b/new/dotnet/ios/generated-sources/Photos/PHPersistentChange.g.cs | |
index deb81a7..b2f58b1 100644 | |
--- a/old/dotnet/ios/generated-sources/Photos/PHPersistentChange.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Photos/PHPersistentChange.g.cs | |
@@ -138,7 +138,7 @@ namespace Photos { | |
[Export ("changeDetailsForObjectType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PHPersistentObjectChangeDetails? GetChangeDetails (PHObjectType objectType, out NSError? error) | |
+ public unsafe virtual PHPersistentObjectChangeDetails? GetChangeDetails (PHObjectType objectType, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Photos/PHPhotoLibrary.g.cs b/new/dotnet/ios/generated-sources/Photos/PHPhotoLibrary.g.cs | |
index 0f93be5..ed95454 100644 | |
--- a/old/dotnet/ios/generated-sources/Photos/PHPhotoLibrary.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Photos/PHPhotoLibrary.g.cs | |
@@ -136,7 +136,7 @@ namespace Photos { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual PHPersistentChangeFetchResult? FetchPersistentChanges (PHPersistentChangeToken since, out NSError? error) | |
+ public unsafe virtual PHPersistentChangeFetchResult? FetchPersistentChanges (PHPersistentChangeToken since, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/QuickLook/QLPreviewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/QuickLook/QLPreviewControllerDelegate.g.cs | |
index 20647d5..68775ce 100644 | |
--- a/old/dotnet/ios/generated-sources/QuickLook/QLPreviewControllerDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/QuickLook/QLPreviewControllerDelegate.g.cs | |
@@ -96,7 +96,7 @@ namespace QuickLook { | |
return ret != 0; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CGRect FrameForPreviewItem (this IQLPreviewControllerDelegate This, QLPreviewController controller, IQLPreviewItem item, ref global::UIKit.UIView view) | |
+ public unsafe static CGRect FrameForPreviewItem (this IQLPreviewControllerDelegate This, QLPreviewController controller, IQLPreviewItem item, ref global::UIKit.UIView view) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var controller__handle__ = controller!.GetNonNullHandle (nameof (controller)); | |
@@ -311,7 +311,7 @@ namespace QuickLook { | |
} | |
[Export ("previewController:frameForPreviewItem:inSourceView:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CGRect FrameForPreviewItem (QLPreviewController controller, IQLPreviewItem item, ref global::UIKit.UIView view) | |
+ public unsafe virtual CGRect FrameForPreviewItem (QLPreviewController controller, IQLPreviewItem item, ref global::UIKit.UIView view) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/SafariServices/SSReadingList.g.cs b/new/dotnet/ios/generated-sources/SafariServices/SSReadingList.g.cs | |
index 6a2ab4e..13de365 100644 | |
--- a/old/dotnet/ios/generated-sources/SafariServices/SSReadingList.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SafariServices/SSReadingList.g.cs | |
@@ -131,7 +131,7 @@ namespace SafariServices { | |
[Export ("addReadingListItemWithURL:title:previewText:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Add (NSUrl url, string? title, string? previewText, out NSError error) | |
+ public unsafe virtual bool Add (NSUrl url, string? title, string? previewText, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNBoundingVolume.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNBoundingVolume.g.cs | |
index bbfe316..aea6056 100644 | |
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNBoundingVolume.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNBoundingVolume.g.cs | |
@@ -62,7 +62,7 @@ namespace SceneKit { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("getBoundingBoxMin:max:")] | |
[Preserve (Conditional = true)] | |
- bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max); | |
+ unsafe bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max); | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
@@ -70,11 +70,11 @@ namespace SceneKit { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("setBoundingBoxMin:max:")] | |
[Preserve (Conditional = true)] | |
- void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max); | |
+ unsafe void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("getBoundingSphereCenter:radius:")] | |
[Preserve (Conditional = true)] | |
- bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius); | |
+ unsafe bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius); | |
} | |
internal unsafe sealed class SCNBoundingVolumeWrapper : BaseWrapper, ISCNBoundingVolume { | |
[Preserve (Conditional = true)] | |
@@ -84,7 +84,7 @@ namespace SceneKit { | |
} | |
[Export ("getBoundingBoxMin:max:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
byte ret; | |
ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_SCNVector3_ref_SCNVector3 (this.Handle, Selector.GetHandle ("getBoundingBoxMin:max:"), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref min), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref max)); | |
@@ -92,13 +92,13 @@ namespace SceneKit { | |
} | |
[Export ("setBoundingBoxMin:max:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
global::ObjCRuntime.Messaging.void_objc_msgSend_ref_SCNVector3_ref_SCNVector3 (this.Handle, Selector.GetHandle ("setBoundingBoxMin:max:"), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref min), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref max)); | |
} | |
[Export ("getBoundingSphereCenter:radius:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
+ public unsafe bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
{ | |
byte ret; | |
ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_ref_SCNVector3_ref_NFloat (this.Handle, Selector.GetHandle ("getBoundingSphereCenter:radius:"), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref center), (nfloat*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<nfloat> (ref radius)); | |
@@ -194,13 +194,13 @@ namespace SceneKit { | |
[Export ("getBoundingBoxMin:max:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
[Export ("getBoundingSphereCenter:radius:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
+ public unsafe virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
@@ -210,7 +210,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNGeometry.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNGeometry.g.cs | |
index 00e36d9..26ff328 100644 | |
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNGeometry.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNGeometry.g.cs | |
@@ -308,7 +308,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -324,7 +324,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
+ public unsafe virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -598,7 +598,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
if (IsDirectBinding) { | |
global::ObjCRuntime.Messaging.void_objc_msgSend_ref_SCNVector3_ref_SCNVector3 (this.Handle, Selector.GetHandle ("setBoundingBoxMin:max:"), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref min), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref max)); | |
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNNode.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNNode.g.cs | |
index 7e447fd..a51596a 100644 | |
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNNode.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNNode.g.cs | |
@@ -693,7 +693,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual bool GetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -709,7 +709,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
+ public unsafe virtual bool GetBoundingSphere (ref SCNVector3 center, ref nfloat radius) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -1167,7 +1167,7 @@ namespace SceneKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
+ public unsafe virtual void SetBoundingBox (ref SCNVector3 min, ref SCNVector3 max) | |
{ | |
if (IsDirectBinding) { | |
global::ObjCRuntime.Messaging.void_objc_msgSend_ref_SCNVector3_ref_SCNVector3 (this.Handle, Selector.GetHandle ("setBoundingBoxMin:max:"), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref min), (SCNVector3*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<SCNVector3> (ref max)); | |
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNScene.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNScene.g.cs | |
index 8c719c9..9744ae5 100644 | |
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNScene.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNScene.g.cs | |
@@ -254,7 +254,7 @@ namespace SceneKit { | |
[Export ("sceneWithURL:options:error:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static SCNScene? FromUrl (NSUrl url, NSDictionary? options, out NSError error) | |
+ public unsafe static SCNScene? FromUrl (NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options.GetHandle (); | |
@@ -265,7 +265,7 @@ namespace SceneKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static SCNScene? FromUrl (NSUrl url, SCNSceneLoadingOptions? options, out NSError error) | |
+ public unsafe static SCNScene? FromUrl (NSUrl url, SCNSceneLoadingOptions? options, out NSError error) | |
{ | |
return FromUrl (url, options.GetDictionary (), out error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/SceneKit/SCNSceneSource.g.cs b/new/dotnet/ios/generated-sources/SceneKit/SCNSceneSource.g.cs | |
index 58cc3f5..2d25e14 100644 | |
--- a/old/dotnet/ios/generated-sources/SceneKit/SCNSceneSource.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SceneKit/SCNSceneSource.g.cs | |
@@ -277,7 +277,7 @@ namespace SceneKit { | |
[Export ("sceneWithOptions:error:")] | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual SCNScene? SceneWithOption (NSDictionary? options, out NSError error) | |
+ public unsafe virtual SCNScene? SceneWithOption (NSDictionary? options, out NSError error) | |
{ | |
var options__handle__ = options.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -291,7 +291,7 @@ namespace SceneKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public SCNScene? SceneWithOption (SCNSceneLoadingOptions options, out NSError error) | |
+ public unsafe SCNScene? SceneWithOption (SCNSceneLoadingOptions options, out NSError error) | |
{ | |
return SceneWithOption (options?.GetDictionary (), out error); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/ScreenTime/STWebHistory.g.cs b/new/dotnet/ios/generated-sources/ScreenTime/STWebHistory.g.cs | |
index a24e806..6c0c55c 100644 | |
--- a/old/dotnet/ios/generated-sources/ScreenTime/STWebHistory.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ScreenTime/STWebHistory.g.cs | |
@@ -137,7 +137,7 @@ namespace ScreenTime { | |
[Export ("initWithBundleIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public STWebHistory (string bundleIdentifier, out NSError? error) | |
+ public unsafe STWebHistory (string bundleIdentifier, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/ScreenTime/STWebpageController.g.cs b/new/dotnet/ios/generated-sources/ScreenTime/STWebpageController.g.cs | |
index f696d36..645642f 100644 | |
--- a/old/dotnet/ios/generated-sources/ScreenTime/STWebpageController.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ScreenTime/STWebpageController.g.cs | |
@@ -180,7 +180,7 @@ namespace ScreenTime { | |
} | |
[Export ("setBundleIdentifier:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetBundleIdentifier (string bundleIdentifier, out NSError? error) | |
+ public unsafe virtual bool SetBundleIdentifier (string bundleIdentifier, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SharedWithYou/SWHighlightCenter.g.cs b/new/dotnet/ios/generated-sources/SharedWithYou/SWHighlightCenter.g.cs | |
index a4dd367..f3486cd 100644 | |
--- a/old/dotnet/ios/generated-sources/SharedWithYou/SWHighlightCenter.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SharedWithYou/SWHighlightCenter.g.cs | |
@@ -178,7 +178,7 @@ namespace SharedWithYou { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual SWCollaborationHighlight? GetCollaborationHighlight (string collaborationIdentifier, out NSError? error) | |
+ public unsafe virtual SWCollaborationHighlight? GetCollaborationHighlight (string collaborationIdentifier, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SharedWithYouCore/SWCollaborationMetadata.g.cs b/new/dotnet/ios/generated-sources/SharedWithYouCore/SWCollaborationMetadata.g.cs | |
index 2ad52ef..7dfca4f 100644 | |
--- a/old/dotnet/ios/generated-sources/SharedWithYouCore/SWCollaborationMetadata.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SharedWithYouCore/SWCollaborationMetadata.g.cs | |
@@ -221,7 +221,7 @@ namespace SharedWithYouCore { | |
[SupportedOSPlatform ("macos13.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHCustomCatalog.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHCustomCatalog.g.cs | |
index 3d2bfe3..3628501 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHCustomCatalog.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHCustomCatalog.g.cs | |
@@ -155,7 +155,7 @@ namespace ShazamKit { | |
[Export ("addReferenceSignature:representingMediaItems:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Add (SHSignature signature, SHMediaItem[] mediaItems, out NSError? error) | |
+ public unsafe virtual bool Add (SHSignature signature, SHMediaItem[] mediaItems, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -178,7 +178,7 @@ namespace ShazamKit { | |
} | |
[Export ("addCustomCatalogFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Add (NSUrl url, out NSError? error) | |
+ public unsafe virtual bool Add (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -212,7 +212,7 @@ namespace ShazamKit { | |
} | |
[Export ("writeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl url, out NSError? error) | |
+ public unsafe virtual bool Write (NSUrl url, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHSignature.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHSignature.g.cs | |
index e32f24b..1c5c862 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHSignature.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHSignature.g.cs | |
@@ -163,7 +163,7 @@ namespace ShazamKit { | |
[Export ("initWithDataRepresentation:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public SHSignature (NSData dataRepresentation, out NSError? error) | |
+ public unsafe SHSignature (NSData dataRepresentation, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -216,7 +216,7 @@ namespace ShazamKit { | |
} | |
[Export ("signatureWithDataRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static SHSignature? GetSignature (NSData dataRepresentation, out NSError? error) | |
+ public unsafe static SHSignature? GetSignature (NSData dataRepresentation, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHSignatureGenerator.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHSignatureGenerator.g.cs | |
index d001b14..1c62e3c 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHSignatureGenerator.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHSignatureGenerator.g.cs | |
@@ -155,7 +155,7 @@ namespace ShazamKit { | |
[Export ("appendBuffer:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Append (global::AVFoundation.AVAudioPcmBuffer buffer, global::AVFoundation.AVAudioTime? time, out NSError? error) | |
+ public unsafe virtual bool Append (global::AVFoundation.AVAudioPcmBuffer buffer, global::AVFoundation.AVAudioTime? time, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SoundAnalysis/SNAudioFileAnalyzer.g.cs b/new/dotnet/ios/generated-sources/SoundAnalysis/SNAudioFileAnalyzer.g.cs | |
index 3489996..d7a791d 100644 | |
--- a/old/dotnet/ios/generated-sources/SoundAnalysis/SNAudioFileAnalyzer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SoundAnalysis/SNAudioFileAnalyzer.g.cs | |
@@ -139,7 +139,7 @@ namespace SoundAnalysis { | |
[Export ("initWithURL:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public SNAudioFileAnalyzer (NSUrl url, out NSError? error) | |
+ public unsafe SNAudioFileAnalyzer (NSUrl url, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -157,7 +157,7 @@ namespace SoundAnalysis { | |
} | |
[Export ("addRequest:withObserver:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out NSError? error) | |
+ public unsafe virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SoundAnalysis/SNAudioStreamAnalyzer.g.cs b/new/dotnet/ios/generated-sources/SoundAnalysis/SNAudioStreamAnalyzer.g.cs | |
index 6f6e2f7..2de54e7 100644 | |
--- a/old/dotnet/ios/generated-sources/SoundAnalysis/SNAudioStreamAnalyzer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SoundAnalysis/SNAudioStreamAnalyzer.g.cs | |
@@ -155,7 +155,7 @@ namespace SoundAnalysis { | |
} | |
[Export ("addRequest:withObserver:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out NSError? error) | |
+ public unsafe virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SoundAnalysis/SNClassifySoundRequest.g.cs b/new/dotnet/ios/generated-sources/SoundAnalysis/SNClassifySoundRequest.g.cs | |
index 16ed857..2900119 100644 | |
--- a/old/dotnet/ios/generated-sources/SoundAnalysis/SNClassifySoundRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SoundAnalysis/SNClassifySoundRequest.g.cs | |
@@ -138,7 +138,7 @@ namespace SoundAnalysis { | |
[Export ("initWithMLModel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public SNClassifySoundRequest (global::CoreML.MLModel mlModel, out NSError? error) | |
+ public unsafe SNClassifySoundRequest (global::CoreML.MLModel mlModel, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
@@ -160,7 +160,7 @@ namespace SoundAnalysis { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public SNClassifySoundRequest (string classifierIdentifier, out NSError? error) | |
+ public unsafe SNClassifySoundRequest (string classifierIdentifier, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
#if ARCH_32 | |
diff --git a/old/dotnet/ios/generated-sources/SpriteKit/SKNode.g.cs b/new/dotnet/ios/generated-sources/SpriteKit/SKNode.g.cs | |
index 15d41d1..a4cd6e7 100644 | |
--- a/old/dotnet/ios/generated-sources/SpriteKit/SKNode.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SpriteKit/SKNode.g.cs | |
@@ -321,7 +321,7 @@ namespace SpriteKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static SKNode? Create (string filename, nint classesPtr, out NSError error) | |
+ internal unsafe static SKNode? Create (string filename, nint classesPtr, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/SpriteKit/SKShapeNode.g.cs b/new/dotnet/ios/generated-sources/SpriteKit/SKShapeNode.g.cs | |
index 1a53d78..5df04c2 100644 | |
--- a/old/dotnet/ios/generated-sources/SpriteKit/SKShapeNode.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SpriteKit/SKShapeNode.g.cs | |
@@ -221,7 +221,7 @@ namespace SpriteKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static SKShapeNode FromPoints (ref CGPoint points, nuint numPoints) | |
+ internal unsafe static SKShapeNode FromPoints (ref CGPoint points, nuint numPoints) | |
{ | |
return Runtime.GetNSObject<SKShapeNode> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_CGPoint_UIntPtr (class_ptr, Selector.GetHandle ("shapeNodeWithPoints:count:"), (CGPoint*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<CGPoint> (ref points), numPoints))!; | |
} | |
@@ -271,7 +271,7 @@ namespace SpriteKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static SKShapeNode FromSplinePoints (ref CGPoint points, nuint numPoints) | |
+ internal unsafe static SKShapeNode FromSplinePoints (ref CGPoint points, nuint numPoints) | |
{ | |
return Runtime.GetNSObject<SKShapeNode> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_CGPoint_UIntPtr (class_ptr, Selector.GetHandle ("shapeNodeWithSplinePoints:count:"), (CGPoint*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<CGPoint> (ref points), numPoints))!; | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSLayoutManager.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSLayoutManager.g.cs | |
index 475fd01..9d38761 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/NSLayoutManager.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/NSLayoutManager.g.cs | |
@@ -456,7 +456,7 @@ namespace UIKit { | |
return GetCharacterIndex (point, container, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public nuint GetCharacterIndex (CGPoint point, NSTextContainer container, out nfloat fractionOfDistanceBetweenInsertionPoints) | |
+ public unsafe nuint GetCharacterIndex (CGPoint point, NSTextContainer container, out nfloat fractionOfDistanceBetweenInsertionPoints) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var container__handle__ = container!.GetNonNullHandle (nameof (container)); | |
@@ -498,7 +498,7 @@ namespace UIKit { | |
return GetCharacterRange (glyphRange, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSRange GetCharacterRange (NSRange glyphRange, out NSRange actualGlyphRange) | |
+ public unsafe NSRange GetCharacterRange (NSRange glyphRange, out NSRange actualGlyphRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
actualGlyphRange = default (NSRange); | |
@@ -516,7 +516,7 @@ namespace UIKit { | |
} | |
[Export ("getFirstUnlaidCharacterIndex:glyphIndex:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetFirstUnlaidCharacterIndex (out nuint characterIndex, out nuint glyphIndex) | |
+ public unsafe virtual void GetFirstUnlaidCharacterIndex (out nuint characterIndex, out nuint glyphIndex) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
characterIndex = default (nuint);glyphIndex = default (nuint); | |
@@ -543,7 +543,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ushort GetGlyph (nuint glyphIndex, out bool isValidIndex) | |
+ public unsafe virtual ushort GetGlyph (nuint glyphIndex, out bool isValidIndex) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
isValidIndex = false; | |
@@ -580,7 +580,7 @@ namespace UIKit { | |
} | |
[Export ("glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint GetGlyphIndex (CGPoint point, NSTextContainer container, out nfloat fractionOfDistanceThroughGlyph) | |
+ public unsafe virtual nuint GetGlyphIndex (CGPoint point, NSTextContainer container, out nfloat fractionOfDistanceThroughGlyph) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var container__handle__ = container!.GetNonNullHandle (nameof (container)); | |
@@ -638,7 +638,7 @@ namespace UIKit { | |
return GetGlyphRange (characterRange, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSRange GetGlyphRange (NSRange characterRange, out NSRange actualCharacterRange) | |
+ public unsafe NSRange GetGlyphRange (NSRange characterRange, out NSRange actualCharacterRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
actualCharacterRange = default (NSRange); | |
@@ -804,7 +804,7 @@ namespace UIKit { | |
return GetLineFragmentRect (glyphIndex, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CGRect GetLineFragmentRect (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
+ public unsafe CGRect GetLineFragmentRect (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -864,7 +864,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CGRect GetLineFragmentRect (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
+ public unsafe CGRect GetLineFragmentRect (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -915,7 +915,7 @@ namespace UIKit { | |
return GetLineFragmentUsedRect (glyphIndex, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CGRect GetLineFragmentUsedRect (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
+ public unsafe CGRect GetLineFragmentUsedRect (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -975,7 +975,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CGRect GetLineFragmentUsedRect (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
+ public unsafe CGRect GetLineFragmentUsedRect (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -1082,7 +1082,7 @@ namespace UIKit { | |
return GetTextContainer (glyphIndex, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSTextContainer? GetTextContainer (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
+ public unsafe NSTextContainer? GetTextContainer (nuint glyphIndex, out NSRange effectiveGlyphRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -1105,7 +1105,7 @@ namespace UIKit { | |
return GetTextContainer (glyphIndex, IntPtr.Zero, flag); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSTextContainer? GetTextContainer (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
+ public unsafe NSTextContainer? GetTextContainer (nuint glyphIndex, out NSRange effectiveGlyphRange, bool withoutAdditionalLayout) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
effectiveGlyphRange = default (NSRange); | |
@@ -1182,7 +1182,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[UnsupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ushort GlyphAtIndex (nuint glyphIndex, ref bool isValidIndex) | |
+ public unsafe virtual ushort GlyphAtIndex (nuint glyphIndex, ref bool isValidIndex) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (IsDirectBinding) { | |
@@ -1260,7 +1260,7 @@ namespace UIKit { | |
InvalidateGlyphs (characterRange, delta, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public void InvalidateGlyphs (NSRange characterRange, nint delta, out NSRange actualCharacterRange) | |
+ public unsafe void InvalidateGlyphs (NSRange characterRange, nint delta, out NSRange actualCharacterRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
actualCharacterRange = default (NSRange); | |
@@ -1283,7 +1283,7 @@ namespace UIKit { | |
InvalidateLayout (characterRange, IntPtr.Zero); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public void InvalidateLayout (NSRange characterRange, out NSRange actualCharacterRange) | |
+ public unsafe void InvalidateLayout (NSRange characterRange, out NSRange actualCharacterRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
actualCharacterRange = default (NSRange); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSLayoutManagerDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSLayoutManagerDelegate.g.cs | |
index f173fe6..35c6b07 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/NSLayoutManagerDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/NSLayoutManagerDelegate.g.cs | |
@@ -201,7 +201,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool ShouldSetLineFragmentRect (this INSLayoutManagerDelegate This, NSLayoutManager layoutManager, ref CGRect lineFragmentRect, ref CGRect lineFragmentUsedRect, ref nfloat baselineOffset, NSTextContainer textContainer, NSRange glyphRange) | |
+ public unsafe static bool ShouldSetLineFragmentRect (this INSLayoutManagerDelegate This, NSLayoutManager layoutManager, ref CGRect lineFragmentRect, ref CGRect lineFragmentUsedRect, ref nfloat baselineOffset, NSTextContainer textContainer, NSRange glyphRange) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var layoutManager__handle__ = layoutManager!.GetNonNullHandle (nameof (layoutManager)); | |
@@ -394,7 +394,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ShouldSetLineFragmentRect (NSLayoutManager layoutManager, ref CGRect lineFragmentRect, ref CGRect lineFragmentUsedRect, ref nfloat baselineOffset, NSTextContainer textContainer, NSRange glyphRange) | |
+ public unsafe virtual bool ShouldSetLineFragmentRect (NSLayoutManager layoutManager, ref CGRect lineFragmentRect, ref CGRect lineFragmentUsedRect, ref nfloat baselineOffset, NSTextContainer textContainer, NSRange glyphRange) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/NSTextContainer.g.cs b/new/dotnet/ios/generated-sources/UIKit/NSTextContainer.g.cs | |
index 77881a7..e03a8f4 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/NSTextContainer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/NSTextContainer.g.cs | |
@@ -202,7 +202,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CGRect GetLineFragmentRect (CGRect proposedRect, nuint characterIndex, NSWritingDirection baseWritingDirection, out CGRect remainingRect) | |
+ public unsafe virtual CGRect GetLineFragmentRect (CGRect proposedRect, nuint characterIndex, NSWritingDirection baseWritingDirection, out CGRect remainingRect) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
remainingRect = default (CGRect); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIBezierPath.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIBezierPath.g.cs | |
index e175181..29f71ce 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIBezierPath.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIBezierPath.g.cs | |
@@ -403,7 +403,7 @@ namespace UIKit { | |
} | |
[Export ("getLineDash:count:phase:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual void _GetLineDash (nint pattern, out nint count, out nfloat phase) | |
+ internal unsafe virtual void _GetLineDash (nint pattern, out nint count, out nfloat phase) | |
{ | |
count = default (nint);phase = default (nfloat); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICGFloatTraitDefinition.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICGFloatTraitDefinition.g.cs | |
index bc7a092..513e342 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UICGFloatTraitDefinition.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UICGFloatTraitDefinition.g.cs | |
@@ -57,6 +57,17 @@ namespace UIKit { | |
public partial interface IUICGFloatTraitDefinition : INativeObject, IDisposable, | |
UIKit.IUITraitDefinition | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static nfloat GetDefaultValue<T> () where T: NSObject, IUICGFloatTraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (class_ptr, Selector.GetHandle ("defaultValue")); | |
+ #endif | |
+ } | |
} | |
internal unsafe sealed class UICGFloatTraitDefinitionWrapper : BaseWrapper, IUICGFloatTraitDefinition { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs | |
index e77d753..49c9f16 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewController.g.cs | |
@@ -1307,7 +1307,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var scrollView__handle__ = scrollView!.GetNonNullHandle (nameof (scrollView)); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs | |
index a4e41db..81e7e97 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewDelegate.g.cs | |
@@ -1280,7 +1280,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs | |
index c84a502..f716971 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UICollectionViewSource.g.cs | |
@@ -795,7 +795,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIColor.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIColor.g.cs | |
index 19caf8b..8bb3c52 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIColor.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIColor.g.cs | |
@@ -391,7 +391,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static UIColor? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static UIColor? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
@@ -424,7 +424,7 @@ namespace UIKit { | |
} | |
[Export ("getWhite:alpha:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetWhite (out nfloat white, out nfloat alpha) | |
+ public unsafe virtual bool GetWhite (out nfloat white, out nfloat alpha) | |
{ | |
white = default (nfloat);alpha = default (nfloat); | |
byte ret; | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIDocument.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIDocument.g.cs | |
index 401306a..1cb1ce0 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIDocument.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIDocument.g.cs | |
@@ -239,7 +239,7 @@ namespace UIKit { | |
} | |
[Export ("contentsForType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject ContentsForType (string typeName, out NSError outError) | |
+ public unsafe virtual NSObject ContentsForType (string typeName, out NSError outError) | |
{ | |
if (typeName is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (typeName)); | |
@@ -288,7 +288,7 @@ namespace UIKit { | |
} | |
[Export ("fileAttributesToWriteToURL:forSaveOperation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary GetFileAttributesToWrite (NSUrl forUrl, UIDocumentSaveOperation saveOperation, out NSError outError) | |
+ public unsafe virtual NSDictionary GetFileAttributesToWrite (NSUrl forUrl, UIDocumentSaveOperation saveOperation, out NSError outError) | |
{ | |
var forUrl__handle__ = forUrl!.GetNonNullHandle (nameof (forUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -328,7 +328,7 @@ namespace UIKit { | |
} | |
[Export ("loadFromContents:ofType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadFromContents (NSObject contents, string? typeName, out NSError outError) | |
+ public unsafe virtual bool LoadFromContents (NSObject contents, string? typeName, out NSError outError) | |
{ | |
var contents__handle__ = contents!.GetNonNullHandle (nameof (contents)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -574,7 +574,7 @@ namespace UIKit { | |
} | |
[Export ("readFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Read (NSUrl fromUrl, out NSError outError) | |
+ public unsafe virtual bool Read (NSUrl fromUrl, out NSError outError) | |
{ | |
var fromUrl__handle__ = fromUrl!.GetNonNullHandle (nameof (fromUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -751,7 +751,7 @@ namespace UIKit { | |
} | |
[Export ("writeContents:andAttributes:safelyToURL:forSaveOperation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteContents (NSObject contents, NSDictionary? additionalFileAttributes, NSUrl url, UIDocumentSaveOperation saveOperation, out NSError outError) | |
+ public unsafe virtual bool WriteContents (NSObject contents, NSDictionary? additionalFileAttributes, NSUrl url, UIDocumentSaveOperation saveOperation, out NSError outError) | |
{ | |
var contents__handle__ = contents!.GetNonNullHandle (nameof (contents)); | |
var additionalFileAttributes__handle__ = additionalFileAttributes.GetHandle (); | |
@@ -768,7 +768,7 @@ namespace UIKit { | |
} | |
[Export ("writeContents:toURL:forSaveOperation:originalContentsURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteContents (NSObject contents, NSUrl toUrl, UIDocumentSaveOperation saveOperation, NSUrl? originalContentsURL, out NSError outError) | |
+ public unsafe virtual bool WriteContents (NSObject contents, NSUrl toUrl, UIDocumentSaveOperation saveOperation, NSUrl? originalContentsURL, out NSError outError) | |
{ | |
var contents__handle__ = contents!.GetNonNullHandle (nameof (contents)); | |
var toUrl__handle__ = toUrl!.GetNonNullHandle (nameof (toUrl)); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIImage.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIImage.g.cs | |
index 6ab2556..8748c95 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIImage.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIImage.g.cs | |
@@ -765,7 +765,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static UIImage? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static UIImage? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIManagedDocument.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIManagedDocument.g.cs | |
index f7c539a..40cfd7c 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIManagedDocument.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIManagedDocument.g.cs | |
@@ -146,7 +146,7 @@ namespace UIKit { | |
} | |
[Export ("additionalContentForURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject AdditionalContent (NSUrl absoluteURL, out NSError error) | |
+ public unsafe virtual NSObject AdditionalContent (NSUrl absoluteURL, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var absoluteURL__handle__ = absoluteURL!.GetNonNullHandle (nameof (absoluteURL)); | |
@@ -203,7 +203,7 @@ namespace UIKit { | |
} | |
[Export ("readAdditionalContentFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadAdditionalContent (NSUrl absoluteURL, out NSError error) | |
+ public unsafe virtual bool ReadAdditionalContent (NSUrl absoluteURL, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var absoluteURL__handle__ = absoluteURL!.GetNonNullHandle (nameof (absoluteURL)); | |
@@ -219,7 +219,7 @@ namespace UIKit { | |
} | |
[Export ("writeAdditionalContent:toURL:originalContentsURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteAdditionalContent (NSObject content, NSUrl absoluteURL, NSUrl absoluteOriginalContentsURL, out NSError error) | |
+ public unsafe virtual bool WriteAdditionalContent (NSObject content, NSUrl absoluteURL, NSUrl absoluteOriginalContentsURL, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var content__handle__ = content!.GetNonNullHandle (nameof (content)); | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UINSIntegerTraitDefinition.g.cs b/new/dotnet/ios/generated-sources/UIKit/UINSIntegerTraitDefinition.g.cs | |
index c487c9a..d06b849 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UINSIntegerTraitDefinition.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UINSIntegerTraitDefinition.g.cs | |
@@ -57,6 +57,17 @@ namespace UIKit { | |
public partial interface IUINSIntegerTraitDefinition : INativeObject, IDisposable, | |
UIKit.IUITraitDefinition | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static nint GetDefaultValue<T> () where T: NSObject, IUINSIntegerTraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (class_ptr, Selector.GetHandle ("defaultValue")); | |
+ #endif | |
+ } | |
} | |
internal unsafe sealed class UINSIntegerTraitDefinitionWrapper : BaseWrapper, IUINSIntegerTraitDefinition { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIObjectTraitDefinition.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIObjectTraitDefinition.g.cs | |
index 868c4dc..8c47d0c 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIObjectTraitDefinition.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIObjectTraitDefinition.g.cs | |
@@ -57,6 +57,17 @@ namespace UIKit { | |
public partial interface IUIObjectTraitDefinition : INativeObject, IDisposable, | |
UIKit.IUITraitDefinition | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static NSObject GetDefaultValue<T> () where T: NSObject, IUIObjectTraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("defaultValue")))!; | |
+ #endif | |
+ } | |
} | |
internal unsafe sealed class UIObjectTraitDefinitionWrapper : BaseWrapper, IUIObjectTraitDefinition { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverBackgroundViewMethods.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverBackgroundViewMethods.g.cs | |
index 02132c9..62d3e2f 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverBackgroundViewMethods.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverBackgroundViewMethods.g.cs | |
@@ -58,6 +58,40 @@ namespace UIKit { | |
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = true, Name = "GetContentViewInsets", Selector = "contentViewInsets", ReturnType = typeof (UIEdgeInsets))] | |
public partial interface IUIPopoverBackgroundViewMethods : INativeObject, IDisposable | |
{ | |
+ [Export ("arrowHeight")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static nfloat GetArrowHeight<T> () where T: NSObject, IUIPopoverBackgroundViewMethods | |
+ { | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (class_ptr, Selector.GetHandle ("arrowHeight")); | |
+ } | |
+ [Export ("arrowBase")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static nfloat GetArrowBase<T> () where T: NSObject, IUIPopoverBackgroundViewMethods | |
+ { | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return global::ObjCRuntime.Messaging.nfloat_objc_msgSend (class_ptr, Selector.GetHandle ("arrowBase")); | |
+ } | |
+ [Export ("contentViewInsets")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static UIEdgeInsets GetContentViewInsets<T> () where T: NSObject, IUIPopoverBackgroundViewMethods | |
+ { | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ UIEdgeInsets ret; | |
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) { | |
+ ret = global::ObjCRuntime.Messaging.UIEdgeInsets_objc_msgSend (class_ptr, Selector.GetHandle ("contentViewInsets")); | |
+ } else if (IntPtr.Size == 8) { | |
+ ret = global::ObjCRuntime.Messaging.UIEdgeInsets_objc_msgSend_stret (class_ptr, Selector.GetHandle ("contentViewInsets")); | |
+ } else if (Runtime.Arch == Arch.DEVICE) { | |
+ ret = global::ObjCRuntime.Messaging.UIEdgeInsets_objc_msgSend_stret (class_ptr, Selector.GetHandle ("contentViewInsets")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.UIEdgeInsets_objc_msgSend_stret (class_ptr, Selector.GetHandle ("contentViewInsets")); | |
+ } | |
+ return ret!; | |
+ } | |
} | |
internal unsafe sealed class UIPopoverBackgroundViewMethodsWrapper : BaseWrapper, IUIPopoverBackgroundViewMethods { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs | |
index 711f504..2894cc7 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverControllerDelegate.g.cs | |
@@ -84,7 +84,7 @@ namespace UIKit { | |
return ret != 0; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void WillReposition (this IUIPopoverControllerDelegate This, UIPopoverController popoverController, ref CGRect rect, ref UIView view) | |
+ public unsafe static void WillReposition (this IUIPopoverControllerDelegate This, UIPopoverController popoverController, ref CGRect rect, ref UIView view) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var popoverController__handle__ = popoverController!.GetNonNullHandle (nameof (popoverController)); | |
@@ -204,7 +204,7 @@ namespace UIKit { | |
} | |
[Export ("popoverController:willRepositionPopoverToRect:inView:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillReposition (UIPopoverController popoverController, ref CGRect rect, ref UIView view) | |
+ public unsafe virtual void WillReposition (UIPopoverController popoverController, ref CGRect rect, ref UIView view) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerDelegate.g.cs | |
index 9eefdc1..013281e 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIPopoverPresentationControllerDelegate.g.cs | |
@@ -100,7 +100,7 @@ namespace UIKit { | |
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("popoverPresentationControllerDidDismissPopover:"), popoverPresentationController__handle__); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void WillRepositionPopover (this IUIPopoverPresentationControllerDelegate This, UIPopoverPresentationController popoverPresentationController, ref CGRect targetRect, ref UIView inView) | |
+ public unsafe static void WillRepositionPopover (this IUIPopoverPresentationControllerDelegate This, UIPopoverPresentationController popoverPresentationController, ref CGRect targetRect, ref UIView inView) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var popoverPresentationController__handle__ = popoverPresentationController!.GetNonNullHandle (nameof (popoverPresentationController)); | |
@@ -233,7 +233,7 @@ namespace UIKit { | |
} | |
[Export ("popoverPresentationController:willRepositionPopoverToRect:inView:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillRepositionPopover (UIPopoverPresentationController popoverPresentationController, ref CGRect targetRect, ref UIView inView) | |
+ public unsafe virtual void WillRepositionPopover (UIPopoverPresentationController popoverPresentationController, ref CGRect targetRect, ref UIView inView) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIScrollViewDelegate.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIScrollViewDelegate.g.cs | |
index 0b35aa4..ea742a3 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIScrollViewDelegate.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIScrollViewDelegate.g.cs | |
@@ -165,7 +165,7 @@ namespace UIKit { | |
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("scrollViewWillBeginZooming:withView:"), scrollView__handle__, view__handle__); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void WillEndDragging (this IUIScrollViewDelegate This, UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe static void WillEndDragging (this IUIScrollViewDelegate This, UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var scrollView__handle__ = scrollView!.GetNonNullHandle (nameof (scrollView)); | |
@@ -350,7 +350,7 @@ namespace UIKit { | |
} | |
[Export ("scrollViewWillEndDragging:withVelocity:targetContentOffset:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIStringDrawing.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIStringDrawing.g.cs | |
index 4036dbb..19742c4 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIStringDrawing.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIStringDrawing.g.cs | |
@@ -132,7 +132,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CGSize DrawString (this NSString This, CGPoint point, nfloat width, UIFont font, nfloat minFontSize, ref nfloat actualFontSize, UILineBreakMode breakMode, UIBaselineAdjustment adjustment) | |
+ public unsafe static CGSize DrawString (this NSString This, CGPoint point, nfloat width, UIFont font, nfloat minFontSize, ref nfloat actualFontSize, UILineBreakMode breakMode, UIBaselineAdjustment adjustment) | |
{ | |
var font__handle__ = font!.GetNonNullHandle (nameof (font)); | |
CGSize ret; | |
@@ -316,7 +316,7 @@ namespace UIKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CGSize StringSize (this NSString This, UIFont font, nfloat minFontSize, ref nfloat actualFontSize, nfloat forWidth, UILineBreakMode lineBreakMode) | |
+ public unsafe static CGSize StringSize (this NSString This, UIFont font, nfloat minFontSize, ref nfloat actualFontSize, nfloat forWidth, UILineBreakMode lineBreakMode) | |
{ | |
var font__handle__ = font!.GetNonNullHandle (nameof (font)); | |
CGSize ret; | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UITextDragPreviewRenderer.g.cs b/new/dotnet/ios/generated-sources/UIKit/UITextDragPreviewRenderer.g.cs | |
index d256e93..8e6a8e3 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UITextDragPreviewRenderer.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UITextDragPreviewRenderer.g.cs | |
@@ -158,7 +158,7 @@ namespace UIKit { | |
} | |
[Export ("adjustFirstLineRect:bodyRect:lastLineRect:textOrigin:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void Adjust (ref CGRect firstLineRect, ref CGRect bodyRect, ref CGRect lastLineRect, CGPoint origin) | |
+ public unsafe virtual void Adjust (ref CGRect firstLineRect, ref CGRect bodyRect, ref CGRect lastLineRect, CGPoint origin) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UITraitDefinition.g.cs b/new/dotnet/ios/generated-sources/UIKit/UITraitDefinition.g.cs | |
index a8db1d8..4436f8b 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UITraitDefinition.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UITraitDefinition.g.cs | |
@@ -58,6 +58,41 @@ namespace UIKit { | |
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = true, Name = "AffectsColorAppearance", Selector = "affectsColorAppearance", PropertyType = typeof (bool), GetterSelector = "affectsColorAppearance", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface IUITraitDefinition : INativeObject, IDisposable | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string GetIdentifier<T> () where T: NSObject, IUITraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("identifier")))!; | |
+ #endif | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string GetName<T> () where T: NSObject, IUITraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("name")))!; | |
+ #endif | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool GetAffectsColorAppearance<T> () where T: NSObject, IUITraitDefinition | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ global::UIKit.UIApplication.EnsureUIThread (); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ byte ret; | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, Selector.GetHandle ("affectsColorAppearance")); | |
+ return ret != 0; | |
+ #endif | |
+ } | |
} | |
internal unsafe sealed class UITraitDefinitionWrapper : BaseWrapper, IUITraitDefinition { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/ios/generated-sources/UIKit/UIWebView.g.cs b/new/dotnet/ios/generated-sources/UIKit/UIWebView.g.cs | |
index 1e89231..b41c830 100644 | |
--- a/old/dotnet/ios/generated-sources/UIKit/UIWebView.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UIKit/UIWebView.g.cs | |
@@ -496,7 +496,7 @@ namespace UIKit { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
+ public unsafe virtual void WillEndDragging (UIScrollView scrollView, CGPoint velocity, ref CGPoint targetContentOffset) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var scrollView__handle__ = scrollView!.GetNonNullHandle (nameof (scrollView)); | |
diff --git a/old/dotnet/ios/generated-sources/UserNotifications/UNNotificationAttachment.g.cs b/new/dotnet/ios/generated-sources/UserNotifications/UNNotificationAttachment.g.cs | |
index dc536f5..2066792 100644 | |
--- a/old/dotnet/ios/generated-sources/UserNotifications/UNNotificationAttachment.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UserNotifications/UNNotificationAttachment.g.cs | |
@@ -187,7 +187,7 @@ namespace UserNotifications { | |
} | |
[Export ("attachmentWithIdentifier:URL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static UNNotificationAttachment? FromIdentifier (string identifier, NSUrl url, NSDictionary? options, out NSError? error) | |
+ public unsafe static UNNotificationAttachment? FromIdentifier (string identifier, NSUrl url, NSDictionary? options, out NSError? error) | |
{ | |
if (identifier is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (identifier)); | |
diff --git a/old/dotnet/ios/generated-sources/UserNotifications/UNNotificationContent.g.cs b/new/dotnet/ios/generated-sources/UserNotifications/UNNotificationContent.g.cs | |
index d96b6f4..4ce0eeb 100644 | |
--- a/old/dotnet/ios/generated-sources/UserNotifications/UNNotificationContent.g.cs | |
+++ b/new/dotnet/ios/generated-sources/UserNotifications/UNNotificationContent.g.cs | |
@@ -211,7 +211,7 @@ namespace UserNotifications { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual UNNotificationContent? Update (IUNNotificationContentProviding fromProvider, out NSError? outError) | |
+ public unsafe virtual UNNotificationContent? Update (IUNNotificationContentProviding fromProvider, out NSError? outError) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNAnimalBodyPoseObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNAnimalBodyPoseObservation.g.cs | |
index 2a9f2ba..8f0feb1 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNAnimalBodyPoseObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNAnimalBodyPoseObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("recognizedPointForJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNAnimalBodyPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNAnimalBodyPoseObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNAnimalBodyPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNAnimalBodyPoseObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -181,7 +181,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForJointsGroupName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNAnimalBodyPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNAnimalBodyPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNAnimalBodyPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNAnimalBodyPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNClassifyImageRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNClassifyImageRequest.g.cs | |
index b125a21..8749f32 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNClassifyImageRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNClassifyImageRequest.g.cs | |
@@ -166,7 +166,7 @@ namespace Vision { | |
[SupportedOSPlatform ("tvos13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static VNClassificationObservation[]? GetKnownClassifications (VNClassifyImageRequestRevision revision, out NSError? error) | |
+ public unsafe static VNClassificationObservation[]? GetKnownClassifications (VNClassifyImageRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -184,7 +184,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSString[]? GetSupportedIdentifiers (out NSError? error) | |
+ public unsafe virtual NSString[]? GetSupportedIdentifiers (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNContour.g.cs b/new/dotnet/ios/generated-sources/Vision/VNContour.g.cs | |
index 545a488..a806511 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNContour.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNContour.g.cs | |
@@ -158,7 +158,7 @@ namespace Vision { | |
} | |
[Export ("childContourAtIndex:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNContour? GetChildContour (nuint childContourIndex, out NSError? error) | |
+ public unsafe virtual VNContour? GetChildContour (nuint childContourIndex, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -176,7 +176,7 @@ namespace Vision { | |
} | |
[Export ("polygonApproximationWithEpsilon:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNContour? GetPolygonApproximation (float epsilon, out NSError? error) | |
+ public unsafe virtual VNContour? GetPolygonApproximation (float epsilon, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNContoursObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNContoursObservation.g.cs | |
index 2349e97..954680e 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNContoursObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNContoursObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("contourAtIndex:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNContour? GetContour (nint contourIndex, out NSError? error) | |
+ public unsafe virtual VNContour? GetContour (nint contourIndex, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -180,7 +180,7 @@ namespace Vision { | |
} | |
[Export ("contourAtIndexPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNContour? GetContour (NSIndexPath indexPath, out NSError? error) | |
+ public unsafe virtual VNContour? GetContour (NSIndexPath indexPath, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNCoreMLModel.g.cs b/new/dotnet/ios/generated-sources/Vision/VNCoreMLModel.g.cs | |
index e07cb68..3fd8879 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNCoreMLModel.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNCoreMLModel.g.cs | |
@@ -132,7 +132,7 @@ namespace Vision { | |
[Export ("modelForMLModel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static VNCoreMLModel? FromMLModel (global::CoreML.MLModel model, out NSError error) | |
+ public unsafe static VNCoreMLModel? FromMLModel (global::CoreML.MLModel model, out NSError error) | |
{ | |
var model__handle__ = model!.GetNonNullHandle (nameof (model)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectAnimalBodyPoseRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectAnimalBodyPoseRequest.g.cs | |
index 9920ac6..94b4830 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectAnimalBodyPoseRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectAnimalBodyPoseRequest.g.cs | |
@@ -159,7 +159,7 @@ namespace Vision { | |
[Export ("supportedJointNamesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNAnimalBodyPoseObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNAnimalBodyPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNAnimalBodyPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -188,7 +188,7 @@ namespace Vision { | |
[Export ("supportedJointsGroupNamesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNAnimalBodyPoseObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNAnimalBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNAnimalBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequest.g.cs | |
index 4d7fb8a..e2d0555 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequest.g.cs | |
@@ -151,7 +151,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public VNBarcodeSymbology[] GetSupportedSymbologies (out NSError? error) | |
+ public unsafe VNBarcodeSymbology[] GetSupportedSymbologies (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -165,7 +165,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual NSString[]? GetWeakSupportedSymbologies (out NSError? error) | |
+ protected unsafe virtual NSString[]? GetWeakSupportedSymbologies (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPose3DRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPose3DRequest.g.cs | |
index bfce733..68a2b35 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPose3DRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPose3DRequest.g.cs | |
@@ -175,7 +175,7 @@ namespace Vision { | |
[Export ("supportedJointNamesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPose3DObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanBodyPose3DObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanBodyPose3DObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -204,7 +204,7 @@ namespace Vision { | |
[Export ("supportedJointsGroupNamesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPose3DObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanBodyPose3DObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanBodyPose3DObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPoseRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPoseRequest.g.cs | |
index 785c884..fdf09c2 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPoseRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanBodyPoseRequest.g.cs | |
@@ -167,7 +167,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPoseObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public static global::Vision.VNHumanBodyPoseObservationJointName[]? GetSupportedJointNames (VNDetectHumanBodyPoseRequestRevision revision, out NSError? error) | |
+ public unsafe static global::Vision.VNHumanBodyPoseObservationJointName[]? GetSupportedJointNames (VNDetectHumanBodyPoseRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -191,7 +191,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPoseObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanBodyPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanBodyPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -228,7 +228,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPoseObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public static global::Vision.VNHumanBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (VNDetectHumanBodyPoseRequestRevision revision, out NSError? error) | |
+ public unsafe static global::Vision.VNHumanBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (VNDetectHumanBodyPoseRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -252,7 +252,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanBodyPoseObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanBodyPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanHandPoseRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanHandPoseRequest.g.cs | |
index 33bb098..5cd65ae 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectHumanHandPoseRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectHumanHandPoseRequest.g.cs | |
@@ -167,7 +167,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanHandPoseObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public static global::Vision.VNHumanHandPoseObservationJointName[]? GetSupportedJointNames (VNDetectHumanHandPoseRequestRevision revision, out NSError? error) | |
+ public unsafe static global::Vision.VNHumanHandPoseObservationJointName[]? GetSupportedJointNames (VNDetectHumanHandPoseRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -191,7 +191,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanHandPoseObservationJointName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanHandPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanHandPoseObservationJointName[]? GetSupportedJointNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -228,7 +228,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanHandPoseObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public static global::Vision.VNHumanHandPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (VNDetectHumanHandPoseRequestRevision revision, out NSError? error) | |
+ public unsafe static global::Vision.VNHumanHandPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (VNDetectHumanHandPoseRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -252,7 +252,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNHumanHandPoseObservationJointsGroupName[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNHumanHandPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
+ public unsafe virtual global::Vision.VNHumanHandPoseObservationJointsGroupName[]? GetSupportedJointsGroupNames (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNFeaturePrintObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNFeaturePrintObservation.g.cs | |
index 4702bca..2402c85 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNFeaturePrintObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNFeaturePrintObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("computeDistance:toFeaturePrintObservation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool _ComputeDistance (nint outDistance, VNFeaturePrintObservation featurePrint, out NSError? error) | |
+ internal unsafe virtual bool _ComputeDistance (nint outDistance, VNFeaturePrintObservation featurePrint, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNGeometryUtils.g.cs b/new/dotnet/ios/generated-sources/Vision/VNGeometryUtils.g.cs | |
index b1c4107..e4b3d6f 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNGeometryUtils.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNGeometryUtils.g.cs | |
@@ -138,7 +138,7 @@ namespace Vision { | |
[Export ("calculateArea:forContour:orientedArea:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool CalculateArea (out double area, VNContour contour, bool orientedArea, out NSError? error) | |
+ public unsafe static bool CalculateArea (out double area, VNContour contour, bool orientedArea, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -154,7 +154,7 @@ namespace Vision { | |
} | |
[Export ("calculatePerimeter:forContour:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool CalculatePerimeter (out double perimeter, VNContour contour, out NSError? error) | |
+ public unsafe static bool CalculatePerimeter (out double perimeter, VNContour contour, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -170,7 +170,7 @@ namespace Vision { | |
} | |
[Export ("boundingCircleForContour:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static VNCircle? CreateBoundingCircle (VNContour contour, out NSError? error) | |
+ public unsafe static VNCircle? CreateBoundingCircle (VNContour contour, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -185,7 +185,7 @@ namespace Vision { | |
} | |
[Export ("boundingCircleForPoints:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static VNCircle? CreateBoundingCircle (VNPoint[] points, out NSError? error) | |
+ public unsafe static VNCircle? CreateBoundingCircle (VNPoint[] points, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -203,7 +203,7 @@ namespace Vision { | |
} | |
[Export ("boundingCircleForSIMDPoints:pointCount:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal static VNCircle? CreateBoundingCircle (nint pointsPtr, nint pointCount, out NSError error) | |
+ internal unsafe static VNCircle? CreateBoundingCircle (nint pointsPtr, nint pointCount, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNHumanBodyPose3DObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNHumanBodyPose3DObservation.g.cs | |
index 891216d..eb11f35 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNHumanBodyPose3DObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNHumanBodyPose3DObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("getCameraRelativePosition:forJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetCameraRelativePosition (out NMatrix4 modelPositionOut, [BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual bool GetCameraRelativePosition (out NMatrix4 modelPositionOut, [BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -197,7 +197,7 @@ namespace Vision { | |
} | |
[Export ("pointInImageForJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNPoint? GetPointInImage ([BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual VNPoint? GetPointInImage ([BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -216,7 +216,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointForJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNHumanBodyRecognizedPoint3D? GetRecognizedPoint ([BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual VNHumanBodyRecognizedPoint3D? GetRecognizedPoint ([BindAs (typeof (VNHumanBodyPose3DObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -235,7 +235,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForJointsGroupName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNHumanBodyRecognizedPoint3D>? GetRecognizedPoints ([BindAs (typeof (VNHumanBodyPose3DObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointsGroupName jointName, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, VNHumanBodyRecognizedPoint3D>? GetRecognizedPoints ([BindAs (typeof (VNHumanBodyPose3DObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPose3DObservationJointsGroupName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNHumanBodyPoseObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNHumanBodyPoseObservation.g.cs | |
index 60d9a21..619c8c0 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNHumanBodyPoseObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNHumanBodyPoseObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("recognizedPointForJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNHumanBodyPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPoseObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNHumanBodyPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPoseObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -181,7 +181,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForJointsGroupName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNHumanBodyPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNHumanBodyPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanBodyPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNHumanHandPoseObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNHumanHandPoseObservation.g.cs | |
index 34a714c..9649759 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNHumanHandPoseObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNHumanHandPoseObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("recognizedPointForJointName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNHumanHandPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanHandPoseObservationJointName jointName, out NSError? error) | |
+ public unsafe virtual VNRecognizedPoint? GetRecognizedPoint ([BindAs (typeof (VNHumanHandPoseObservationJointName), OriginalType = typeof (NSString))] global::Vision.VNHumanHandPoseObservationJointName jointName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -181,7 +181,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForJointsGroupName:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNHumanHandPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanHandPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints ([BindAs (typeof (VNHumanHandPoseObservationJointsGroupName), OriginalType = typeof (NSString))] global::Vision.VNHumanHandPoseObservationJointsGroupName jointsGroupName, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNImageRequestHandler.g.cs b/new/dotnet/ios/generated-sources/Vision/VNImageRequestHandler.g.cs | |
index 8d83e4c..eb8ea3a 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNImageRequestHandler.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNImageRequestHandler.g.cs | |
@@ -424,7 +424,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNInstanceMaskObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNInstanceMaskObservation.g.cs | |
index de6a308..8d9a55c 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNInstanceMaskObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNInstanceMaskObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("generateMaskForInstances:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CoreVideo.CVPixelBuffer? GenerateMask (NSIndexSet instances, out NSError? error) | |
+ public unsafe virtual global::CoreVideo.CVPixelBuffer? GenerateMask (NSIndexSet instances, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -181,7 +181,7 @@ namespace Vision { | |
} | |
[Export ("generateMaskedImageOfInstances:fromRequestHandler:croppedToInstancesExtent:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CoreVideo.CVPixelBuffer? GenerateMaskedImage (NSIndexSet instances, VNImageRequestHandler requestHandler, bool cropResult, out NSError? error) | |
+ public unsafe virtual global::CoreVideo.CVPixelBuffer? GenerateMaskedImage (NSIndexSet instances, VNImageRequestHandler requestHandler, bool cropResult, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -201,7 +201,7 @@ namespace Vision { | |
} | |
[Export ("generateScaledMaskForImageForInstances:fromRequestHandler:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CoreVideo.CVPixelBuffer? GenerateScaledMask (NSIndexSet instances, VNImageRequestHandler requestHandler, out NSError? error) | |
+ public unsafe virtual global::CoreVideo.CVPixelBuffer? GenerateScaledMask (NSIndexSet instances, VNImageRequestHandler requestHandler, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizeAnimalsRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizeAnimalsRequest.g.cs | |
index dbf4ab6..86d391b 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizeAnimalsRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizeAnimalsRequest.g.cs | |
@@ -167,7 +167,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNAnimalIdentifier[]), OriginalType = typeof (NSString[]))] | |
- public static global::Vision.VNAnimalIdentifier[]? GetKnownAnimalIdentifiers (VNRecognizeAnimalsRequestRevision revision, out NSError? error) | |
+ public unsafe static global::Vision.VNAnimalIdentifier[]? GetKnownAnimalIdentifiers (VNRecognizeAnimalsRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -191,7 +191,7 @@ namespace Vision { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (VNAnimalIdentifier[]), OriginalType = typeof (NSString[]))] | |
- public virtual global::Vision.VNAnimalIdentifier[]? GetSupportedIdentifiers (out NSError? error) | |
+ public unsafe virtual global::Vision.VNAnimalIdentifier[]? GetSupportedIdentifiers (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequest.g.cs | |
index 06aa54e..697113d 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequest.g.cs | |
@@ -166,7 +166,7 @@ namespace Vision { | |
[SupportedOSPlatform ("tvos13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string[]? GetSupportedRecognitionLanguages (VNRequestTextRecognitionLevel textRecognitionLevel, VNRecognizeTextRequestRevision revision, out NSError? error) | |
+ public unsafe static string[]? GetSupportedRecognitionLanguages (VNRequestTextRecognitionLevel textRecognitionLevel, VNRecognizeTextRequestRevision revision, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -184,7 +184,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSString[]? GetSupportedRecognitionLanguages (out NSError? error) | |
+ public unsafe virtual NSString[]? GetSupportedRecognitionLanguages (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizedPoints3DObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizedPoints3DObservation.g.cs | |
index a134d3f..8fb4f8d 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizedPoints3DObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizedPoints3DObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("recognizedPointForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRecognizedPoint3D? GetRecognizedPoint (NSString pointKey, out NSError? error) | |
+ public unsafe virtual VNRecognizedPoint3D? GetRecognizedPoint (NSString pointKey, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -181,7 +181,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForGroupKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNRecognizedPoint3D>? GetRecognizedPoints (NSString groupKey, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, VNRecognizedPoint3D>? GetRecognizedPoints (NSString groupKey, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizedPointsObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizedPointsObservation.g.cs | |
index 475fc96..c437020 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizedPointsObservation.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizedPointsObservation.g.cs | |
@@ -162,7 +162,7 @@ namespace Vision { | |
[Export ("keypointsMultiArrayAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CoreML.MLMultiArray? GetKeypoints (out NSError error) | |
+ public unsafe virtual global::CoreML.MLMultiArray? GetKeypoints (out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -180,7 +180,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRecognizedPoint? GetRecognizedPoint (NSString pointKey, out NSError error) | |
+ public unsafe virtual VNRecognizedPoint? GetRecognizedPoint (NSString pointKey, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -198,7 +198,7 @@ namespace Vision { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public VNRecognizedPoint? GetRecognizedPoint (VNHumanHandPoseObservationJointName handLandmark, out NSError error) | |
+ public unsafe VNRecognizedPoint? GetRecognizedPoint (VNHumanHandPoseObservationJointName handLandmark, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -207,7 +207,7 @@ namespace Vision { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public VNRecognizedPoint? GetRecognizedPoint (VNHumanBodyPoseObservationJointName bodyLandmark, out NSError error) | |
+ public unsafe VNRecognizedPoint? GetRecognizedPoint (VNHumanBodyPoseObservationJointName bodyLandmark, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -217,7 +217,7 @@ namespace Vision { | |
} | |
[Export ("recognizedPointsForGroupKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (NSString groupKey, out NSError error) | |
+ public unsafe virtual NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (NSString groupKey, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -235,7 +235,7 @@ namespace Vision { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (VNHumanBodyPoseObservationJointsGroupName bodyLandmarkRegion, out NSError error) | |
+ public unsafe NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (VNHumanBodyPoseObservationJointsGroupName bodyLandmarkRegion, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -244,7 +244,7 @@ namespace Vision { | |
#endif | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (VNHumanHandPoseObservationJointsGroupName handLandmarkRegion, out NSError error) | |
+ public unsafe NSDictionary<NSString, VNRecognizedPoint>? GetRecognizedPoints (VNHumanHandPoseObservationJointsGroupName handLandmarkRegion, out NSError error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizedText.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizedText.g.cs | |
index fd5cb7a..a04f53f 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizedText.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizedText.g.cs | |
@@ -197,7 +197,7 @@ namespace Vision { | |
} | |
[Export ("boundingBoxForRange:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual VNRectangleObservation? GetBoundingBox (NSRange range, out NSError? error) | |
+ public unsafe virtual VNRectangleObservation? GetBoundingBox (NSRange range, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRequest.g.cs | |
index d31b25a..90a9d37 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRequest.g.cs | |
@@ -214,7 +214,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios17.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, NSArray<global::CoreML.IMLComputeDeviceProtocol>>? GetSupportedComputeDevices (out NSError? error) | |
+ public unsafe virtual NSDictionary<NSString, NSArray<global::CoreML.IMLComputeDeviceProtocol>>? GetSupportedComputeDevices (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNSequenceRequestHandler.g.cs b/new/dotnet/ios/generated-sources/Vision/VNSequenceRequestHandler.g.cs | |
index c1887b0..0a605ee 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNSequenceRequestHandler.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNSequenceRequestHandler.g.cs | |
@@ -144,7 +144,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCVPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -163,7 +163,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCVPixelBuffer:orientation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreVideo.CVPixelBuffer pixelBuffer, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreVideo.CVPixelBuffer pixelBuffer, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -182,7 +182,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCGImage:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, CGImage image, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, CGImage image, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -201,7 +201,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCGImage:orientation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -220,7 +220,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCIImage:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreImage.CIImage image, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreImage.CIImage image, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -239,7 +239,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onCIImage:orientation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreImage.CIImage image, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreImage.CIImage image, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -258,7 +258,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onImageURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, NSUrl imageUrl, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, NSUrl imageUrl, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -277,7 +277,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onImageURL:orientation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, NSUrl imageUrl, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, NSUrl imageUrl, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -296,7 +296,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onImageData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, NSData imageData, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, NSData imageData, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -315,7 +315,7 @@ namespace Vision { | |
} | |
[Export ("performRequests:onImageData:orientation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, NSData imageData, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, NSData imageData, global::ImageIO.CGImagePropertyOrientation orientation, out NSError error) | |
{ | |
if (requests is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests)); | |
@@ -338,7 +338,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreMedia.CMSampleBuffer sampleBuffer, out NSError? error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreMedia.CMSampleBuffer sampleBuffer, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -365,7 +365,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Perform (VNRequest[] requests, global::CoreMedia.CMSampleBuffer sampleBuffer, global::ImageIO.CGImagePropertyOrientation orientation, out NSError? error) | |
+ public unsafe virtual bool Perform (VNRequest[] requests, global::CoreMedia.CMSampleBuffer sampleBuffer, global::ImageIO.CGImagePropertyOrientation orientation, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNTrackingRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNTrackingRequest.g.cs | |
index dcf06db..54061df 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNTrackingRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNTrackingRequest.g.cs | |
@@ -152,7 +152,7 @@ namespace Vision { | |
[SupportedOSPlatform ("ios17.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint GetSupportedNumberOfTrackers (out NSError? error) | |
+ public unsafe virtual nuint GetSupportedNumberOfTrackers (out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNVideoProcessor.g.cs b/new/dotnet/ios/generated-sources/Vision/VNVideoProcessor.g.cs | |
index c1388de..dce08a3 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNVideoProcessor.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNVideoProcessor.g.cs | |
@@ -154,7 +154,7 @@ namespace Vision { | |
} | |
[Export ("addRequest:processingOptions:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AddRequest (VNRequest request, VNVideoProcessorRequestProcessingOptions processingOptions, out NSError? error) | |
+ public unsafe virtual bool AddRequest (VNRequest request, VNVideoProcessorRequestProcessingOptions processingOptions, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -174,7 +174,7 @@ namespace Vision { | |
} | |
[Export ("analyzeTimeRange:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Analyze (global::CoreMedia.CMTimeRange timeRange, out NSError? error) | |
+ public unsafe virtual bool Analyze (global::CoreMedia.CMTimeRange timeRange, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
@@ -206,7 +206,7 @@ namespace Vision { | |
} | |
[Export ("removeRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveRequest (VNRequest request, out NSError? error) | |
+ public unsafe virtual bool RemoveRequest (VNRequest request, out NSError? error) | |
{ | |
#if ARCH_32 | |
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
diff --git a/old/dotnet/ios/generated-sources/WatchConnectivity/WCSession.g.cs b/new/dotnet/ios/generated-sources/WatchConnectivity/WCSession.g.cs | |
index 7ae15b5..fc5ecb0 100644 | |
--- a/old/dotnet/ios/generated-sources/WatchConnectivity/WCSession.g.cs | |
+++ b/new/dotnet/ios/generated-sources/WatchConnectivity/WCSession.g.cs | |
@@ -210,7 +210,7 @@ namespace WatchConnectivity { | |
} | |
[Export ("updateApplicationContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool UpdateApplicationContext (NSDictionary<NSString, NSObject> applicationContext, out NSError error) | |
+ public unsafe virtual bool UpdateApplicationContext (NSDictionary<NSString, NSObject> applicationContext, out NSError error) | |
{ | |
var applicationContext__handle__ = applicationContext!.GetNonNullHandle (nameof (applicationContext)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json | |
index fe40217..674a2d5 100644 | |
--- a/old/dotnet/maccatalyst/SourceLink.json | |
+++ b/new/dotnet/maccatalyst/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/6d764a8bc65495b43e253ec39283c9ca4c850b0f/src*" | |
+ "/Users/builder/azdo/_work/1/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/0d3ae849b9d531e17d937dfb92b0602633964683/src*" | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsset.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsset.g.cs | |
index 8057af7..9a7fc99 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsset.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsset.g.cs | |
@@ -572,7 +572,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus StatusOfValue (string key, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus StatusOfValue (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
index 041fe65..c7a72d7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetImageGenerator.g.cs | |
@@ -164,7 +164,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError) | |
+ public unsafe virtual CGImage? CopyCGImageAtTime (global::CoreMedia.CMTime requestedTime, out global::CoreMedia.CMTime actualTime, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
actualTime = default (global::CoreMedia.CMTime); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetReader.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetReader.g.cs | |
index 3858199..a376fc3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetReader.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetReader.g.cs | |
@@ -133,7 +133,7 @@ namespace AVFoundation { | |
[Export ("initWithAsset:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAssetReader (AVAsset asset, out NSError error) | |
+ public unsafe AVAssetReader (AVAsset asset, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
@@ -181,7 +181,7 @@ namespace AVFoundation { | |
} | |
[Export ("assetReaderWithAsset:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAssetReader? FromAsset (AVAsset asset, out NSError error) | |
+ public unsafe static AVAssetReader? FromAsset (AVAsset asset, out NSError error) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
index 4261f21..2352e78 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetResourceLoadingRequest.g.cs | |
@@ -182,7 +182,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error) | |
+ public unsafe virtual NSData? GetPersistentContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError error) | |
{ | |
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse)); | |
var options__handle__ = options.GetHandle (); | |
@@ -206,7 +206,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error) | |
+ public unsafe virtual NSData? GetStreamingContentKey (NSData appIdentifier, NSData contentIdentifier, NSDictionary? options, out NSError error) | |
{ | |
var appIdentifier__handle__ = appIdentifier!.GetNonNullHandle (nameof (appIdentifier)); | |
var contentIdentifier__handle__ = contentIdentifier!.GetNonNullHandle (nameof (contentIdentifier)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetWriter.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
index 180ec55..8c86720 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAssetWriter.g.cs | |
@@ -133,7 +133,7 @@ namespace AVFoundation { | |
[Export ("initWithURL:fileType:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error) | |
+ public unsafe AVAssetWriter (NSUrl outputUrl, string outputFileType, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl)); | |
@@ -336,7 +336,7 @@ namespace AVFoundation { | |
} | |
[Export ("assetWriterWithURL:fileType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error) | |
+ public unsafe static AVAssetWriter? FromUrl (NSUrl outputUrl, string outputFileType, out NSError error) | |
{ | |
var outputUrl__handle__ = outputUrl!.GetNonNullHandle (nameof (outputUrl)); | |
if (outputFileType is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
index 67f8d05..339773c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs | |
@@ -61,7 +61,7 @@ namespace AVFoundation { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("statusOfValueForKey:error:")] | |
[Preserve (Conditional = true)] | |
- AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error); | |
+ unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("loadValuesAsynchronouslyForKeys:completionHandler:")] | |
[Preserve (Conditional = true)] | |
@@ -75,7 +75,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
+ public unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
{ | |
if (forKey is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (forKey)); | |
@@ -191,7 +191,7 @@ namespace AVFoundation { | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioConverter.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
index 8bd4878..d468cdb 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioConverter.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
} | |
[Export ("convertToBuffer:fromBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError) | |
+ public unsafe virtual bool ConvertToBuffer (AVAudioPcmBuffer outputBuffer, AVAudioPcmBuffer inputBuffer, out NSError? outError) | |
{ | |
var outputBuffer__handle__ = outputBuffer!.GetNonNullHandle (nameof (outputBuffer)); | |
var inputBuffer__handle__ = inputBuffer!.GetNonNullHandle (nameof (inputBuffer)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioEngine.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
index 60634d6..dbae0a1 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioEngine.g.cs | |
@@ -385,7 +385,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError) | |
+ public unsafe virtual bool EnableManualRenderingMode (AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, uint maximumFrameCount, out NSError outError) | |
{ | |
var pcmFormat__handle__ = pcmFormat!.GetNonNullHandle (nameof (pcmFormat)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -454,7 +454,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError) | |
+ public unsafe virtual AVAudioEngineManualRenderingStatus RenderOffline (uint numberOfFrames, AVAudioPcmBuffer buffer, out NSError? outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -479,7 +479,7 @@ namespace AVFoundation { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartAndReturnError (out NSError outError) | |
+ public unsafe virtual bool StartAndReturnError (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFile.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFile.g.cs | |
index 7e38928..880912f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFile.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFile.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initForReading:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -159,7 +159,7 @@ namespace AVFoundation { | |
} | |
[Export ("initForReading:commonFormat:interleaved:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -173,7 +173,7 @@ namespace AVFoundation { | |
} | |
[Export ("initForWriting:settings:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError) | |
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -187,13 +187,13 @@ namespace AVFoundation { | |
outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, out NSError outError) | |
: this (fileUrl, settings.GetDictionary ()!, out outError) | |
{ | |
} | |
[Export ("initForWriting:settings:commonFormat:interleaved:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ internal unsafe AVAudioFile (NSUrl fileUrl, NSDictionary settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
@@ -207,13 +207,13 @@ namespace AVFoundation { | |
outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
+ public unsafe AVAudioFile (NSUrl fileUrl, AudioSettings settings, AVAudioCommonFormat format, bool interleaved, out NSError outError) | |
: this (fileUrl, settings.GetDictionary ()!, format, interleaved, out outError) | |
{ | |
} | |
[Export ("readIntoBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -228,7 +228,7 @@ namespace AVFoundation { | |
} | |
[Export ("readIntoBuffer:frameCount:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError) | |
+ public unsafe virtual bool ReadIntoBuffer (AVAudioPcmBuffer buffer, uint frames, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -243,7 +243,7 @@ namespace AVFoundation { | |
} | |
[Export ("writeFromBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
+ public unsafe virtual bool WriteFromBuffer (AVAudioPcmBuffer buffer, out NSError outError) | |
{ | |
var buffer__handle__ = buffer!.GetNonNullHandle (nameof (buffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFormat.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
index 3e90d91..20a5b5b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioFormat.g.cs | |
@@ -165,7 +165,7 @@ namespace AVFoundation { | |
[Export ("initWithStreamDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description) | |
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (IsDirectBinding) { | |
@@ -176,7 +176,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithStreamDescription:channelLayout:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout) | |
+ public unsafe AVAudioFormat (ref global::AudioToolbox.AudioStreamBasicDescription description, AVAudioChannelLayout? layout) | |
: base (NSObjectFlag.Empty) | |
{ | |
var layout__handle__ = layout.GetHandle (); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioIONode.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
index 81832e7..49f5ece 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioIONode.g.cs | |
@@ -136,7 +136,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError) | |
+ public unsafe virtual bool SetVoiceProcessingEnabled (bool enabled, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
index 183face..7ee7c34 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioMixInputParameters.g.cs | |
@@ -165,7 +165,7 @@ namespace AVFoundation { | |
} | |
[Export ("getVolumeRampForTime:startVolume:endVolume:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetVolumeRamp (global::CoreMedia.CMTime forTime, ref float startVolume, ref float endVolume, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioPlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
index 1c74299..e309ee9 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioPlayer.g.cs | |
@@ -136,7 +136,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError) | |
+ public unsafe AVAudioPlayer (NSData data, string? fileTypeHint, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -156,7 +156,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError) | |
+ public unsafe AVAudioPlayer (NSUrl url, string? fileTypeHint, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioRecorder.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
index eae676a..46783ea 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioRecorder.g.cs | |
@@ -167,7 +167,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithURL:settings:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error) | |
+ internal unsafe virtual nint InitWithUrl (NSUrl url, NSDictionary settings, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var settings__handle__ = settings!.GetNonNullHandle (nameof (settings)); | |
@@ -187,7 +187,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError) | |
+ internal unsafe virtual nint InitWithUrl (NSUrl url, AVAudioFormat format, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSequencer.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
index 4928cfd..8a9e208 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSequencer.g.cs | |
@@ -167,7 +167,7 @@ namespace AVFoundation { | |
} | |
[Export ("beatsForHostTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual double GetBeats (ulong inHostTime, out NSError outError) | |
+ public unsafe virtual double GetBeats (ulong inHostTime, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
double ret; | |
@@ -181,7 +181,7 @@ namespace AVFoundation { | |
} | |
[Export ("dataWithSMPTEResolution:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData GetData (nint smpteResolution, out NSError outError) | |
+ public unsafe virtual NSData GetData (nint smpteResolution, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -195,7 +195,7 @@ namespace AVFoundation { | |
} | |
[Export ("hostTimeForBeats:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ulong GetHostTime (double inBeats, out NSError outError) | |
+ public unsafe virtual ulong GetHostTime (double inBeats, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
ulong ret; | |
@@ -219,7 +219,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadFromURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError) | |
+ public unsafe virtual bool Load (NSUrl fileUrl, AVMusicSequenceLoadOptions options, out NSError outError) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -234,7 +234,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadFromData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError) | |
+ public unsafe virtual bool Load (NSData data, AVMusicSequenceLoadOptions options, out NSError outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -259,7 +259,7 @@ namespace AVFoundation { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError outError) | |
+ public unsafe virtual bool Start (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -283,7 +283,7 @@ namespace AVFoundation { | |
} | |
[Export ("writeToURL:SMPTEResolution:replaceExisting:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError) | |
+ public unsafe virtual bool Write (NSUrl fileUrl, nint resolution, bool replace, out NSError outError) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSession.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSession.g.cs | |
index 372b611..e157005 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSession.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSession.g.cs | |
@@ -195,7 +195,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError) | |
+ public unsafe virtual bool OverrideOutputAudioPort (AVAudioSessionPortOverride portOverride, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -231,7 +231,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetActive (bool beActive, out NSError outError) | |
+ public unsafe virtual bool SetActive (bool beActive, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -258,7 +258,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError) | |
+ public unsafe virtual bool SetActive (bool active, AVAudioSessionSetActiveOptions options, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -285,7 +285,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error) | |
+ public unsafe virtual bool SetAggregatedIOPreference (AVAudioSessionIOType ioType, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -303,7 +303,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetAllowHapticsAndSystemSoundsDuringRecording (bool inValue, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -321,7 +321,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (NSString theCategory, out NSError outError) | |
+ public unsafe virtual bool SetCategory (NSString theCategory, out NSError outError) | |
{ | |
var theCategory__handle__ = theCategory!.GetNonNullHandle (nameof (theCategory)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -358,7 +358,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe virtual bool SetCategory (string category, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -388,7 +388,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, options, out outError); | |
} | |
@@ -398,7 +398,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -423,7 +423,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode, options, out outError); | |
} | |
@@ -441,7 +441,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode.GetConstant ()!, options, out outError); | |
} | |
@@ -460,7 +460,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe virtual bool SetCategory (string category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
if (category is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (category)); | |
@@ -485,7 +485,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode, policy, options, out outError); | |
} | |
@@ -494,7 +494,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
+ public unsafe bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out NSError? outError) | |
{ | |
return SetCategory (category.GetConstant ()!, mode.GetConstant ()!, policy, options, out outError); | |
} | |
@@ -504,7 +504,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetInputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -525,7 +525,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetInputGain (float gain, out NSError outError) | |
+ public unsafe virtual bool SetInputGain (float gain, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -543,7 +543,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetMode (NSString mode, out NSError error) | |
+ public unsafe virtual bool SetMode (NSString mode, out NSError error) | |
{ | |
var mode__handle__ = mode!.GetNonNullHandle (nameof (mode)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -561,7 +561,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetMode (AVAudioSessionMode mode, out NSError error) | |
+ public unsafe bool SetMode (AVAudioSessionMode mode, out NSError error) | |
{ | |
return SetMode (mode.GetConstant ()!, out error); | |
} | |
@@ -571,7 +571,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetOutputDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -594,7 +594,7 @@ namespace AVFoundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'SetPreferredSampleRate' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError) | |
+ public unsafe virtual bool SetPreferredHardwareSampleRate (double sampleRate, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -612,7 +612,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError) | |
+ public unsafe virtual bool SetPreferredIOBufferDuration (double duration, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -630,7 +630,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError) | |
+ public unsafe virtual bool SetPreferredInput (AVAudioSessionPortDescription? inPort, out NSError outError) | |
{ | |
var inPort__handle__ = inPort.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -649,7 +649,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError) | |
+ public unsafe virtual bool SetPreferredInputNumberOfChannels (nint count, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -667,7 +667,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError) | |
+ public unsafe virtual bool SetPreferredInputOrientation (AVAudioStereoOrientation orientation, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -685,7 +685,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError) | |
+ public unsafe virtual bool SetPreferredOutputNumberOfChannels (nint count, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -703,7 +703,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredSampleRate (double sampleRate, out NSError error) | |
+ public unsafe virtual bool SetPreferredSampleRate (double sampleRate, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -721,7 +721,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios14.5")] | |
[SupportedOSPlatform ("maccatalyst14.5")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -739,7 +739,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError) | |
+ public unsafe virtual bool SetSupportsMultichannelContent (bool inValue, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
index f1be6e1..a8ee8fe 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionDataSourceDescription.g.cs | |
@@ -149,7 +149,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError) | |
+ internal unsafe virtual bool SetPreferredPolarPattern_ (NSString? pattern, out NSError outError) | |
{ | |
var pattern__handle__ = pattern.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
index df41c8e..631a7de 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioSessionPortDescription.g.cs | |
@@ -149,7 +149,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
+ public unsafe virtual bool SetPreferredDataSource (AVAudioSessionDataSourceDescription? dataSource, out NSError outError) | |
{ | |
var dataSource__handle__ = dataSource.GetHandle (); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioTime.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioTime.g.cs | |
index 3c1e7cb..e3ad209 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioTime.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioTime.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initWithAudioTimeStamp:sampleRate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
+ public unsafe AVAudioTime (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (IsDirectBinding) { | |
@@ -200,7 +200,7 @@ namespace AVFoundation { | |
} | |
[Export ("timeWithAudioTimeStamp:sampleRate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
+ public unsafe static AVAudioTime FromAudioTimeStamp (ref global::AudioToolbox.AudioTimeStamp timestamp, double sampleRate) | |
{ | |
return Runtime.GetNSObject<AVAudioTime> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_AudioTimeStamp_Double (class_ptr, Selector.GetHandle ("timeWithAudioTimeStamp:sampleRate:"), (global::AudioToolbox.AudioTimeStamp*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::AudioToolbox.AudioTimeStamp> (ref timestamp), sampleRate))!; | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnit.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
index 859c471..328e702 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnit.g.cs | |
@@ -162,7 +162,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadAudioUnitPresetAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error) | |
+ public unsafe virtual bool LoadAudioUnitPreset (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
index e669633..3975907 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVAudioUnitSampler.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("loadAudioFilesAtURLs:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError) | |
+ public unsafe virtual bool LoadAudioFiles (NSUrl[] audioFiles, out NSError outError) | |
{ | |
if (audioFiles is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (audioFiles)); | |
@@ -163,7 +163,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadInstrumentAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError) | |
+ public unsafe virtual bool LoadInstrument (NSUrl instrumentUrl, out NSError outError) | |
{ | |
var instrumentUrl__handle__ = instrumentUrl!.GetNonNullHandle (nameof (instrumentUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -178,7 +178,7 @@ namespace AVFoundation { | |
} | |
[Export ("loadSoundBankInstrumentAtURL:program:bankMSB:bankLSB:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError) | |
+ public unsafe virtual bool LoadSoundBank (NSUrl bankUrl, byte program, byte bankMSB, byte bankLSB, out NSError outError) | |
{ | |
var bankUrl__handle__ = bankUrl!.GetNonNullHandle (nameof (bankUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDevice.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
index 15ba6c8..d4c617f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDevice.g.cs | |
@@ -466,7 +466,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LockForConfiguration (out NSError error) | |
+ public unsafe virtual bool LockForConfiguration (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -624,7 +624,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetTorchModeLevel (float torchLevel, out NSError outError) | |
+ public unsafe virtual bool SetTorchModeLevel (float torchLevel, out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
index 9418d64..8fa23d8 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceInput.g.cs | |
@@ -132,7 +132,7 @@ namespace AVFoundation { | |
[Export ("initWithDevice:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVCaptureDeviceInput (AVCaptureDevice device, out NSError error) | |
+ public unsafe AVCaptureDeviceInput (AVCaptureDevice device, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
@@ -146,7 +146,7 @@ namespace AVFoundation { | |
} | |
[Export ("deviceInputWithDevice:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error) | |
+ public unsafe static AVCaptureDeviceInput? FromDevice (AVCaptureDevice device, out NSError error) | |
{ | |
var device__handle__ = device!.GetNonNullHandle (nameof (device)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
index 73e68f7..67e5e00 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureMetadataInput.g.cs | |
@@ -144,7 +144,7 @@ namespace AVFoundation { | |
} | |
[Export ("appendTimedMetadataGroup:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError) | |
+ public unsafe virtual bool AppendTimedMetadataGroup (AVTimedMetadataGroup metadata, out NSError outError) | |
{ | |
var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
index bb7eef2..4b246a4 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs | |
@@ -75,7 +75,7 @@ namespace AVFoundation { | |
return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("replacementMetadataForPhoto:"), photo__handle__))!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo) | |
+ public unsafe static global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (this IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo) | |
{ | |
var photo__handle__ = photo!.GetNonNullHandle (nameof (photo)); | |
NativeHandle replacementEmbeddedThumbnailPhotoFormatOutValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVContentKeyRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
index 89e1788..a056770 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVContentKeyRequest.g.cs | |
@@ -219,7 +219,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error) | |
+ public unsafe virtual bool RespondByRequestingPersistableContentKeyRequest (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVDepthData.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVDepthData.g.cs | |
index cc9308b..25ee33d 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVDepthData.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVDepthData.g.cs | |
@@ -152,7 +152,7 @@ namespace AVFoundation { | |
} | |
[Export ("depthDataFromDictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
+ public unsafe static AVDepthData? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
{ | |
var imageSourceAuxDataInfoDictionary__handle__ = imageSourceAuxDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxDataInfoDictionary)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -163,7 +163,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
NativeHandle outAuxDataTypeValue = IntPtr.Zero; | |
NSDictionary? ret; | |
@@ -177,7 +177,7 @@ namespace AVFoundation { | |
} | |
[Export ("depthDataByReplacingDepthDataMapWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
+ public unsafe virtual AVDepthData? ReplaceDepthDataMap (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
{ | |
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMetadataItem.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
index c420138..e550e7c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMetadataItem.g.cs | |
@@ -339,7 +339,7 @@ namespace AVFoundation { | |
} | |
[Export ("statusOfValueForKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error) | |
+ public unsafe virtual AVKeyValueStatus StatusOfValueForKeyerror (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMidiPlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
index 04f3b42..d3bcc4e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMidiPlayer.g.cs | |
@@ -145,7 +145,7 @@ namespace AVFoundation { | |
[Export ("initWithContentsOfURL:soundBankURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError) | |
+ public unsafe AVMidiPlayer (NSUrl contentsUrl, NSUrl? soundBankUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var contentsUrl__handle__ = contentsUrl!.GetNonNullHandle (nameof (contentsUrl)); | |
@@ -160,7 +160,7 @@ namespace AVFoundation { | |
} | |
[Export ("initWithData:soundBankURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError) | |
+ public unsafe AVMidiPlayer (NSData data, NSUrl? sounddBankUrl, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
index 229b460..8126093 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMovie_AVMovieMovieHeaderSupport.g.cs | |
@@ -62,7 +62,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError) | |
+ public unsafe static NSData? GetMovieHeader (this AVMovie This, string fileType, out NSError? outError) | |
{ | |
if (fileType is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (fileType)); | |
@@ -96,7 +96,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError) | |
+ public unsafe static bool WriteMovieHeader (this AVMovie This, NSUrl URL, string fileType, AVMovieWritingOptions options, out NSError? outError) | |
{ | |
var URL__handle__ = URL!.GetNonNullHandle (nameof (URL)); | |
if (fileType is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableComposition.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
index 84324e5..a270bd1 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableComposition.g.cs | |
@@ -199,7 +199,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofAsset:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error) | |
+ public unsafe virtual bool Insert (global::CoreMedia.CMTimeRange insertTimeRange, AVAsset sourceAsset, global::CoreMedia.CMTime atTime, out NSError error) | |
{ | |
var sourceAsset__handle__ = sourceAsset!.GetNonNullHandle (nameof (sourceAsset)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
index 985fdb7..fa1a77e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableCompositionTrack.g.cs | |
@@ -161,7 +161,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofTrack:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error) | |
+ public unsafe virtual bool InsertTimeRange (global::CoreMedia.CMTimeRange timeRange, AVAssetTrack ofTrack, global::CoreMedia.CMTime atTime, out NSError error) | |
{ | |
var ofTrack__handle__ = ofTrack!.GetNonNullHandle (nameof (ofTrack)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -176,7 +176,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRanges:ofTracks:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error) | |
+ public unsafe virtual bool InsertTimeRanges (NSValue[] cmTimeRanges, AVAssetTrack[] tracks, global::CoreMedia.CMTime startTime, out NSError error) | |
{ | |
if (cmTimeRanges is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (cmTimeRanges)); | |
@@ -253,7 +253,7 @@ namespace AVFoundation { | |
} | |
[Export ("validateTrackSegments:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error) | |
+ public unsafe virtual bool ValidateTrackSegments (AVCompositionTrackSegment[] trackSegments, out NSError error) | |
{ | |
if (trackSegments is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (trackSegments)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
index f0a7297..319e6ae 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie.g.cs | |
@@ -146,7 +146,7 @@ namespace AVFoundation { | |
[Export ("initWithURL:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var URL__handle__ = URL!.GetNonNullHandle (nameof (URL)); | |
@@ -162,7 +162,7 @@ namespace AVFoundation { | |
[Export ("initWithData:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -178,7 +178,7 @@ namespace AVFoundation { | |
[Export ("initWithSettingsFromMovie:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe AVMutableMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var movie__handle__ = movie.GetHandle (); | |
@@ -193,7 +193,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromData (NSData data, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var options__handle__ = options.GetHandle (); | |
@@ -205,7 +205,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithSettingsFromMovie:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromMovie (AVMovie? movie, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
var movie__handle__ = movie.GetHandle (); | |
var options__handle__ = options.GetHandle (); | |
@@ -217,7 +217,7 @@ namespace AVFoundation { | |
} | |
[Export ("movieWithURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
+ public unsafe static AVMutableMovie? FromUrl (NSUrl URL, NSDictionary<NSString, NSObject>? options, out NSError? outError) | |
{ | |
var URL__handle__ = URL!.GetNonNullHandle (nameof (URL)); | |
var options__handle__ = options.GetHandle (); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
index db350d2..eb27ef5 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack.g.cs | |
@@ -136,7 +136,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error) | |
+ public unsafe virtual bool AppendSampleBuffer (global::CoreMedia.CMSampleBuffer sampleBuffer, out global::CoreMedia.CMTime outDecodeTime, out global::CoreMedia.CMTime presentationTime, out NSError error) | |
{ | |
var sampleBuffer__handle__ = sampleBuffer!.GetNonNullHandle (nameof (sampleBuffer)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
index 9ad7928..fc803d0 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovieTrack_AVMutableMovieTrack_TrackLevelEditing.g.cs | |
@@ -64,7 +64,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofTrack:atTime:copySampleData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
+ public unsafe static bool InsertTimeRange (this AVMutableMovieTrack This, global::CoreMedia.CMTimeRange timeRange, AVAssetTrack track, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
{ | |
var track__handle__ = track!.GetNonNullHandle (nameof (track)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
index dcf934a..8d52099 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVMutableMovie_AVMutableMovieMovieLevelEditing.g.cs | |
@@ -64,7 +64,7 @@ namespace AVFoundation { | |
} | |
[Export ("insertTimeRange:ofAsset:atTime:copySampleData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
+ public unsafe static bool InsertTimeRange (this AVMutableMovie This, global::CoreMedia.CMTimeRange timeRange, AVAsset asset, global::CoreMedia.CMTime startTime, bool copySampleData, out NSError? outError) | |
{ | |
var asset__handle__ = asset!.GetNonNullHandle (nameof (asset)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
index 5859a91..97c7585 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPersistableContentKeyRequest.g.cs | |
@@ -132,7 +132,7 @@ namespace AVFoundation { | |
[Export ("persistableContentKeyFromKeyVendorResponse:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError) | |
+ public unsafe virtual NSData? GetPersistableContentKey (NSData keyVendorResponse, NSDictionary<NSString, NSObject>? options, out NSError outError) | |
{ | |
var keyVendorResponse__handle__ = keyVendorResponse!.GetNonNullHandle (nameof (keyVendorResponse)); | |
var options__handle__ = options.GetHandle (); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
index 61a9ef7..4bc0376 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPlayerItemVideoOutput.g.cs | |
@@ -195,7 +195,7 @@ namespace AVFoundation { | |
} | |
[Export ("copyPixelBufferForItemTime:itemTimeForDisplay:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay) | |
+ protected unsafe virtual nint WeakCopyPixelBuffer (global::CoreMedia.CMTime itemTime, ref global::CoreMedia.CMTime outItemTimeForDisplay) | |
{ | |
if (IsDirectBinding) { | |
return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_CMTime_ref_CMTime (this.Handle, Selector.GetHandle ("copyPixelBufferForItemTime:itemTimeForDisplay:"), itemTime, (global::CoreMedia.CMTime*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<global::CoreMedia.CMTime> (ref outItemTimeForDisplay)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
index 9c64899..030695b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVPortraitEffectsMatte.g.cs | |
@@ -132,7 +132,7 @@ namespace AVFoundation { | |
[Export ("portraitEffectsMatteFromDictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
+ public unsafe static AVPortraitEffectsMatte? Create (NSDictionary imageSourceAuxDataInfoDictionary, out NSError? outError) | |
{ | |
var imageSourceAuxDataInfoDictionary__handle__ = imageSourceAuxDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxDataInfoDictionary)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -153,7 +153,7 @@ namespace AVFoundation { | |
} | |
[Export ("portraitEffectsMatteByReplacingPortraitEffectsMatteWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
+ public unsafe virtual AVPortraitEffectsMatte? Create (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError? outError) | |
{ | |
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -168,7 +168,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
NativeHandle outAuxDataTypeValue = IntPtr.Zero; | |
NSDictionary? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
index f6af3a3..9830797 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVSemanticSegmentationMatte.g.cs | |
@@ -142,7 +142,7 @@ namespace AVFoundation { | |
} | |
[Export ("semanticSegmentationMatteFromImageSourceAuxiliaryDataType:dictionaryRepresentation:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError) | |
+ public unsafe static AVSemanticSegmentationMatte? Create (NSString imageSourceAuxiliaryDataType, NSDictionary imageSourceAuxiliaryDataInfoDictionary, out NSError outError) | |
{ | |
var imageSourceAuxiliaryDataType__handle__ = imageSourceAuxiliaryDataType!.GetNonNullHandle (nameof (imageSourceAuxiliaryDataType)); | |
var imageSourceAuxiliaryDataInfoDictionary__handle__ = imageSourceAuxiliaryDataInfoDictionary!.GetNonNullHandle (nameof (imageSourceAuxiliaryDataInfoDictionary)); | |
@@ -154,7 +154,7 @@ namespace AVFoundation { | |
} | |
[Export ("dictionaryRepresentationForAuxiliaryDataType:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
+ public unsafe virtual NSDictionary? GetDictionaryRepresentation (out string? outAuxDataType) | |
{ | |
NativeHandle outAuxDataTypeValue = IntPtr.Zero; | |
NSDictionary? ret; | |
@@ -168,7 +168,7 @@ namespace AVFoundation { | |
} | |
[Export ("semanticSegmentationMatteByReplacingSemanticSegmentationMatteWithPixelBuffer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError) | |
+ public unsafe virtual AVSemanticSegmentationMatte? ReplaceSemanticSegmentationMatte (global::CoreVideo.CVPixelBuffer pixelBuffer, out NSError outError) | |
{ | |
var pixelBuffer__handle__ = pixelBuffer!.GetNonNullHandle (nameof (pixelBuffer)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
index 1bb4a7b..4f64540 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVVideoCompositionLayerInstruction.g.cs | |
@@ -204,7 +204,7 @@ namespace AVFoundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetCrop (global::CoreMedia.CMTime time, ref CGRect startCropRectangle, ref CGRect endCropRectangle, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -216,7 +216,7 @@ namespace AVFoundation { | |
} | |
[Export ("getOpacityRampForTime:startOpacity:endOpacity:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetOpacityRamp (global::CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
@@ -228,7 +228,7 @@ namespace AVFoundation { | |
} | |
[Export ("getTransformRampForTime:startTransform:endTransform:timeRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange) | |
+ public unsafe virtual bool GetTransformRamp (global::CoreMedia.CMTime time, ref CGAffineTransform startTransform, ref CGAffineTransform endTransform, ref global::CoreMedia.CMTimeRange timeRange) | |
{ | |
byte ret; | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AdServices/AAAttribution.g.cs b/new/dotnet/maccatalyst/generated-sources/AdServices/AAAttribution.g.cs | |
index ba5306a..ec40806 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AdServices/AAAttribution.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AdServices/AAAttribution.g.cs | |
@@ -132,7 +132,7 @@ namespace AdServices { | |
[Export ("attributionTokenWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string? GetAttributionToken (out NSError? error) | |
+ public unsafe static string? GetAttributionToken (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
string? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
index 5a65519..8d95889 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit.g.cs | |
@@ -133,7 +133,7 @@ namespace AudioUnit { | |
[Export ("initWithComponentDescription:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError) | |
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -146,7 +146,7 @@ namespace AudioUnit { | |
} | |
[Export ("initWithComponentDescription:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError) | |
+ public unsafe AUAudioUnit (AudioComponentDescription componentDescription, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace AudioUnit { | |
} | |
[Export ("allocateRenderResourcesAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AllocateRenderResources (out NSError? outError) | |
+ public unsafe virtual bool AllocateRenderResources (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -187,7 +187,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual bool DeleteUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
var userPreset__handle__ = userPreset!.GetNonNullHandle (nameof (userPreset)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -206,7 +206,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
+ public unsafe virtual bool Disable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
{ | |
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -225,7 +225,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
+ public unsafe virtual bool Enable (global::CoreMidi.MidiCIProfile profile, byte cable, byte channel, out NSError? outError) | |
{ | |
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -276,7 +276,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual NSDictionary<NSString, NSObject>? GetPresetState (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
var userPreset__handle__ = userPreset!.GetNonNullHandle (nameof (userPreset)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -371,7 +371,7 @@ namespace AudioUnit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
+ public unsafe virtual bool SaveUserPreset (AUAudioUnitPreset userPreset, out NSError? outError) | |
{ | |
var userPreset__handle__ = userPreset!.GetNonNullHandle (nameof (userPreset)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBus.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
index d088085..95cd338 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBus.g.cs | |
@@ -145,7 +145,7 @@ namespace AudioUnit { | |
[Export ("initWithFormat:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
+ public unsafe AUAudioUnitBus (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
@@ -159,7 +159,7 @@ namespace AudioUnit { | |
} | |
[Export ("setFormat:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
+ public unsafe virtual bool SetFormat (global::AVFoundation.AVAudioFormat format, out NSError? outError) | |
{ | |
var format__handle__ = format!.GetNonNullHandle (nameof (format)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
index 5554579..7caaa67 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitBusArray.g.cs | |
@@ -215,7 +215,7 @@ namespace AudioUnit { | |
} | |
[Export ("setBusCount:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetBusCount (nuint count, out NSError? outError) | |
+ public unsafe virtual bool SetBusCount (nuint count, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
index bc89633..9fe6f52 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs | |
@@ -57,7 +57,7 @@ namespace AudioUnit { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("createAudioUnitWithComponentDescription:error:")] | |
[Preserve (Conditional = true)] | |
- AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error); | |
+ unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error); | |
} | |
internal unsafe sealed class AUAudioUnitFactoryWrapper : BaseWrapper, IAUAudioUnitFactory { | |
[Preserve (Conditional = true)] | |
@@ -67,7 +67,7 @@ namespace AudioUnit { | |
} | |
[Export ("createAudioUnitWithComponentDescription:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error) | |
+ public unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
AUAudioUnit? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
index 384f9f1..1d4b2c2 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUAudioUnit_AUAudioInputOutputUnit.g.cs | |
@@ -156,7 +156,7 @@ namespace AudioUnit { | |
} | |
[Export ("startHardwareAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool StartHardware (this AUAudioUnit This, out NSError? outError) | |
+ public unsafe static bool StartHardware (this AUAudioUnit This, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUParameter.g.cs b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUParameter.g.cs | |
index 98af635..216d5f0 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AudioUnit/AUParameter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AudioUnit/AUParameter.g.cs | |
@@ -180,7 +180,7 @@ namespace AudioUnit { | |
} | |
[Export ("stringFromValue:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetString (ref float value) | |
+ public unsafe virtual string GetString (ref float value) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_Single (this.Handle, Selector.GetHandle ("stringFromValue:"), (float*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<float> (ref value)))!; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/BackgroundAssets/BADownloadManager.g.cs b/new/dotnet/maccatalyst/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
index f436ed4..a5d6f3c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/BackgroundAssets/BADownloadManager.g.cs | |
@@ -132,7 +132,7 @@ namespace BackgroundAssets { | |
[Export ("cancelDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CancelDownload (BADownload download, out NSError? error) | |
+ public unsafe virtual bool CancelDownload (BADownload download, out NSError? error) | |
{ | |
var download__handle__ = download!.GetNonNullHandle (nameof (download)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -151,7 +151,7 @@ namespace BackgroundAssets { | |
[SupportedOSPlatform ("maccatalyst16.4")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual BADownload[]? FetchCurrentDownloads (out NSError? error) | |
+ public unsafe virtual BADownload[]? FetchCurrentDownloads (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
BADownload[]? ret; | |
@@ -224,7 +224,7 @@ namespace BackgroundAssets { | |
} | |
[Export ("scheduleDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ScheduleDownload (BADownload download, out NSError? outError) | |
+ public unsafe virtual bool ScheduleDownload (BADownload download, out NSError? outError) | |
{ | |
var download__handle__ = download!.GetNonNullHandle (nameof (download)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -239,7 +239,7 @@ namespace BackgroundAssets { | |
} | |
[Export ("startForegroundDownload:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartForegroundDownload (BADownload download, out NSError? outError) | |
+ public unsafe virtual bool StartForegroundDownload (BADownload download, out NSError? outError) | |
{ | |
var download__handle__ = download!.GetNonNullHandle (nameof (download)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs b/new/dotnet/maccatalyst/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
index e4f0035..261d324 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/BackgroundTasks/BGTaskScheduler.g.cs | |
@@ -201,7 +201,7 @@ namespace BackgroundTasks { | |
} | |
[Export ("submitTaskRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Submit (BGTaskRequest taskRequest, out NSError? error) | |
+ public unsafe virtual bool Submit (BGTaskRequest taskRequest, out NSError? error) | |
{ | |
var taskRequest__handle__ = taskRequest!.GetNonNullHandle (nameof (taskRequest)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContact.g.cs b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContact.g.cs | |
index 9798a59..ad87748 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContact.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContact.g.cs | |
@@ -251,7 +251,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[UnsupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContactStore.g.cs b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContactStore.g.cs | |
index bbf067d..94c511d 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContactStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContactStore.g.cs | |
@@ -163,7 +163,7 @@ namespace Contacts { | |
} | |
[Export ("executeSaveRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error) | |
+ public unsafe virtual bool ExecuteSaveRequest (CNSaveRequest saveRequest, out NSError? error) | |
{ | |
var saveRequest__handle__ = saveRequest!.GetNonNullHandle (nameof (saveRequest)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -186,7 +186,7 @@ namespace Contacts { | |
} | |
[Export ("containersMatchingPredicate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error) | |
+ public unsafe virtual CNContainer[]? GetContainers (NSPredicate? predicate, out NSError? error) | |
{ | |
var predicate__handle__ = predicate.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -204,7 +204,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error) | |
+ public unsafe virtual CNFetchResult<NSEnumerator<CNChangeHistoryEvent>>? GetEnumeratorForChangeHistory (CNChangeHistoryFetchRequest request, out NSError? error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -222,7 +222,7 @@ namespace Contacts { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error) | |
+ public unsafe virtual CNFetchResult<NSEnumerator<CNContact>>? GetEnumeratorForContact (CNContactFetchRequest request, out NSError? error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -237,7 +237,7 @@ namespace Contacts { | |
} | |
[Export ("groupsMatchingPredicate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error) | |
+ public unsafe virtual CNGroup[]? GetGroups (NSPredicate? predicate, out NSError? error) | |
{ | |
var predicate__handle__ = predicate.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -252,7 +252,7 @@ namespace Contacts { | |
} | |
[Export ("unifiedContactWithIdentifier:keysToFetch:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error) | |
+ protected unsafe virtual CNContact? GetUnifiedContact (string identifier, NSArray keys, out NSError? error) | |
{ | |
if (identifier is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (identifier)); | |
@@ -271,7 +271,7 @@ namespace Contacts { | |
} | |
[Export ("unifiedContactsMatchingPredicate:keysToFetch:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- protected virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error) | |
+ protected unsafe virtual CNContact[]? GetUnifiedContacts (NSPredicate predicate, NSArray keys, out NSError? error) | |
{ | |
var predicate__handle__ = predicate!.GetNonNullHandle (nameof (predicate)); | |
var keys__handle__ = keys!.GetNonNullHandle (nameof (keys)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContactVCardSerialization.g.cs b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
index f84454b..c931b16 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Contacts/CNContactVCardSerialization.g.cs | |
@@ -144,7 +144,7 @@ namespace Contacts { | |
[Export ("contactsWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CNContact[]? GetContactsFromData (NSData data, out NSError error) | |
+ public unsafe static CNContact[]? GetContactsFromData (NSData data, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -155,7 +155,7 @@ namespace Contacts { | |
} | |
[Export ("dataWithContacts:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error) | |
+ public unsafe static NSData? GetDataFromContacts (CNContact[] contacts, out NSError error) | |
{ | |
if (contacts is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (contacts)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSAtomicStore.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSAtomicStore.g.cs | |
index 35a48bf..4046d83 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSAtomicStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSAtomicStore.g.cs | |
@@ -166,7 +166,7 @@ namespace CoreData { | |
} | |
[Export ("load:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Load (out NSError error) | |
+ public unsafe virtual bool Load (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -225,7 +225,7 @@ namespace CoreData { | |
} | |
[Export ("save:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Save (out NSError error) | |
+ public unsafe virtual bool Save (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
index 76d31b9..3e7bb23 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSEntityMigrationPolicy.g.cs | |
@@ -141,7 +141,7 @@ namespace CoreData { | |
[Export ("beginEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool BeginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -157,7 +157,7 @@ namespace CoreData { | |
} | |
[Export ("createDestinationInstancesForSourceInstance:entityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool CreateDestinationInstancesForSourceInstance (NSManagedObject sInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var sInstance__handle__ = sInstance!.GetNonNullHandle (nameof (sInstance)); | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
@@ -174,7 +174,7 @@ namespace CoreData { | |
} | |
[Export ("createRelationshipsForDestinationInstance:entityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool CreateRelationshipsForDestinationInstance (NSManagedObject dInstance, NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var dInstance__handle__ = dInstance!.GetNonNullHandle (nameof (dInstance)); | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
@@ -191,7 +191,7 @@ namespace CoreData { | |
} | |
[Export ("endEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -207,7 +207,7 @@ namespace CoreData { | |
} | |
[Export ("endInstanceCreationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndInstanceCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -223,7 +223,7 @@ namespace CoreData { | |
} | |
[Export ("endRelationshipCreationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool EndRelationshipCreationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
} | |
[Export ("performCustomValidationForEntityMapping:manager:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
+ public unsafe virtual bool PerformCustomValidationForEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, out NSError error) | |
{ | |
var mapping__handle__ = mapping!.GetNonNullHandle (nameof (mapping)); | |
var manager__handle__ = manager!.GetNonNullHandle (nameof (manager)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSFetchRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSFetchRequest.g.cs | |
index 5c2a46f..4e7e810 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSFetchRequest.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSFetchRequest.g.cs | |
@@ -190,7 +190,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual INSFetchRequestResult[]? Execute (out NSError error) | |
+ public unsafe virtual INSFetchRequestResult[]? Execute (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
INSFetchRequestResult[]? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSFetchedResultsController.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
index 6f565e8..15ba0b3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSFetchedResultsController.g.cs | |
@@ -208,7 +208,7 @@ namespace CoreData { | |
} | |
[Export ("performFetch:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PerformFetch (out NSError error) | |
+ public unsafe virtual bool PerformFetch (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSIncrementalStore.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSIncrementalStore.g.cs | |
index f7cc931..180c236 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSIncrementalStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSIncrementalStore.g.cs | |
@@ -159,7 +159,7 @@ namespace CoreData { | |
} | |
[Export ("executeRequest:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error) | |
+ public unsafe virtual NSObject? ExecuteRequest (NSPersistentStoreRequest request, NSManagedObjectContext? context, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
var context__handle__ = context.GetHandle (); | |
@@ -182,7 +182,7 @@ namespace CoreData { | |
} | |
[Export ("loadMetadata:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadMetadata (out NSError error) | |
+ public unsafe virtual bool LoadMetadata (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -236,7 +236,7 @@ namespace CoreData { | |
} | |
[Export ("newValueForRelationship:forObjectWithID:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error) | |
+ public unsafe virtual NSObject? NewValue (NSRelationshipDescription forRelationship, NSManagedObjectID forObjectI, NSManagedObjectContext? context, out NSError error) | |
{ | |
var forRelationship__handle__ = forRelationship!.GetNonNullHandle (nameof (forRelationship)); | |
var forObjectI__handle__ = forObjectI!.GetNonNullHandle (nameof (forObjectI)); | |
@@ -253,7 +253,7 @@ namespace CoreData { | |
} | |
[Export ("newValuesForObjectWithID:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error) | |
+ public unsafe virtual NSIncrementalStoreNode? NewValues (NSManagedObjectID forObjectId, NSManagedObjectContext context, out NSError error) | |
{ | |
var forObjectId__handle__ = forObjectId!.GetNonNullHandle (nameof (forObjectId)); | |
var context__handle__ = context!.GetNonNullHandle (nameof (context)); | |
@@ -269,7 +269,7 @@ namespace CoreData { | |
} | |
[Export ("obtainPermanentIDsForObjects:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error) | |
+ public unsafe virtual NSObject[]? ObtainPermanentIds (NSObject[] array, out NSError error) | |
{ | |
if (array is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (array)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObject.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObject.g.cs | |
index 62b5421..14d99d6 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObject.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObject.g.cs | |
@@ -392,7 +392,7 @@ namespace CoreData { | |
} | |
[Export ("validateForDelete:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForDelete (out NSError error) | |
+ public unsafe virtual bool ValidateForDelete (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -406,7 +406,7 @@ namespace CoreData { | |
} | |
[Export ("validateForInsert:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForInsert (out NSError error) | |
+ public unsafe virtual bool ValidateForInsert (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -420,7 +420,7 @@ namespace CoreData { | |
} | |
[Export ("validateForUpdate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateForUpdate (out NSError error) | |
+ public unsafe virtual bool ValidateForUpdate (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -434,7 +434,7 @@ namespace CoreData { | |
} | |
[Export ("validateValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ValidateValue (ref NSObject value, string key, out NSError error) | |
+ public unsafe virtual bool ValidateValue (ref NSObject value, string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectContext.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
index 29eed4a..e366b2c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectContext.g.cs | |
@@ -191,7 +191,7 @@ namespace CoreData { | |
} | |
[Export ("countForFetchRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error) | |
+ public unsafe virtual nuint CountForFetchRequest (NSFetchRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
} | |
[Export ("executeFetchRequest:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error) | |
+ public unsafe virtual NSObject[]? ExecuteFetchRequest (NSFetchRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -258,7 +258,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error) | |
+ public unsafe virtual NSPersistentStoreResult? ExecuteRequest (NSPersistentStoreRequest request, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -273,7 +273,7 @@ namespace CoreData { | |
} | |
[Export ("existingObjectWithID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error) | |
+ public unsafe virtual NSManagedObject? GetExistingObject (NSManagedObjectID objectID, out NSError error) | |
{ | |
var objectID__handle__ = objectID!.GetNonNullHandle (nameof (objectID)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -378,7 +378,7 @@ namespace CoreData { | |
} | |
[Export ("obtainPermanentIDsForObjects:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error) | |
+ public unsafe virtual bool ObtainPermanentIDsForObjects (NSManagedObject[] objects, out NSError error) | |
{ | |
if (objects is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (objects)); | |
@@ -489,7 +489,7 @@ namespace CoreData { | |
} | |
[Export ("save:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Save (out NSError error) | |
+ public unsafe virtual bool Save (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -507,7 +507,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error) | |
+ public unsafe virtual bool SetQueryGenerationFromToken (NSQueryGenerationToken? generation, out NSError error) | |
{ | |
var generation__handle__ = generation.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectModel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
index 9688d31..73b4fb9 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSManagedObjectModel.g.cs | |
@@ -176,7 +176,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios17.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error) | |
+ public unsafe static NSDictionary<NSString, NSString>? ChecksumsForVersionedModel (NSUrl modelUrl, out NSError? error) | |
{ | |
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMappingModel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMappingModel.g.cs | |
index c2ec1af..044e0df 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMappingModel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMappingModel.g.cs | |
@@ -153,7 +153,7 @@ namespace CoreData { | |
} | |
[Export ("inferredMappingModelForSourceModel:destinationModel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error) | |
+ public unsafe static NSMappingModel? GetInferredMappingModel (NSManagedObjectModel source, NSManagedObjectModel destination, out NSError error) | |
{ | |
var source__handle__ = source!.GetNonNullHandle (nameof (source)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMergePolicy.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMergePolicy.g.cs | |
index d1b378c..6bc565a 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMergePolicy.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMergePolicy.g.cs | |
@@ -140,7 +140,7 @@ namespace CoreData { | |
} | |
[Export ("resolveConflicts:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveConflicts (NSMergeConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
@@ -162,7 +162,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveConstraintConflicts (NSConstraintConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
@@ -184,7 +184,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error) | |
+ public unsafe virtual bool ResolveOptimisticLockingVersionConflicts (NSMergeConflict[] list, out NSError error) | |
{ | |
if (list is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (list)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMigrationManager.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMigrationManager.g.cs | |
index 8c76c99..ae4d54c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSMigrationManager.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSMigrationManager.g.cs | |
@@ -208,7 +208,7 @@ namespace CoreData { | |
} | |
[Export ("migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error) | |
+ public unsafe virtual bool MigrateStoreFromUrl (NSUrl sourceUrl, string sStoreType, NSDictionary? sOptions, NSMappingModel? mappings, NSUrl dUrl, string dStoreType, NSDictionary? dOptions, out NSError error) | |
{ | |
var sourceUrl__handle__ = sourceUrl!.GetNonNullHandle (nameof (sourceUrl)); | |
if (sStoreType is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
index 6a11589..a00c9f7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentCloudKitContainer.g.cs | |
@@ -282,7 +282,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error) | |
+ public unsafe virtual global::CloudKit.CKShare[]? FetchSharesInPersistentStore (NSPersistentStore? persistentStore, out NSError? error) | |
{ | |
var persistentStore__handle__ = persistentStore.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -301,7 +301,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error) | |
+ public unsafe virtual NSDictionary<NSManagedObjectID, global::CloudKit.CKShare>? FetchSharesMatchingObjectIds (NSManagedObjectID[] objectIDs, out NSError? error) | |
{ | |
if (objectIDs is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (objectIDs)); | |
@@ -373,7 +373,7 @@ namespace CoreData { | |
} | |
[Export ("initializeCloudKitSchemaWithOptions:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error) | |
+ public unsafe virtual bool Initialize (NSPersistentCloudKitContainerSchemaInitializationOptions options, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStore.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStore.g.cs | |
index db3e924..9edc195 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStore.g.cs | |
@@ -156,7 +156,7 @@ namespace CoreData { | |
} | |
[Export ("loadMetadata:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool LoadMetadata (out NSError error) | |
+ public unsafe virtual bool LoadMetadata (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -170,7 +170,7 @@ namespace CoreData { | |
} | |
[Export ("metadataForPersistentStoreWithURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary? MetadataForPersistentStoreWithUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -181,7 +181,7 @@ namespace CoreData { | |
} | |
[Export ("setMetadata:forPersistentStoreWithURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSUrl url, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
index 3e838b7..e406faf 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreData/NSPersistentStoreCoordinator.g.cs | |
@@ -141,7 +141,7 @@ namespace CoreData { | |
} | |
[Export ("addPersistentStoreWithType:configuration:URL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error) | |
+ public unsafe virtual NSPersistentStore? AddPersistentStore (NSString storeType, string? configuration, NSUrl? storeUrl, NSDictionary? options, out NSError error) | |
{ | |
var storeType__handle__ = storeType!.GetNonNullHandle (nameof (storeType)); | |
var storeUrl__handle__ = storeUrl.GetHandle (); | |
@@ -199,7 +199,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error) | |
+ public unsafe virtual bool DestroyPersistentStore (NSUrl url, string storeType, NSDictionary? options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
if (storeType is null) | |
@@ -219,7 +219,7 @@ namespace CoreData { | |
} | |
[Export ("executeRequest:withContext:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error) | |
+ public unsafe virtual NSObject? Execute (NSPersistentStoreRequest request, NSManagedObjectContext context, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
var context__handle__ = context!.GetNonNullHandle (nameof (context)); | |
@@ -239,7 +239,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FinishDeferredLightweightMigration (out NSError? error) | |
+ public unsafe virtual bool FinishDeferredLightweightMigration (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -257,7 +257,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FinishDeferredLightweightMigrationTask (out NSError? error) | |
+ public unsafe virtual bool FinishDeferredLightweightMigrationTask (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -294,7 +294,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
+ public unsafe static NSDictionary<NSString, NSObject>? GetMetadata (string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
if (storeType is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (storeType)); | |
@@ -357,7 +357,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary? MetadataForPersistentStoreOfType (NSString? storeType, NSUrl url, out NSError error) | |
{ | |
var storeType__handle__ = storeType.GetHandle (); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -369,7 +369,7 @@ namespace CoreData { | |
} | |
[Export ("migratePersistentStore:toURL:options:withType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error) | |
+ public unsafe virtual NSPersistentStore? MigratePersistentStore (NSPersistentStore store, NSUrl url, NSDictionary? options, NSString storeType, out NSError error) | |
{ | |
var store__handle__ = store!.GetNonNullHandle (nameof (store)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -442,7 +442,7 @@ namespace CoreData { | |
} | |
[Export ("removePersistentStore:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error) | |
+ public unsafe virtual bool RemovePersistentStore (NSPersistentStore store, out NSError error) | |
{ | |
var store__handle__ = store!.GetNonNullHandle (nameof (store)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -464,7 +464,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error) | |
+ public unsafe static bool RemoveUbiquitousContentAndPersistentStore (NSUrl storeUrl, NSDictionary? options, out NSError error) | |
{ | |
var storeUrl__handle__ = storeUrl!.GetNonNullHandle (nameof (storeUrl)); | |
var options__handle__ = options.GetHandle (); | |
@@ -480,7 +480,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error) | |
+ public unsafe virtual bool ReplacePersistentStore (NSUrl destinationUrl, NSDictionary? destinationOptions, NSUrl sourceUrl, NSDictionary? sourceOptions, string storeType, out NSError error) | |
{ | |
var destinationUrl__handle__ = destinationUrl!.GetNonNullHandle (nameof (destinationUrl)); | |
var destinationOptions__handle__ = destinationOptions.GetHandle (); | |
@@ -510,7 +510,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary? metadata, NSString? storeType, NSUrl url, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
var storeType__handle__ = storeType.GetHandle (); | |
@@ -527,7 +527,7 @@ namespace CoreData { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
+ public unsafe static bool SetMetadata (NSDictionary<NSString, NSObject>? metadata, string storeType, NSUrl url, NSDictionary? options, out NSError error) | |
{ | |
var metadata__handle__ = metadata.GetHandle (); | |
if (storeType is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
index c801ad9..b2ae9ae 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs | |
@@ -67,15 +67,15 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("pauseAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Pause (double time, out NSError? outError); | |
+ unsafe bool Pause (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("resumeAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Resume (double time, out NSError? outError); | |
+ unsafe bool Resume (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("seekToOffset:error:")] | |
[Preserve (Conditional = true)] | |
- bool Seek (double offsetTime, out NSError? outError); | |
+ unsafe bool Seek (double offsetTime, out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool LoopEnabled { | |
[Export ("loopEnabled")] | |
@@ -122,7 +122,7 @@ namespace CoreHaptics { | |
} | |
[Export ("pauseAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Pause (double time, out NSError? outError) | |
+ public unsafe bool Pause (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -132,7 +132,7 @@ namespace CoreHaptics { | |
} | |
[Export ("resumeAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Resume (double time, out NSError? outError) | |
+ public unsafe bool Resume (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -142,7 +142,7 @@ namespace CoreHaptics { | |
} | |
[Export ("seekToOffset:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Seek (double offsetTime, out NSError? outError) | |
+ public unsafe bool Seek (double offsetTime, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -152,7 +152,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Start (double time, out NSError? outError) | |
+ public unsafe bool Start (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -162,7 +162,7 @@ namespace CoreHaptics { | |
} | |
[Export ("stopAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Stop (double time, out NSError? outError) | |
+ public unsafe bool Stop (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -172,7 +172,7 @@ namespace CoreHaptics { | |
} | |
[Export ("sendParameters:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
{ | |
if (parameters is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (parameters)); | |
@@ -186,7 +186,7 @@ namespace CoreHaptics { | |
} | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
{ | |
var parameterCurve__handle__ = parameterCurve!.GetNonNullHandle (nameof (parameterCurve)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -197,7 +197,7 @@ namespace CoreHaptics { | |
} | |
[Export ("cancelAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Cancel (out NSError? outError) | |
+ public unsafe bool Cancel (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
index 8c2fbb3..2848eac 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticDeviceCapability.g.cs | |
@@ -63,11 +63,11 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("attributesForEventParameter:eventType:error:")] | |
[Preserve (Conditional = true)] | |
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError); | |
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("attributesForDynamicParameter:error:")] | |
[Preserve (Conditional = true)] | |
- ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError); | |
+ unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool SupportsHaptics { | |
[Export ("supportsHaptics")] | |
@@ -87,7 +87,7 @@ namespace CoreHaptics { | |
} | |
[Export ("attributesForEventParameter:eventType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError) | |
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, string type, out NSError? outError) | |
{ | |
var eventParameter__handle__ = eventParameter!.GetNonNullHandle (nameof (eventParameter)); | |
if (type is null) | |
@@ -102,7 +102,7 @@ namespace CoreHaptics { | |
} | |
[Export ("attributesForDynamicParameter:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError) | |
+ public unsafe ICHHapticParameterAttributes? GetAttributes (NSString eventParameter, out NSError? outError) | |
{ | |
var eventParameter__handle__ = eventParameter!.GetNonNullHandle (nameof (eventParameter)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticEngine.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
index 0407ac7..2d5f13a 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticEngine.g.cs | |
@@ -132,7 +132,7 @@ namespace CoreHaptics { | |
[Export ("initAndReturnError:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticEngine (out NSError? error) | |
+ public unsafe CHHapticEngine (out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -150,7 +150,7 @@ namespace CoreHaptics { | |
[SupportedOSPlatform ("ios13.0")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error) | |
+ public unsafe CHHapticEngine (global::AVFoundation.AVAudioSession? audioSession, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var audioSession__handle__ = audioSession.GetHandle (); | |
@@ -164,7 +164,7 @@ namespace CoreHaptics { | |
} | |
[Export ("createAdvancedPlayerWithPattern:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError) | |
+ public unsafe virtual ICHHapticAdvancedPatternPlayer? CreateAdvancedPlayer (CHHapticPattern pattern, out NSError? outError) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -179,7 +179,7 @@ namespace CoreHaptics { | |
} | |
[Export ("createPlayerWithPattern:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError) | |
+ public unsafe virtual ICHHapticPatternPlayer? CreatePlayer (CHHapticPattern pattern, out NSError? outError) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -226,7 +226,7 @@ namespace CoreHaptics { | |
} | |
[Export ("playPatternFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError) | |
+ public unsafe virtual bool PlayPattern (NSUrl fileUrl, out NSError? outError) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -241,7 +241,7 @@ namespace CoreHaptics { | |
} | |
[Export ("playPatternFromData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool PlayPattern (NSData data, out NSError? outError) | |
+ public unsafe virtual bool PlayPattern (NSData data, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -256,7 +256,7 @@ namespace CoreHaptics { | |
} | |
[Export ("registerAudioResource:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError) | |
+ public unsafe virtual nuint RegisterAudioResource (NSUrl resourceUrl, NSDictionary options, out NSError? outError) | |
{ | |
var resourceUrl__handle__ = resourceUrl!.GetNonNullHandle (nameof (resourceUrl)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -298,7 +298,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Start (out NSError? outError) | |
+ public unsafe virtual bool Start (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -338,7 +338,7 @@ namespace CoreHaptics { | |
} | |
[Export ("unregisterAudioResource:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError) | |
+ public unsafe virtual bool UnregisterAudioResource (nuint resourceId, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPattern.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
index bd1539b..db22500 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPattern.g.cs | |
@@ -131,7 +131,7 @@ namespace CoreHaptics { | |
[Export ("initWithEvents:parameters:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticDynamicParameter[] parameters, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (events is null) | |
@@ -152,7 +152,7 @@ namespace CoreHaptics { | |
} | |
[Export ("initWithEvents:parameterCurves:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticEvent[] events, CHHapticParameterCurve[] parameterCurves, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (events is null) | |
@@ -173,7 +173,7 @@ namespace CoreHaptics { | |
} | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (NSDictionary patternDict, out NSError? outError) | |
+ public unsafe CHHapticPattern (NSDictionary patternDict, out NSError? outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var patternDict__handle__ = patternDict!.GetNonNullHandle (nameof (patternDict)); | |
@@ -186,7 +186,7 @@ namespace CoreHaptics { | |
outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError) | |
+ public unsafe CHHapticPattern (CHHapticPatternDefinition patternDefinition, out NSError? outError) | |
: this (patternDefinition.GetDictionary ()!, out outError) | |
{ | |
} | |
@@ -196,7 +196,7 @@ namespace CoreHaptics { | |
[SupportedOSPlatform ("ios16.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPattern (NSUrl url, out NSError? error) | |
+ public unsafe CHHapticPattern (NSUrl url, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -209,13 +209,13 @@ namespace CoreHaptics { | |
error = Runtime.GetNSObject<NSError> (errorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public CHHapticPatternDefinition? Export (out NSError? outError) | |
+ public unsafe CHHapticPatternDefinition? Export (out NSError? outError) | |
{ | |
return new CHHapticPatternDefinition (_ExportDictionary (out outError)!); | |
} | |
[Export ("exportDictionaryAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError) | |
+ internal unsafe virtual NSDictionary<NSString, NSObject>? _ExportDictionary (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
NSDictionary<NSString, NSObject>? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
index 9b1e7c0..965814f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreHaptics/CHHapticPatternPlayer.g.cs | |
@@ -64,23 +64,23 @@ namespace CoreHaptics { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("startAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Start (double time, out NSError? outError); | |
+ unsafe bool Start (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("stopAtTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Stop (double time, out NSError? outError); | |
+ unsafe bool Stop (double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("sendParameters:atTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError); | |
+ unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[Preserve (Conditional = true)] | |
- bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError); | |
+ unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("cancelAndReturnError:")] | |
[Preserve (Conditional = true)] | |
- bool Cancel (out NSError? outError); | |
+ unsafe bool Cancel (out NSError? outError); | |
[Preserve (Conditional = true)] | |
bool IsMuted { | |
[Export ("isMuted")] | |
@@ -97,7 +97,7 @@ namespace CoreHaptics { | |
} | |
[Export ("startAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Start (double time, out NSError? outError) | |
+ public unsafe bool Start (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -107,7 +107,7 @@ namespace CoreHaptics { | |
} | |
[Export ("stopAtTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Stop (double time, out NSError? outError) | |
+ public unsafe bool Stop (double time, out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -117,7 +117,7 @@ namespace CoreHaptics { | |
} | |
[Export ("sendParameters:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
+ public unsafe bool Send (CHHapticDynamicParameter[] parameters, double time, out NSError? outError) | |
{ | |
if (parameters is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (parameters)); | |
@@ -131,7 +131,7 @@ namespace CoreHaptics { | |
} | |
[Export ("scheduleParameterCurve:atTime:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
+ public unsafe bool Schedule (CHHapticParameterCurve parameterCurve, double time, out NSError? outError) | |
{ | |
var parameterCurve__handle__ = parameterCurve!.GetNonNullHandle (nameof (parameterCurve)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -142,7 +142,7 @@ namespace CoreHaptics { | |
} | |
[Export ("cancelAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Cancel (out NSError? outError) | |
+ public unsafe bool Cancel (out NSError? outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext.g.cs | |
index 4266278..9221d59 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext.g.cs | |
@@ -344,7 +344,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos14.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
+ public unsafe virtual NSData? GetOpenEXRRepresentation (CIImage image, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -444,7 +444,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos14.0")] | |
[SupportedOSPlatform ("maccatalyst17.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
+ public unsafe virtual bool WriteOpenExrRepresentation (CIImage image, NSUrl url, NSDictionary<NSString, NSObject> options, out NSError? errorPtr) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
index 8c0ae4c..ab0f50d 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_CIRenderDestination.g.cs | |
@@ -58,7 +58,7 @@ namespace CoreImage { | |
static readonly NativeHandle class_ptr = Class.GetHandle ("CIContext"); | |
[Export ("prepareRender:fromRect:toDestination:atPoint:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
+ public unsafe static bool PrepareRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
@@ -70,7 +70,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToClear:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToClear (this CIContext This, CIRenderDestination destination, out NSError? error) | |
{ | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -81,7 +81,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToRender:fromRect:toDestination:atPoint:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
@@ -93,7 +93,7 @@ namespace CoreImage { | |
} | |
[Export ("startTaskToRender:toDestination:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error) | |
+ public unsafe static CIRenderTask? StartTaskToRender (this CIContext This, CIImage image, CIRenderDestination destination, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var destination__handle__ = destination!.GetNonNullHandle (nameof (destination)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
index 65da42a..4c9ec49 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIContext_ImageRepresentation.g.cs | |
@@ -58,7 +58,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var colorSpace__handle__ = colorSpace!.GetNonNullHandle (nameof (colorSpace)); | |
@@ -74,7 +74,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static NSData? GetHeif10Representation (this CIContext This, CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return GetHeif10Representation (This, image, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -172,7 +172,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -189,7 +189,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteHeif10Representation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WriteHeif10Representation (This, image, url, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -199,7 +199,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -216,7 +216,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteHeifRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WriteHeifRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -226,7 +226,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -243,7 +243,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WriteJpegRepresentation (this CIContext This, CIImage image, NSUrl url, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WriteJpegRepresentation (This, image, url, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -253,7 +253,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -270,7 +270,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
+ public unsafe static bool WritePngRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError? error) | |
{ | |
return WritePngRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
@@ -280,7 +280,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error) | |
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, NSDictionary options, out NSError error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -297,7 +297,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error) | |
+ public unsafe static bool WriteTiffRepresentation (this CIContext This, CIImage image, NSUrl url, CIFormat format, CGColorSpace colorSpace, CIImageRepresentationOptions options, out NSError error) | |
{ | |
return WriteTiffRepresentation (This, image, url, format, colorSpace, options.GetDictionary ()!, out error); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIFilter.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIFilter.g.cs | |
index ed72cf2..d908667 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIFilter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIFilter.g.cs | |
@@ -353,7 +353,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error) | |
+ public unsafe static CIFilter[] FromSerializedXMP (NSData xmpData, CGRect extent, out NSError error) | |
{ | |
var xmpData__handle__ = xmpData!.GetNonNullHandle (nameof (xmpData)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIFilterProtocol.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
index 3971913..e465cbd 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIFilterProtocol.g.cs | |
@@ -58,6 +58,12 @@ namespace CoreImage { | |
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = true, Name = "CustomAttributes", Selector = "customAttributes", PropertyType = typeof (global::Foundation.NSDictionary<NSString, NSObject>), GetterSelector = "customAttributes", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface ICIFilterProtocol : INativeObject, IDisposable | |
{ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static NSDictionary<NSString, NSObject> GetCustomAttributes<T> () where T: NSObject, ICIFilterProtocol | |
+ { | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("customAttributes")))!; | |
+ } | |
[Preserve (Conditional = true)] | |
CIImage? OutputImage { | |
[Export ("outputImage")] | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIImageProcessorKernel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
index da267c6..65b1686 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIImageProcessorKernel.g.cs | |
@@ -145,7 +145,7 @@ namespace CoreImage { | |
[Export ("applyWithExtent:inputs:arguments:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error) | |
+ public unsafe static CIImage? Apply (CGRect extent, CIImage[]? inputs, NSDictionary<NSString, NSObject>? args, out NSError error) | |
{ | |
var args__handle__ = args.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -189,7 +189,7 @@ namespace CoreImage { | |
} | |
[Export ("processWithInputs:arguments:output:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error) | |
+ public unsafe static bool Process (ICIImageProcessorInput[]? inputs, NSDictionary<NSString, NSObject>? arguments, ICIImageProcessorOutput output, out NSError error) | |
{ | |
var arguments__handle__ = arguments.GetHandle (); | |
var output__handle__ = output!.GetNonNullHandle (nameof (output)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIKernel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIKernel.g.cs | |
index 15592a4..c308f70 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIKernel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIKernel.g.cs | |
@@ -159,7 +159,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel? FromFunction (string name, NSData data, out NSError? error) | |
+ public unsafe static CIKernel? FromFunction (string name, NSData data, out NSError? error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -178,7 +178,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error) | |
+ public unsafe static CIKernel? FromFunction (string name, NSData data, CIFormat format, out NSError? error) | |
{ | |
if (name is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name)); | |
@@ -197,7 +197,7 @@ namespace CoreImage { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static CIKernel[]? FromMetalSource (string source, out NSError? error) | |
+ public unsafe static CIKernel[]? FromMetalSource (string source, out NSError? error) | |
{ | |
if (source is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (source)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIRenderTask.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIRenderTask.g.cs | |
index 5943161..7c2e5f9 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreImage/CIRenderTask.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreImage/CIRenderTask.g.cs | |
@@ -132,7 +132,7 @@ namespace CoreImage { | |
[Export ("waitUntilCompletedAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual CIRenderInfo? WaitUntilCompleted (out NSError? error) | |
+ public unsafe virtual CIRenderInfo? WaitUntilCompleted (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
CIRenderInfo? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLArrayBatchProvider.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
index 3295f60..6f9f032 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLArrayBatchProvider.g.cs | |
@@ -147,7 +147,7 @@ namespace CoreML { | |
} | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error) | |
+ public unsafe MLArrayBatchProvider (NSDictionary<NSString, NSArray> dictionary, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var dictionary__handle__ = dictionary!.GetNonNullHandle (nameof (dictionary)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLCustomLayer.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLCustomLayer.g.cs | |
index 2454ce1..08becde 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLCustomLayer.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLCustomLayer.g.cs | |
@@ -63,15 +63,15 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("setWeightData:error:")] | |
[Preserve (Conditional = true)] | |
- bool SetWeightData (NSData[] weights, out NSError? error); | |
+ unsafe bool SetWeightData (NSData[] weights, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("outputShapesForInputShapes:error:")] | |
[Preserve (Conditional = true)] | |
- NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error); | |
+ unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("evaluateOnCPUWithInputs:outputs:error:")] | |
[Preserve (Conditional = true)] | |
- bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error); | |
+ unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error); | |
} | |
/// <summary>Extension methods to the <see cref="IMLCustomLayer" /> interface to support all the methods from the MLCustomLayer protocol.</summary> | |
/// <remarks> | |
@@ -79,7 +79,7 @@ namespace CoreML { | |
/// </remarks> | |
public unsafe static partial class MLCustomLayer_Extensions { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error) | |
+ public unsafe static bool Encode (this IMLCustomLayer This, global::Metal.IMTLCommandBuffer commandBuffer, global::Metal.IMTLTexture[] inputs, global::Metal.IMTLTexture[] outputs, out NSError? error) | |
{ | |
var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer)); | |
if (inputs is null) | |
@@ -105,7 +105,7 @@ namespace CoreML { | |
} | |
[Export ("setWeightData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool SetWeightData (NSData[] weights, out NSError? error) | |
+ public unsafe bool SetWeightData (NSData[] weights, out NSError? error) | |
{ | |
if (weights is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (weights)); | |
@@ -119,7 +119,7 @@ namespace CoreML { | |
} | |
[Export ("outputShapesForInputShapes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error) | |
+ public unsafe NSArray[]? GetOutputShapes (NSArray[] inputShapes, out NSError? error) | |
{ | |
if (inputShapes is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (inputShapes)); | |
@@ -133,7 +133,7 @@ namespace CoreML { | |
} | |
[Export ("evaluateOnCPUWithInputs:outputs:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error) | |
+ public unsafe bool EvaluateOnCpu (MLMultiArray[] inputs, MLMultiArray[] outputs, out NSError? error) | |
{ | |
if (inputs is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (inputs)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLCustomModel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLCustomModel.g.cs | |
index e81f363..e3fa649 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLCustomModel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLCustomModel.g.cs | |
@@ -75,7 +75,7 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("predictionFromFeatures:options:error:")] | |
[Preserve (Conditional = true)] | |
- IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error); | |
+ unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error); | |
} | |
/// <summary>Extension methods to the <see cref="IMLCustomModel" /> interface to support all the methods from the MLCustomModel protocol.</summary> | |
/// <remarks> | |
@@ -83,7 +83,7 @@ namespace CoreML { | |
/// </remarks> | |
public unsafe static partial class MLCustomModel_Extensions { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe static IMLBatchProvider? GetPredictions (this IMLCustomModel This, IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
var inputBatch__handle__ = inputBatch!.GetNonNullHandle (nameof (inputBatch)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -102,7 +102,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
+ public unsafe IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
{ | |
var inputFeatures__handle__ = inputFeatures!.GetNonNullHandle (nameof (inputFeatures)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -202,20 +202,20 @@ namespace CoreML { | |
[Export ("initWithModelDescription:parameterDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error) | |
+ public unsafe MLCustomModel (MLModelDescription modelDescription, NSDictionary<NSString, NSObject> parameters, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider inputFeatures, MLPredictionOptions options, out NSError error) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
[Export ("predictionsFromBatch:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
index f037039..67ba884 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLDictionaryFeatureProvider.g.cs | |
@@ -165,7 +165,7 @@ namespace CoreML { | |
[Export ("initWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error) | |
+ public unsafe MLDictionaryFeatureProvider (NSDictionary<NSString, NSObject> dictionary, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var dictionary__handle__ = dictionary!.GetNonNullHandle (nameof (dictionary)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLFeatureValue.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLFeatureValue.g.cs | |
index 7c3696b..3f1bb23 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLFeatureValue.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLFeatureValue.g.cs | |
@@ -234,7 +234,7 @@ namespace CoreML { | |
} | |
[Export ("featureValueWithDictionary:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error) | |
+ public unsafe static MLFeatureValue? Create (NSDictionary<NSObject, NSNumber> value, out NSError error) | |
{ | |
var value__handle__ = value!.GetNonNullHandle (nameof (value)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -249,7 +249,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options.GetHandle (); | |
@@ -264,7 +264,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (url, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error); | |
} | |
@@ -274,7 +274,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint)); | |
@@ -290,7 +290,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (url, constraint, imageOptions.GetDictionary (), out error); | |
} | |
@@ -300,7 +300,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var options__handle__ = options.GetHandle (); | |
@@ -315,7 +315,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (image, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error); | |
} | |
@@ -325,7 +325,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint)); | |
@@ -341,7 +341,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (image, constraint, imageOptions.GetDictionary (), out error); | |
} | |
@@ -351,7 +351,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options.GetHandle (); | |
@@ -366,7 +366,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (url, orientation, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error); | |
} | |
@@ -376,7 +376,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint)); | |
@@ -392,7 +392,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (NSUrl url, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (url, orientation, constraint, imageOptions.GetDictionary (), out error); | |
} | |
@@ -402,7 +402,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, NSDictionary? options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var options__handle__ = options.GetHandle (); | |
@@ -417,7 +417,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, global::CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (image, orientation, pixelsWide, pixelsHigh, pixelFormatType, imageOptions.GetDictionary (), out error); | |
} | |
@@ -427,7 +427,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, NSDictionary? options, out NSError? error) | |
{ | |
var image__handle__ = image!.GetNonNullHandle (nameof (image)); | |
var constraint__handle__ = constraint!.GetNonNullHandle (nameof (constraint)); | |
@@ -443,7 +443,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
+ public unsafe static MLFeatureValue? Create (CGImage image, global::ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption? imageOptions, out NSError? error) | |
{ | |
return Create (image, orientation, constraint, imageOptions.GetDictionary (), out error); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLModel.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLModel.g.cs | |
index ca6f0cb..76e6174 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLModel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLModel.g.cs | |
@@ -153,7 +153,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? CompileModel (NSUrl modelUrl, out NSError error) | |
+ public unsafe static NSUrl? CompileModel (NSUrl modelUrl, out NSError error) | |
{ | |
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -195,7 +195,7 @@ namespace CoreML { | |
} | |
[Export ("modelWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModel? Create (NSUrl url, out NSError error) | |
+ public unsafe static MLModel? Create (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -210,7 +210,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error) | |
+ public unsafe static MLModel? Create (NSUrl url, MLModelConfiguration configuration, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var configuration__handle__ = configuration!.GetNonNullHandle (nameof (configuration)); | |
@@ -226,7 +226,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error) | |
+ public unsafe virtual NSObject? GetParameterValue (MLParameterKey key, out NSError? error) | |
{ | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -241,7 +241,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, out NSError error) | |
{ | |
var input__handle__ = input!.GetNonNullHandle (nameof (input)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -256,7 +256,7 @@ namespace CoreML { | |
} | |
[Export ("predictionFromFeatures:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLFeatureProvider? GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, out NSError error) | |
{ | |
var input__handle__ = input!.GetNonNullHandle (nameof (input)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -347,7 +347,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, out NSError? error) | |
{ | |
var inputBatch__handle__ = inputBatch!.GetNonNullHandle (nameof (inputBatch)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -366,7 +366,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
+ public unsafe virtual IMLBatchProvider? GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error) | |
{ | |
var inputBatch__handle__ = inputBatch!.GetNonNullHandle (nameof (inputBatch)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLModelAsset.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLModelAsset.g.cs | |
index 3311159..9ff44a2 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLModelAsset.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLModelAsset.g.cs | |
@@ -136,7 +136,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLModelAsset? Create (NSData specificationData, out NSError? error) | |
+ public unsafe static MLModelAsset? Create (NSData specificationData, out NSError? error) | |
{ | |
var specificationData__handle__ = specificationData!.GetNonNullHandle (nameof (specificationData)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs | |
index f30a03f..75034c3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLMultiArray.g.cs | |
@@ -152,7 +152,7 @@ namespace CoreML { | |
[Export ("initWithShape:dataType:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error) | |
+ public unsafe MLMultiArray (NSNumber[] shape, MLMultiArrayDataType dataType, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (shape is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLUpdateTask.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLUpdateTask.g.cs | |
index b65c37a..51ff715 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLUpdateTask.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLUpdateTask.g.cs | |
@@ -149,7 +149,7 @@ namespace CoreML { | |
} | |
[Export ("updateTaskForModelAtURL:trainingData:configuration:progressHandlers:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration? configuration, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
{ | |
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl)); | |
var trainingData__handle__ = trainingData!.GetNonNullHandle (nameof (trainingData)); | |
@@ -187,7 +187,7 @@ namespace CoreML { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
+ public unsafe static MLUpdateTask? Create (NSUrl modelUrl, IMLBatchProvider trainingData, MLUpdateProgressHandlers progressHandlers, out NSError? error) | |
{ | |
var modelUrl__handle__ = modelUrl!.GetNonNullHandle (nameof (modelUrl)); | |
var trainingData__handle__ = trainingData!.GetNonNullHandle (nameof (trainingData)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreML/MLWritable.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreML/MLWritable.g.cs | |
index cd74fc7..2e2b322 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreML/MLWritable.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreML/MLWritable.g.cs | |
@@ -60,7 +60,7 @@ namespace CoreML { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("writeToURL:error:")] | |
[Preserve (Conditional = true)] | |
- bool Write (NSUrl url, out NSError? error); | |
+ unsafe bool Write (NSUrl url, out NSError? error); | |
} | |
internal unsafe sealed class MLWritableWrapper : BaseWrapper, IMLWritable { | |
[Preserve (Conditional = true)] | |
@@ -70,7 +70,7 @@ namespace CoreML { | |
} | |
[Export ("writeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Write (NSUrl url, out NSError? error) | |
+ public unsafe bool Write (NSUrl url, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs | |
index 3d46b46..acbe2bf 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreMidi/MidiCISession.g.cs | |
@@ -156,7 +156,7 @@ namespace CoreMidi { | |
} | |
[Export ("disableProfile:onChannel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
+ public unsafe virtual bool DisableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
{ | |
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -171,7 +171,7 @@ namespace CoreMidi { | |
} | |
[Export ("enableProfile:onChannel:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
+ public unsafe virtual bool EnableProfile (MidiCIProfile profile, byte channel, out NSError? outError) | |
{ | |
var profile__handle__ = profile!.GetNonNullHandle (nameof (profile)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreNFC/NFCNdefPayload.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
index ed43f3e..5eb0d34 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreNFC/NFCNdefPayload.g.cs | |
@@ -237,7 +237,7 @@ namespace CoreNFC { | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string? GetWellKnownTypeTextPayload (out NSLocale locale) | |
+ public unsafe virtual string? GetWellKnownTypeTextPayload (out NSLocale locale) | |
{ | |
NativeHandle localeValue = IntPtr.Zero; | |
string? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSImportExtension.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
index 3dffe98..d687369 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSImportExtension.g.cs | |
@@ -160,7 +160,7 @@ namespace CoreSpotlight { | |
} | |
[Export ("updateAttributes:forFileAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error) | |
+ public unsafe virtual bool Update (CSSearchableItemAttributeSet attributes, NSUrl contentUrl, out NSError? error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
var contentUrl__handle__ = contentUrl!.GetNonNullHandle (nameof (contentUrl)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
index 8b24990..4661ad3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSIndexExtensionRequestHandler.g.cs | |
@@ -194,7 +194,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -221,7 +221,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
index b83b4ae..2150c95 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/CoreSpotlight/CSSearchableIndexDelegate.g.cs | |
@@ -93,7 +93,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe static NSData? GetData (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -115,7 +115,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe static NSUrl? GetFileUrl (this ICSSearchableIndexDelegate This, CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
var searchableIndex__handle__ = searchableIndex!.GetNonNullHandle (nameof (searchableIndex)); | |
if (itemIdentifier is null) | |
@@ -271,7 +271,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
+ public unsafe virtual NSData? GetData (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out NSError outError) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
@@ -281,7 +281,7 @@ namespace CoreSpotlight { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
+ public unsafe virtual NSUrl? GetFileUrl (CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, bool inPlace, out NSError outError) | |
{ | |
throw new You_Should_Not_Call_base_In_This_Method (); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/EventKit/EKEventStore.g.cs b/new/dotnet/maccatalyst/generated-sources/EventKit/EKEventStore.g.cs | |
index a2f46ea..bc7e2d7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/EventKit/EKEventStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/EventKit/EKEventStore.g.cs | |
@@ -173,7 +173,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Commit (out NSError error) | |
+ public unsafe virtual bool Commit (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -429,7 +429,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
{ | |
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -447,7 +447,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
{ | |
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -465,7 +465,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error) | |
+ public unsafe virtual bool RemoveEvents (EKEvent theEvent, EKSpan span, out NSError error) | |
{ | |
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -483,7 +483,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error) | |
+ public unsafe virtual bool RemoveReminder (EKReminder reminder, bool commit, out NSError error) | |
{ | |
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -633,7 +633,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveCalendar (EKCalendar calendar, bool commit, out NSError error) | |
{ | |
var calendar__handle__ = calendar!.GetNonNullHandle (nameof (calendar)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -651,7 +651,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error) | |
+ public unsafe virtual bool SaveEvent (EKEvent theEvent, EKSpan span, out NSError error) | |
{ | |
var theEvent__handle__ = theEvent!.GetNonNullHandle (nameof (theEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -669,7 +669,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveEvent (EKEvent ekEvent, EKSpan span, bool commit, out NSError error) | |
{ | |
var ekEvent__handle__ = ekEvent!.GetNonNullHandle (nameof (ekEvent)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -687,7 +687,7 @@ namespace EventKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error) | |
+ public unsafe virtual bool SaveReminder (EKReminder reminder, bool commit, out NSError error) | |
{ | |
var reminder__handle__ = reminder!.GetNonNullHandle (nameof (reminder)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/ExecutionPolicy/EPExecutionPolicy.g.cs b/new/dotnet/maccatalyst/generated-sources/ExecutionPolicy/EPExecutionPolicy.g.cs | |
index 6377ad5..06483f2 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/ExecutionPolicy/EPExecutionPolicy.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/ExecutionPolicy/EPExecutionPolicy.g.cs | |
@@ -143,7 +143,7 @@ namespace ExecutionPolicy { | |
[Export ("addPolicyExceptionForURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AddPolicyException (NSUrl url, out NSError? error) | |
+ public unsafe virtual bool AddPolicyException (NSUrl url, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAppleScript.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAppleScript.g.cs | |
index 4db3774..22d55f7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAppleScript.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAppleScript.g.cs | |
@@ -133,7 +133,7 @@ namespace Foundation { | |
[Export ("initWithContentsOfURL:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAppleScript (NSUrl url, out NSDictionary errorInfo) | |
+ public unsafe NSAppleScript (NSUrl url, out NSDictionary errorInfo) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -163,7 +163,7 @@ namespace Foundation { | |
} | |
[Export ("compileAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CompileAndReturnError (out NSDictionary errorInfo) | |
+ public unsafe virtual bool CompileAndReturnError (out NSDictionary errorInfo) | |
{ | |
NativeHandle errorInfoValue = IntPtr.Zero; | |
byte ret; | |
@@ -197,7 +197,7 @@ namespace Foundation { | |
} | |
[Export ("executeAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSAppleEventDescriptor ExecuteAndReturnError (out NSDictionary errorInfo) | |
+ public unsafe virtual NSAppleEventDescriptor ExecuteAndReturnError (out NSDictionary errorInfo) | |
{ | |
NativeHandle errorInfoValue = IntPtr.Zero; | |
NSAppleEventDescriptor? ret; | |
@@ -211,7 +211,7 @@ namespace Foundation { | |
} | |
[Export ("executeAppleEvent:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSAppleEventDescriptor ExecuteAppleEvent (NSAppleEventDescriptor eventDescriptor, out NSDictionary errorInfo) | |
+ public unsafe virtual NSAppleEventDescriptor ExecuteAppleEvent (NSAppleEventDescriptor eventDescriptor, out NSDictionary errorInfo) | |
{ | |
var eventDescriptor__handle__ = eventDescriptor!.GetNonNullHandle (nameof (eventDescriptor)); | |
NativeHandle errorInfoValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSArray.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSArray.g.cs | |
index a4c9410..fa7636f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSArray.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSArray.g.cs | |
@@ -259,7 +259,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSArray? FromUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSArray? FromUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -384,7 +384,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl url, out NSError error) | |
+ public unsafe virtual bool Write (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs | |
index 4be73f1..affd167 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSAttributedString.g.cs | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("initWithURL:options:documentAttributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSUrl url, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -222,7 +222,7 @@ namespace Foundation { | |
} | |
[Export ("initWithData:options:documentAttributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData data, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSData data, NSDictionary options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -238,12 +238,12 @@ namespace Foundation { | |
error = Runtime.GetNSObject<NSError> (errorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: this (url, options.GetDictionary ()!, out resultDocumentAttributes, ref error) | |
{ | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
+ public unsafe NSAttributedString (NSData data, NSAttributedStringDocumentAttributes options, out NSDictionary resultDocumentAttributes, ref NSError error) | |
: this (data, options.GetDictionary ()!, out resultDocumentAttributes, ref error) | |
{ | |
} | |
@@ -253,7 +253,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var markdownFile__handle__ = markdownFile!.GetNonNullHandle (nameof (markdownFile)); | |
@@ -273,7 +273,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var markdown__handle__ = markdown!.GetNonNullHandle (nameof (markdown)); | |
@@ -293,7 +293,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
+ public unsafe NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
if (markdownString is null) | |
@@ -426,7 +426,7 @@ namespace Foundation { | |
} | |
[Export ("attribute:atIndex:effectiveRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject GetAttribute (string attribute, nint location, out NSRange effectiveRange) | |
+ public unsafe virtual NSObject GetAttribute (string attribute, nint location, out NSRange effectiveRange) | |
{ | |
if (attribute is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (attribute)); | |
@@ -443,7 +443,7 @@ namespace Foundation { | |
} | |
[Export ("attribute:atIndex:longestEffectiveRange:inRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject GetAttribute (string attribute, nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
+ public unsafe virtual NSObject GetAttribute (string attribute, nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
{ | |
if (attribute is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (attribute)); | |
@@ -460,7 +460,7 @@ namespace Foundation { | |
} | |
[Export ("attributesAtIndex:longestEffectiveRange:inRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary GetAttributes (nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
+ public unsafe virtual NSDictionary GetAttributes (nint location, out NSRange longestEffectiveRange, NSRange rangeLimit) | |
{ | |
longestEffectiveRange = default (NSRange); | |
if (IsDirectBinding) { | |
@@ -495,7 +495,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetData (NSRange range, NSDictionary options, out NSError error) | |
+ public unsafe NSData? GetData (NSRange range, NSDictionary options, out NSError error) | |
{ | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -505,7 +505,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetData (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
+ public unsafe NSData? GetData (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
{ | |
return this.GetData (range, options.GetDictionary ()!, out error); | |
} | |
@@ -513,7 +513,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetData' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? GetDataFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
+ public unsafe virtual NSData? GetDataFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
var errorValue = error is null ? NativeHandle.Zero : error.Handle; | |
@@ -529,12 +529,12 @@ namespace Foundation { | |
[Obsolete ("Use 'GetData' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSData? GetDataFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
+ public unsafe NSData? GetDataFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
{ | |
return GetDataFromRange (range, documentAttributes.GetDictionary ()!, ref error); | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapper (NSRange range, NSDictionary options, out NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapper (NSRange range, NSDictionary options, out NSError error) | |
{ | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -544,7 +544,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapper (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapper (NSRange range, NSAttributedStringDocumentAttributes options, out NSError error) | |
{ | |
return this.GetFileWrapper (range, options.GetDictionary ()!, out error); | |
} | |
@@ -552,7 +552,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetFileWrapper' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
+ public unsafe virtual NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSDictionary attributes, ref NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
var errorValue = error is null ? NativeHandle.Zero : error.Handle; | |
@@ -568,7 +568,7 @@ namespace Foundation { | |
[Obsolete ("Use 'GetFileWrapper' instead.", false)] | |
[EditorBrowsable (EditorBrowsableState.Never)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
+ public unsafe NSFileWrapper? GetFileWrapperFromRange (NSRange range, NSAttributedStringDocumentAttributes documentAttributes, ref NSError error) | |
{ | |
return GetFileWrapperFromRange (range, documentAttributes.GetDictionary ()!, ref error); | |
} | |
@@ -598,7 +598,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCalendar.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCalendar.g.cs | |
index c04d769..9e3e370 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCalendar.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCalendar.g.cs | |
@@ -439,7 +439,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FindNextWeekend (out NSDate date, out double interval, NSCalendarOptions options, NSDate afterDate) | |
+ public unsafe virtual bool FindNextWeekend (out NSDate date, out double interval, NSCalendarOptions options, NSDate afterDate) | |
{ | |
var afterDate__handle__ = afterDate!.GetNonNullHandle (nameof (afterDate)); | |
NativeHandle dateValue = IntPtr.Zero; | |
@@ -474,7 +474,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetComponentsFromDate (out nint era, out nint year, out nint month, out nint day, NSDate date) | |
+ public unsafe virtual void GetComponentsFromDate (out nint era, out nint year, out nint month, out nint day, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
era = default (nint);year = default (nint);month = default (nint);day = default (nint); | |
@@ -490,7 +490,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetComponentsFromDateForWeekOfYear (out nint era, out nint year, out nint weekOfYear, out nint weekday, NSDate date) | |
+ public unsafe virtual void GetComponentsFromDateForWeekOfYear (out nint era, out nint year, out nint weekOfYear, out nint weekday, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
era = default (nint);year = default (nint);weekOfYear = default (nint);weekday = default (nint); | |
@@ -506,7 +506,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetHourComponentsFromDate (out nint hour, out nint minute, out nint second, out nint nanosecond, NSDate date) | |
+ public unsafe virtual void GetHourComponentsFromDate (out nint hour, out nint minute, out nint second, out nint nanosecond, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
hour = default (nint);minute = default (nint);second = default (nint);nanosecond = default (nint); | |
@@ -688,7 +688,7 @@ namespace Foundation { | |
} | |
[Export ("rangeOfUnit:startDate:interval:forDate:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Range (NSCalendarUnit unit, out NSDate? datep, out double interval, NSDate date) | |
+ public unsafe virtual bool Range (NSCalendarUnit unit, out NSDate? datep, out double interval, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
NativeHandle datepValue = IntPtr.Zero; | |
@@ -708,7 +708,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool RangeOfWeekendContainingDate (out NSDate weekendStartDate, out double interval, NSDate date) | |
+ public unsafe virtual bool RangeOfWeekendContainingDate (out NSDate weekendStartDate, out double interval, NSDate date) | |
{ | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
NativeHandle weekendStartDateValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCoder.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCoder.g.cs | |
index dc630c4..ff2417b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCoder.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCoder.g.cs | |
@@ -215,7 +215,7 @@ namespace Foundation { | |
} | |
[Export ("decodeBytesForKey:returnedLength:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nint DecodeBytes (string key, out nuint length) | |
+ public unsafe virtual nint DecodeBytes (string key, out nuint length) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
@@ -232,7 +232,7 @@ namespace Foundation { | |
} | |
[Export ("decodeBytesWithReturnedLength:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual nint DecodeBytes (out nuint length) | |
+ public unsafe virtual nint DecodeBytes (out nuint length) | |
{ | |
length = default (nuint); | |
if (IsDirectBinding) { | |
@@ -397,7 +397,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSObject? ret; | |
@@ -415,7 +415,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (string key, out NSError error) | |
{ | |
if (key is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key)); | |
@@ -437,7 +437,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (Class klass, string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (Class klass, string key, out NSError error) | |
{ | |
var klass__handle__ = klass!.GetNonNullHandle (nameof (klass)); | |
if (key is null) | |
@@ -460,7 +460,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSObject DecodeTopLevelObject (NSSet<Class>? setOfClasses, string key, out NSError error) | |
+ public unsafe virtual NSObject DecodeTopLevelObject (NSSet<Class>? setOfClasses, string key, out NSError error) | |
{ | |
var setOfClasses__handle__ = setOfClasses.GetHandle (); | |
if (key is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCoding.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCoding.g.cs | |
index b8b0ef9..7d00864 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSCoding.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSCoding.g.cs | |
@@ -54,7 +54,7 @@ namespace Foundation { | |
public partial interface INSCoding : INativeObject, IDisposable | |
{ | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public unsafe static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, INSCoding | |
+ public static T? CreateInstance<T> (NSCoder decoder) where T: NSObject, INSCoding | |
{ | |
var decoder__handle__ = decoder!.GetNonNullHandle (nameof (decoder)); | |
IntPtr __handle__; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSData.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSData.g.cs | |
index 454624f..b5088c7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSData.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSData.g.cs | |
@@ -219,7 +219,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual NSData? Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -253,7 +253,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual NSData? Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -346,7 +346,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithContentsOfFile:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData FromFile (string path, NSDataReadingOptions mask, out NSError error) | |
+ public unsafe static NSData FromFile (string path, NSDataReadingOptions mask, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -367,7 +367,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithContentsOfURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData FromUrl (NSUrl url, NSDataReadingOptions mask, out NSError error) | |
+ public unsafe static NSData FromUrl (NSUrl url, NSDataReadingOptions mask, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDataDetector.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDataDetector.g.cs | |
index c4bdb32..688b14b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDataDetector.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDataDetector.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithTypes:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDataDetector (NSTextCheckingTypes options, out NSError error) | |
+ public unsafe NSDataDetector (NSTextCheckingTypes options, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -174,7 +174,7 @@ namespace Foundation { | |
error = Runtime.GetNSObject<NSError> (errorValue)!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDataDetector (NSTextCheckingType options, out NSError error) | |
+ public unsafe NSDataDetector (NSTextCheckingType options, out NSError error) | |
: this ((NSTextCheckingTypes) options, out error) | |
{ | |
} | |
@@ -196,7 +196,7 @@ namespace Foundation { | |
} | |
[Export ("dataDetectorWithTypes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDataDetector Create (NSTextCheckingTypes checkingTypes, out NSError error) | |
+ public unsafe static NSDataDetector Create (NSTextCheckingTypes checkingTypes, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDataDetector? ret; | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDataDetector Create (NSTextCheckingType checkingTypes, out NSError error) | |
+ public unsafe static NSDataDetector Create (NSTextCheckingType checkingTypes, out NSError error) | |
{ | |
return Create ((NSTextCheckingTypes) checkingTypes, out error); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDateComponentsFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
index a362a9e..91c8ca3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDateComponentsFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDictionary.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDictionary.g.cs | |
index 203f509..450e8f2 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSDictionary.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSDictionary.g.cs | |
@@ -246,7 +246,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSDictionary (NSUrl url, out NSError error) | |
+ public unsafe NSDictionary (NSUrl url, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -357,7 +357,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary<NSString, NSObject>? FromUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSDictionary<NSString, NSObject>? FromUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSEnergyFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
index bbd400d..5ff94da 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSEnergyFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromJoules:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromJoules (double numberInJoules, out NSEnergyFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromJoules (double numberInJoules, out NSEnergyFormatterUnit unitp) | |
{ | |
unitp = default (NSEnergyFormatterUnit); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileHandle.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileHandle.g.cs | |
index 157aefd..0ee6dc3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileHandle.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileHandle.g.cs | |
@@ -214,7 +214,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Close (out NSError? error) | |
+ public unsafe virtual bool Close (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -285,7 +285,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetOffset (out ulong offsetInFile, out NSError? error) | |
+ public unsafe virtual bool GetOffset (out ulong offsetInFile, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
offsetInFile = default (ulong); | |
@@ -330,7 +330,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForReadingFromURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenReadUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenReadUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -353,7 +353,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForUpdatingURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenUpdateUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenUpdateUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -376,7 +376,7 @@ namespace Foundation { | |
} | |
[Export ("fileHandleForWritingToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSFileHandle OpenWriteUrl (NSUrl url, out NSError error) | |
+ public unsafe static NSFileHandle OpenWriteUrl (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -391,7 +391,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? Read (nuint length, out NSError? error) | |
+ public unsafe virtual NSData? Read (nuint length, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -474,7 +474,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData? ReadToEnd (out NSError? error) | |
+ public unsafe virtual NSData? ReadToEnd (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSData? ret; | |
@@ -521,7 +521,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Seek (ulong offset, out NSError? error) | |
+ public unsafe virtual bool Seek (ulong offset, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -539,7 +539,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SeekToEnd (out ulong offsetInFile, out NSError? error) | |
+ public unsafe virtual bool SeekToEnd (out ulong offsetInFile, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
offsetInFile = default (ulong); | |
@@ -622,7 +622,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Synchronize (out NSError? error) | |
+ public unsafe virtual bool Synchronize (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -658,7 +658,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Truncate (ulong offset, out NSError? error) | |
+ public unsafe virtual bool Truncate (ulong offset, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -723,7 +723,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSData data, out NSError? error) | |
+ public unsafe virtual bool Write (NSData data, out NSError? error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileManager.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileManager.g.cs | |
index 860e519..def7a9e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileManager.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileManager.g.cs | |
@@ -209,7 +209,7 @@ namespace Foundation { | |
} | |
[Export ("copyItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Copy (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Copy (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -231,7 +231,7 @@ namespace Foundation { | |
} | |
[Export ("copyItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Copy (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Copy (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -247,7 +247,7 @@ namespace Foundation { | |
} | |
[Export ("createDirectoryAtPath:withIntermediateDirectories:attributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDirectory (string path, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
+ public unsafe virtual bool CreateDirectory (string path, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -266,7 +266,7 @@ namespace Foundation { | |
} | |
[Export ("createDirectoryAtURL:withIntermediateDirectories:attributes:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateDirectory (NSUrl url, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
+ public unsafe virtual bool CreateDirectory (NSUrl url, bool createIntermediates, NSDictionary? attributes, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var attributes__handle__ = attributes.GetHandle (); | |
@@ -300,7 +300,7 @@ namespace Foundation { | |
} | |
[Export ("createSymbolicLinkAtPath:withDestinationPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateSymbolicLink (string path, string destPath, out NSError error) | |
+ public unsafe virtual bool CreateSymbolicLink (string path, string destPath, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -322,7 +322,7 @@ namespace Foundation { | |
} | |
[Export ("createSymbolicLinkAtURL:withDestinationURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CreateSymbolicLink (NSUrl url, NSUrl destURL, out NSError error) | |
+ public unsafe virtual bool CreateSymbolicLink (NSUrl url, NSUrl destURL, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var destURL__handle__ = destURL!.GetNonNullHandle (nameof (destURL)); | |
@@ -354,7 +354,7 @@ namespace Foundation { | |
} | |
[Export ("evictUbiquitousItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool EvictUbiquitous (NSUrl url, out NSError error) | |
+ public unsafe virtual bool EvictUbiquitous (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -385,7 +385,7 @@ namespace Foundation { | |
} | |
[Export ("fileExistsAtPath:isDirectory:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool FileExists (string path, ref bool isDirectory) | |
+ public unsafe virtual bool FileExists (string path, ref bool isDirectory) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -427,7 +427,7 @@ namespace Foundation { | |
} | |
[Export ("contentsOfDirectoryAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetDirectoryContent (string path, out NSError error) | |
+ public unsafe virtual string[] GetDirectoryContent (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -445,7 +445,7 @@ namespace Foundation { | |
} | |
[Export ("contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl[] GetDirectoryContent (NSUrl url, NSArray? properties, NSDirectoryEnumerationOptions options, out NSError error) | |
+ public unsafe virtual NSUrl[] GetDirectoryContent (NSUrl url, NSArray? properties, NSDirectoryEnumerationOptions options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var properties__handle__ = properties.GetHandle (); | |
@@ -461,7 +461,7 @@ namespace Foundation { | |
} | |
[Export ("subpathsOfDirectoryAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetDirectoryContentRecursive (string path, out NSError error) | |
+ public unsafe virtual string[] GetDirectoryContentRecursive (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -565,7 +565,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl toItemAtUrl, out NSError error) | |
+ public unsafe virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl toItemAtUrl, out NSError error) | |
{ | |
var toItemAtUrl__handle__ = toItemAtUrl!.GetNonNullHandle (nameof (toItemAtUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -585,7 +585,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSUrl directoryURL, NSUrl otherURL, out NSError error) | |
+ public unsafe virtual bool GetRelationship (out NSUrlRelationship outRelationship, NSUrl directoryURL, NSUrl otherURL, out NSError error) | |
{ | |
var directoryURL__handle__ = directoryURL!.GetNonNullHandle (nameof (directoryURL)); | |
var otherURL__handle__ = otherURL!.GetNonNullHandle (nameof (otherURL)); | |
@@ -602,7 +602,7 @@ namespace Foundation { | |
} | |
[Export ("destinationOfSymbolicLinkAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetSymbolicLinkDestination (string path, out NSError error) | |
+ public unsafe virtual string GetSymbolicLinkDestination (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -620,7 +620,7 @@ namespace Foundation { | |
} | |
[Export ("URLForDirectory:inDomain:appropriateForURL:create:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl GetUrl (NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl? url, bool shouldCreate, out NSError error) | |
+ public unsafe virtual NSUrl GetUrl (NSSearchPathDirectory directory, NSSearchPathDomain domain, NSUrl? url, bool shouldCreate, out NSError error) | |
{ | |
var url__handle__ = url.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -635,7 +635,7 @@ namespace Foundation { | |
} | |
[Export ("URLForPublishingUbiquitousItemAtURL:expirationDate:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl GetUrlForPublishingUbiquitousItem (NSUrl url, out NSDate expirationDate, out NSError error) | |
+ public unsafe virtual NSUrl GetUrlForPublishingUbiquitousItem (NSUrl url, out NSDate expirationDate, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle expirationDateValue = IntPtr.Zero; | |
@@ -753,7 +753,7 @@ namespace Foundation { | |
} | |
[Export ("linkItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Link (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Link (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -775,7 +775,7 @@ namespace Foundation { | |
} | |
[Export ("linkItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Link (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Link (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -791,7 +791,7 @@ namespace Foundation { | |
} | |
[Export ("moveItemAtPath:toPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Move (string srcPath, string dstPath, out NSError error) | |
+ public unsafe virtual bool Move (string srcPath, string dstPath, out NSError error) | |
{ | |
if (srcPath is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (srcPath)); | |
@@ -813,7 +813,7 @@ namespace Foundation { | |
} | |
[Export ("moveItemAtURL:toURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Move (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
+ public unsafe virtual bool Move (NSUrl srcUrl, NSUrl dstUrl, out NSError error) | |
{ | |
var srcUrl__handle__ = srcUrl!.GetNonNullHandle (nameof (srcUrl)); | |
var dstUrl__handle__ = dstUrl!.GetNonNullHandle (nameof (dstUrl)); | |
@@ -829,7 +829,7 @@ namespace Foundation { | |
} | |
[Export ("removeItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (string? path, out NSError error) | |
+ public unsafe virtual bool Remove (string? path, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
var nspath = CFString.CreateNative (path); | |
@@ -845,7 +845,7 @@ namespace Foundation { | |
} | |
[Export ("removeItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (NSUrl? url, out NSError error) | |
+ public unsafe virtual bool Remove (NSUrl? url, out NSError error) | |
{ | |
var url__handle__ = url.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -860,7 +860,7 @@ namespace Foundation { | |
} | |
[Export ("replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Replace (NSUrl originalItem, NSUrl newItem, string? backupItemName, NSFileManagerItemReplacementOptions options, out NSUrl resultingURL, out NSError error) | |
+ public unsafe virtual bool Replace (NSUrl originalItem, NSUrl newItem, string? backupItemName, NSFileManagerItemReplacementOptions options, out NSUrl resultingURL, out NSError error) | |
{ | |
var originalItem__handle__ = originalItem!.GetNonNullHandle (nameof (originalItem)); | |
var newItem__handle__ = newItem!.GetNonNullHandle (nameof (newItem)); | |
@@ -880,7 +880,7 @@ namespace Foundation { | |
} | |
[Export ("setAttributes:ofItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetAttributes (NSDictionary attributes, string path, out NSError error) | |
+ public unsafe virtual bool SetAttributes (NSDictionary attributes, string path, out NSError error) | |
{ | |
var attributes__handle__ = attributes!.GetNonNullHandle (nameof (attributes)); | |
if (path is null) | |
@@ -899,7 +899,7 @@ namespace Foundation { | |
} | |
[Export ("setUbiquitous:itemAtURL:destinationURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetUbiquitous (bool flag, NSUrl url, NSUrl destinationUrl, out NSError error) | |
+ public unsafe virtual bool SetUbiquitous (bool flag, NSUrl url, NSUrl destinationUrl, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var destinationUrl__handle__ = destinationUrl!.GetNonNullHandle (nameof (destinationUrl)); | |
@@ -915,7 +915,7 @@ namespace Foundation { | |
} | |
[Export ("startDownloadingUbiquitousItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartDownloadingUbiquitous (NSUrl url, out NSError error) | |
+ public unsafe virtual bool StartDownloadingUbiquitous (NSUrl url, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -950,7 +950,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error) | |
+ public unsafe virtual bool TrashItem (NSUrl url, out NSUrl resultingItemUrl, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle resultingItemUrlValue = IntPtr.Zero; | |
@@ -967,7 +967,7 @@ namespace Foundation { | |
} | |
[Export ("attributesOfItemAtPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary _GetAttributes (string path, out NSError error) | |
+ internal unsafe virtual NSDictionary _GetAttributes (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
@@ -985,7 +985,7 @@ namespace Foundation { | |
} | |
[Export ("attributesOfFileSystemForPath:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSDictionary _GetFileSystemAttributes (string path, out NSError error) | |
+ internal unsafe virtual NSDictionary _GetFileSystemAttributes (string path, out NSError error) | |
{ | |
if (path is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (path)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileVersion.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileVersion.g.cs | |
index c833a98..5d4e371 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileVersion.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileVersion.g.cs | |
@@ -188,7 +188,7 @@ namespace Foundation { | |
} | |
[Export ("removeAndReturnError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Remove (out NSError outError) | |
+ public unsafe virtual bool Remove (out NSError outError) | |
{ | |
NativeHandle outErrorValue = IntPtr.Zero; | |
byte ret; | |
@@ -202,7 +202,7 @@ namespace Foundation { | |
} | |
[Export ("removeOtherVersionsOfItemAtURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool RemoveOtherVersions (NSUrl url, out NSError outError) | |
+ public unsafe static bool RemoveOtherVersions (NSUrl url, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -213,7 +213,7 @@ namespace Foundation { | |
} | |
[Export ("replaceItemAtURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSUrl ReplaceItem (NSUrl url, NSFileVersionReplacingOptions options, out NSError error) | |
+ public unsafe virtual NSUrl ReplaceItem (NSUrl url, NSFileVersionReplacingOptions options, out NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileWrapper.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileWrapper.g.cs | |
index 35da8ab..5269727 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFileWrapper.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFileWrapper.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithURL:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSFileWrapper (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
+ public unsafe NSFileWrapper (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
: base (NSObjectFlag.Empty) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
@@ -298,7 +298,7 @@ namespace Foundation { | |
} | |
[Export ("readFromURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Read (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
+ public unsafe virtual bool Read (NSUrl url, NSFileWrapperReadingOptions options, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle outErrorValue = IntPtr.Zero; | |
@@ -324,7 +324,7 @@ namespace Foundation { | |
} | |
[Export ("writeToURL:options:originalContentsURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Write (NSUrl url, NSFileWrapperWritingOptions options, NSUrl? originalContentsURL, out NSError outError) | |
+ public unsafe virtual bool Write (NSUrl url, NSFileWrapperWritingOptions options, NSUrl? originalContentsURL, out NSError outError) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var originalContentsURL__handle__ = originalContentsURL.GetHandle (); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFormatter.g.cs | |
index 5a8c1d1..545917b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSFormatter.g.cs | |
@@ -223,7 +223,7 @@ namespace Foundation { | |
} | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out NSString error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out NSString error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -243,7 +243,7 @@ namespace Foundation { | |
} | |
[Export ("isPartialStringValid:newEditingString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool IsPartialStringValid (string partialString, out string? newString, out NSString? error) | |
+ public unsafe virtual bool IsPartialStringValid (string partialString, out string? newString, out NSString? error) | |
{ | |
if (partialString is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (partialString)); | |
@@ -263,7 +263,7 @@ namespace Foundation { | |
} | |
[Export ("isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string? error) | |
+ public unsafe virtual bool IsPartialStringValid (ref string partialString, out NSRange proposedSelRange, string origString, NSRange origSelRange, out string? error) | |
{ | |
if (origString is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (origString)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderReading.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderReading.g.cs | |
index 4220a2a..984026f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderReading.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderReading.g.cs | |
@@ -58,6 +58,28 @@ namespace Foundation { | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = true, Name = "ReadableTypeIdentifiers", Selector = "readableTypeIdentifiersForItemProvider", PropertyType = typeof (String[]), GetterSelector = "readableTypeIdentifiersForItemProvider", ArgumentSemantic = ArgumentSemantic.Copy)] | |
public partial interface INSItemProviderReading : INativeObject, IDisposable | |
{ | |
+ [Export ("objectWithItemProviderData:typeIdentifier:error:")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe static INSItemProviderReading? GetObject<T> (NSData data, string typeIdentifier, out NSError? outError) where T: NSObject, INSItemProviderReading | |
+ { | |
+ var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
+ if (typeIdentifier is null) | |
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (typeIdentifier)); | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ NativeHandle outErrorValue = IntPtr.Zero; | |
+ var nstypeIdentifier = CFString.CreateNative (typeIdentifier); | |
+ INSItemProviderReading? ret; | |
+ ret = Runtime.GetINativeObject<INSItemProviderReading> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_ref_NativeHandle (class_ptr, Selector.GetHandle ("objectWithItemProviderData:typeIdentifier:error:"), data__handle__, nstypeIdentifier, &outErrorValue), false)!; | |
+ CFString.ReleaseNative (nstypeIdentifier); | |
+ outError = Runtime.GetNSObject<NSError> (outErrorValue)!; | |
+ return ret!; | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string[] GetReadableTypeIdentifiers<T> () where T: NSObject, INSItemProviderReading | |
+ { | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("readableTypeIdentifiersForItemProvider")))!; | |
+ } | |
} | |
internal unsafe sealed class NSItemProviderReadingWrapper : BaseWrapper, INSItemProviderReading { | |
[Preserve (Conditional = true)] | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderWriting.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
index cbb4a9f..e6b0b42 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSItemProviderWriting.g.cs | |
@@ -64,6 +64,12 @@ namespace Foundation { | |
[Export ("loadDataWithTypeIdentifier:forItemProviderCompletionHandler:")] | |
[Preserve (Conditional = true)] | |
unsafe NSProgress? LoadData (string typeIdentifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V16))]global::System.Action<NSData, NSError> completionHandler); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static string[] GetWritableTypeIdentifiers<T> () where T: NSObject, INSItemProviderWriting | |
+ { | |
+ var class_ptr = Class.GetHandle (typeof (T)); | |
+ return CFArray.StringArrayFromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("writableTypeIdentifiersForItemProvider")))!; | |
+ } | |
} | |
/// <summary>Extension methods to the <see cref="INSItemProviderWriting" /> interface to support all the methods from the NSItemProviderWriting protocol.</summary> | |
/// <remarks> | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSJsonSerialization.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSJsonSerialization.g.cs | |
index 43b1273..c1d1b6e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSJsonSerialization.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSJsonSerialization.g.cs | |
@@ -128,7 +128,7 @@ namespace Foundation { | |
[Export ("JSONObjectWithData:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject Deserialize (NSData data, NSJsonReadingOptions opt, out NSError error) | |
+ public unsafe static NSObject Deserialize (NSData data, NSJsonReadingOptions opt, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -139,7 +139,7 @@ namespace Foundation { | |
} | |
[Export ("JSONObjectWithStream:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject Deserialize (NSInputStream stream, NSJsonReadingOptions opt, out NSError error) | |
+ public unsafe static NSObject Deserialize (NSInputStream stream, NSJsonReadingOptions opt, out NSError error) | |
{ | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace Foundation { | |
} | |
[Export ("dataWithJSONObject:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData Serialize (NSObject obj, NSJsonWritingOptions opt, out NSError error) | |
+ public unsafe static NSData Serialize (NSObject obj, NSJsonWritingOptions opt, out NSError error) | |
{ | |
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -170,7 +170,7 @@ namespace Foundation { | |
} | |
[Export ("writeJSONObject:toStream:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nint Serialize (NSObject obj, NSOutputStream stream, NSJsonWritingOptions opt, out NSError error) | |
+ public unsafe static nint Serialize (NSObject obj, NSOutputStream stream, NSJsonWritingOptions opt, out NSError error) | |
{ | |
var obj__handle__ = obj!.GetNonNullHandle (nameof (obj)); | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedArchiver.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
index d7ac14b..5dafa83 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedArchiver.g.cs | |
@@ -217,7 +217,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? GetArchivedData (NSObject @object, bool requiresSecureCoding, out NSError? error) | |
+ public unsafe static NSData? GetArchivedData (NSObject @object, bool requiresSecureCoding, out NSError? error) | |
{ | |
var @object__handle__ = @object!.GetNonNullHandle (nameof (@object)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedUnarchiver.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
index 081d4d3..ca99e09 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSKeyedUnarchiver.g.cs | |
@@ -132,7 +132,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSKeyedUnarchiver (NSData data, out NSError? error) | |
+ public unsafe NSKeyedUnarchiver (NSData data, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -203,7 +203,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject[]? GetUnarchivedArray (Class @class, NSData data, out NSError? error) | |
+ public unsafe static NSObject[]? GetUnarchivedArray (Class @class, NSData data, out NSError? error) | |
{ | |
var @class__handle__ = @class!.GetNonNullHandle (nameof (@class)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -219,7 +219,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject[]? GetUnarchivedArray (NSSet<Class> classes, NSData data, out NSError? error) | |
+ public unsafe static NSObject[]? GetUnarchivedArray (NSSet<Class> classes, NSData data, out NSError? error) | |
{ | |
var classes__handle__ = classes!.GetNonNullHandle (nameof (classes)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -235,7 +235,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetUnarchivedDictionary (Class keyClass, Class valueClass, NSData data, out NSError? error) | |
+ public unsafe static NSDictionary? GetUnarchivedDictionary (Class keyClass, Class valueClass, NSData data, out NSError? error) | |
{ | |
var keyClass__handle__ = keyClass!.GetNonNullHandle (nameof (keyClass)); | |
var valueClass__handle__ = valueClass!.GetNonNullHandle (nameof (valueClass)); | |
@@ -252,7 +252,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetUnarchivedDictionary (NSSet<Class> keyClasses, NSSet<Class> valueClasses, NSData data, out NSError? error) | |
+ public unsafe static NSDictionary? GetUnarchivedDictionary (NSSet<Class> keyClasses, NSSet<Class> valueClasses, NSData data, out NSError? error) | |
{ | |
var keyClasses__handle__ = keyClasses!.GetNonNullHandle (nameof (keyClasses)); | |
var valueClasses__handle__ = valueClasses!.GetNonNullHandle (nameof (valueClasses)); | |
@@ -269,7 +269,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (Class cls, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (Class cls, NSData data, out NSError? error) | |
{ | |
var cls__handle__ = cls!.GetNonNullHandle (nameof (cls)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -284,7 +284,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (global::System.Type type, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (global::System.Type type, NSData data, out NSError? error) | |
{ | |
return GetUnarchivedObject (new Class (type), data, out error); | |
} | |
@@ -294,7 +294,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (NSSet<Class> classes, NSData data, out NSError? error) | |
{ | |
var classes__handle__ = classes!.GetNonNullHandle (nameof (classes)); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -309,7 +309,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject? GetUnarchivedObject (global::System.Type[] types, NSData data, out NSError? error) | |
+ public unsafe static NSObject? GetUnarchivedObject (global::System.Type[] types, NSData data, out NSError? error) | |
{ | |
return GetUnarchivedObject (new NSSet<Class> (Array.ConvertAll (types, t => new Class (t))), data, out error); | |
} | |
@@ -379,7 +379,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject UnarchiveTopLevelObject (NSData data, out NSError error) | |
+ public unsafe static NSObject UnarchiveTopLevelObject (NSData data, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLengthFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLengthFormatter.g.cs | |
index faf6bef..ec6f20d 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLengthFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLengthFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromMeters:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromMeters (double numberInMeters, ref NSLengthFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromMeters (double numberInMeters, ref NSLengthFormatterUnit unitp) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_Double_ref_NSLengthFormatterUnit (this.Handle, Selector.GetHandle ("unitStringFromMeters:usedUnit:"), numberInMeters, (NSLengthFormatterUnit*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSLengthFormatterUnit> (ref unitp)))!; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticAnalysis.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
index 482e4e5..58b94a8 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticAnalysis.g.cs | |
@@ -74,7 +74,7 @@ namespace Foundation { | |
[EditorBrowsable (EditorBrowsableState.Advanced)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[return: BindAs (typeof (NSLinguisticTag[]), OriginalType = typeof (NSString[]))] | |
- public static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSString scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSString scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
var scheme__handle__ = scheme!.GetNonNullHandle (nameof (scheme)); | |
var orthography__handle__ = orthography.GetHandle (); | |
@@ -90,7 +90,7 @@ namespace Foundation { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSLinguisticTagScheme scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static NSLinguisticTag[] GetLinguisticTags (this NSString This, NSRange range, NSLinguisticTagScheme scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
return GetLinguisticTags (This, range, scheme.GetConstant ()!, options, orthography, out tokenRanges); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticTagger.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
index bc5efed..32ff99e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSLinguisticTagger.g.cs | |
@@ -285,7 +285,7 @@ namespace Foundation { | |
} | |
[Export ("orthographyAtIndex:effectiveRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSOrthography GetOrthography (nint charIndex, ref NSRange effectiveRange) | |
+ public unsafe virtual NSOrthography GetOrthography (nint charIndex, ref NSRange effectiveRange) | |
{ | |
if (IsDirectBinding) { | |
return Runtime.GetNSObject<NSOrthography> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_ref_NSRange (this.Handle, Selector.GetHandle ("orthographyAtIndex:effectiveRange:"), charIndex, (NSRange*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSRange> (ref effectiveRange)))!; | |
@@ -295,7 +295,7 @@ namespace Foundation { | |
} | |
[Export ("possibleTagsAtIndex:scheme:tokenRange:sentenceRange:scores:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSString[] GetPossibleTags (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange, ref NSArray scores) | |
+ internal unsafe virtual NSString[] GetPossibleTags (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange, ref NSArray scores) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
var scoresValue = scores is null ? NativeHandle.Zero : scores.Handle; | |
@@ -322,7 +322,7 @@ namespace Foundation { | |
} | |
[Export ("tagAtIndex:scheme:tokenRange:sentenceRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string GetTag (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange) | |
+ public unsafe virtual string GetTag (nint charIndex, NSString tagScheme, ref NSRange tokenRange, ref NSRange sentenceRange) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
if (IsDirectBinding) { | |
@@ -341,7 +341,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string? GetTag (nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, ref NSRange tokenRange) | |
+ public unsafe virtual string? GetTag (nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, ref NSRange tokenRange) | |
{ | |
if (scheme is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (scheme)); | |
@@ -365,7 +365,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string? GetTag (string str, nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, NSOrthography? orthography, ref NSRange tokenRange) | |
+ public unsafe static string? GetTag (string str, nuint charIndex, NSLinguisticTaggerUnit unit, string scheme, NSOrthography? orthography, ref NSRange tokenRange) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -390,7 +390,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string[] GetTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, out NSValue[]? tokenRanges) | |
+ public unsafe virtual string[] GetTags (NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, out NSValue[]? tokenRanges) | |
{ | |
if (scheme is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (scheme)); | |
@@ -416,7 +416,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static string[] GetTags (string str, NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
+ public unsafe static string[] GetTags (string str, NSRange range, NSLinguisticTaggerUnit unit, string scheme, NSLinguisticTaggerOptions options, NSOrthography? orthography, out NSValue[]? tokenRanges) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -435,7 +435,7 @@ namespace Foundation { | |
} | |
[Export ("tagsInRange:scheme:options:tokenRanges:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual NSString[] GetTagsInRange (NSRange range, NSString tagScheme, NSLinguisticTaggerOptions opts, ref NSArray tokenRanges) | |
+ internal unsafe virtual NSString[] GetTagsInRange (NSRange range, NSString tagScheme, NSLinguisticTaggerOptions opts, ref NSArray tokenRanges) | |
{ | |
var tagScheme__handle__ = tagScheme!.GetNonNullHandle (nameof (tagScheme)); | |
var tokenRangesValue = tokenRanges is null ? NativeHandle.Zero : tokenRanges.Handle; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMassFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMassFormatter.g.cs | |
index 46b1032..b49d3ab 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMassFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMassFormatter.g.cs | |
@@ -165,7 +165,7 @@ namespace Foundation { | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
+ public unsafe virtual bool GetObjectValue (out NSObject obj, string str, out string error) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
} | |
[Export ("unitStringFromKilograms:usedUnit:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual string UnitStringFromKilograms (double numberInKilograms, ref NSMassFormatterUnit unitp) | |
+ public unsafe virtual string UnitStringFromKilograms (double numberInKilograms, ref NSMassFormatterUnit unitp) | |
{ | |
if (IsDirectBinding) { | |
return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_Double_ref_NSMassFormatterUnit (this.Handle, Selector.GetHandle ("unitStringFromKilograms:usedUnit:"), numberInKilograms, (NSMassFormatterUnit*) global::System.Runtime.CompilerServices.Unsafe.AsPointer<NSMassFormatterUnit> (ref unitp)))!; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs | |
index 885634b..b047289 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMorphology.g.cs | |
@@ -232,7 +232,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error) | |
+ public unsafe virtual bool SetCustomPronoun (NSMorphologyCustomPronoun? features, string language, out NSError? error) | |
{ | |
var features__handle__ = features.GetHandle (); | |
if (language is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableAttributedString.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
index 239ee3b..0645156 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableAttributedString.g.cs | |
@@ -293,7 +293,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromData (NSData data, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromData (NSData data, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -314,7 +314,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromData (NSData data, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromData (NSData data, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
return ReadFromData (data, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
@@ -326,7 +326,7 @@ namespace Foundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'ReadFromUrl' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromFile (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromFile (NSUrl url, NSDictionary options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -349,7 +349,7 @@ namespace Foundation { | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'ReadFromUrl' instead.")] | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromFile (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromFile (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary returnOptions, ref NSError error) | |
{ | |
return ReadFromFile (url, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
@@ -358,7 +358,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ internal unsafe bool ReadFromUrl (NSUrl url, NSDictionary options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -376,7 +376,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ReadFromUrl (NSUrl url, NSDictionary<NSString, NSObject> options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ public unsafe virtual bool ReadFromUrl (NSUrl url, NSDictionary<NSString, NSObject> options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -397,7 +397,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ReadFromUrl (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
+ public unsafe bool ReadFromUrl (NSUrl url, NSAttributedStringDocumentAttributes options, ref NSDictionary<NSString, NSObject> returnOptions, ref NSError error) | |
{ | |
return ReadFromUrl (url, options.GetDictionary ()!, ref returnOptions, ref error); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableData.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableData.g.cs | |
index e41608c..a45d41f 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableData.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableData.g.cs | |
@@ -198,7 +198,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual bool Compress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -224,7 +224,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
+ public unsafe virtual bool Decompress (NSDataCompressionAlgorithm algorithm, out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableString.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableString.g.cs | |
index 83fe01a..1bb49ce 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSMutableString.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSMutableString.g.cs | |
@@ -188,7 +188,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool ApplyTransform (NSString transform, bool reverse, NSRange range, out NSRange resultingRange) | |
+ public unsafe virtual bool ApplyTransform (NSString transform, bool reverse, NSRange range, out NSRange resultingRange) | |
{ | |
var transform__handle__ = transform!.GetNonNullHandle (nameof (transform)); | |
resultingRange = default (NSRange); | |
@@ -205,7 +205,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool ApplyTransform (NSStringTransform transform, bool reverse, NSRange range, out NSRange resultingRange) | |
+ public unsafe bool ApplyTransform (NSStringTransform transform, bool reverse, NSRange range, out NSRange resultingRange) | |
{ | |
return ApplyTransform (transform.GetConstant ()!, reverse, range, out resultingRange); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs | |
index da37e0b..27b9fee 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSNetService.g.cs | |
@@ -197,7 +197,7 @@ namespace Foundation { | |
} | |
[Export ("getInputStream:outputStream:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetStreams (out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe virtual bool GetStreams (out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
NativeHandle inputStreamValue = IntPtr.Zero; | |
NativeHandle outputStreamValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
index d25573d..201f06e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPersonNameComponentsFormatter.g.cs | |
@@ -203,7 +203,7 @@ namespace Foundation { | |
} | |
[Export ("getObjectValue:forString:errorDescription:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool GetObjectValue (out NSObject result, string str, out string errorDescription) | |
+ public unsafe virtual bool GetObjectValue (out NSObject result, string str, out string errorDescription) | |
{ | |
if (str is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (str)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPropertyListSerialization.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
index aa4d0ee..8891097 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSPropertyListSerialization.g.cs | |
@@ -128,7 +128,7 @@ namespace Foundation { | |
[Export ("dataWithPropertyList:format:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData DataWithPropertyList (NSObject plist, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
+ public unsafe static NSData DataWithPropertyList (NSObject plist, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
{ | |
var plist__handle__ = plist!.GetNonNullHandle (nameof (plist)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -148,7 +148,7 @@ namespace Foundation { | |
} | |
[Export ("propertyListWithData:options:format:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject PropertyListWithData (NSData data, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
+ public unsafe static NSObject PropertyListWithData (NSData data, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -159,7 +159,7 @@ namespace Foundation { | |
} | |
[Export ("propertyListWithStream:options:format:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSObject PropertyListWithStream (NSInputStream stream, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
+ public unsafe static NSObject PropertyListWithStream (NSInputStream stream, NSPropertyListReadOptions options, ref NSPropertyListFormat format, out NSError error) | |
{ | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -170,7 +170,7 @@ namespace Foundation { | |
} | |
[Export ("writePropertyList:toStream:format:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nint WritePropertyList (NSObject plist, NSOutputStream stream, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
+ public unsafe static nint WritePropertyList (NSObject plist, NSOutputStream stream, NSPropertyListFormat format, NSPropertyListWriteOptions options, out NSError error) | |
{ | |
var plist__handle__ = plist!.GetNonNullHandle (nameof (plist)); | |
var stream__handle__ = stream!.GetNonNullHandle (nameof (stream)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSRegularExpression.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSRegularExpression.g.cs | |
index e578f62..54029d7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSRegularExpression.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSRegularExpression.g.cs | |
@@ -162,7 +162,7 @@ namespace Foundation { | |
[Export ("initWithPattern:options:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSRegularExpression (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
+ public unsafe NSRegularExpression (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
@@ -192,7 +192,7 @@ namespace Foundation { | |
} | |
[Export ("regularExpressionWithPattern:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSRegularExpression Create (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
+ public unsafe static NSRegularExpression Create (NSString pattern, NSRegularExpressionOptions options, out NSError error) | |
{ | |
var pattern__handle__ = pattern!.GetNonNullHandle (nameof (pattern)); | |
NativeHandle errorValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSStream.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSStream.g.cs | |
index d503bed..72d4c46 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSStream.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSStream.g.cs | |
@@ -155,7 +155,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void GetBoundStreams (nuint bufferSize, out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe static void GetBoundStreams (nuint bufferSize, out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
NativeHandle inputStreamValue = IntPtr.Zero; | |
NativeHandle outputStreamValue = IntPtr.Zero; | |
@@ -175,7 +175,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static void GetStreamsToHost (string hostname, nint port, out NSInputStream inputStream, out NSOutputStream outputStream) | |
+ public unsafe static void GetStreamsToHost (string hostname, nint port, out NSInputStream inputStream, out NSOutputStream outputStream) | |
{ | |
if (hostname is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (hostname)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSString.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSString.g.cs | |
index 48e284e..a65c6b3 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSString.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSString.g.cs | |
@@ -355,7 +355,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nuint DetectStringEncoding (NSData rawData, NSDictionary options, out string convertedString, out bool usedLossyConversion) | |
+ public unsafe static nuint DetectStringEncoding (NSData rawData, NSDictionary options, out string convertedString, out bool usedLossyConversion) | |
{ | |
var rawData__handle__ = rawData!.GetNonNullHandle (nameof (rawData)); | |
var options__handle__ = options!.GetNonNullHandle (nameof (options)); | |
@@ -371,7 +371,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static nuint DetectStringEncoding (NSData rawData, EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion) | |
+ public unsafe static nuint DetectStringEncoding (NSData rawData, EncodingDetectionOptions options, out string convertedString, out bool usedLossyConversion) | |
{ | |
return DetectStringEncoding(rawData,options.GetDictionary ()!, out convertedString, out usedLossyConversion); | |
} | |
@@ -418,7 +418,7 @@ namespace Foundation { | |
} | |
[Export ("getLineStart:end:contentsEnd:forRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetLineStart (out nuint startPtr, out nuint lineEndPtr, out nuint contentsEndPtr, NSRange range) | |
+ public unsafe virtual void GetLineStart (out nuint startPtr, out nuint lineEndPtr, out nuint contentsEndPtr, NSRange range) | |
{ | |
startPtr = default (nuint);lineEndPtr = default (nuint);contentsEndPtr = default (nuint); | |
if (IsDirectBinding) { | |
@@ -449,7 +449,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSString? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static NSString? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
@@ -464,7 +464,7 @@ namespace Foundation { | |
} | |
[Export ("getParagraphStart:end:contentsEnd:forRange:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual void GetParagraphPositions (out nuint paragraphStartPosition, out nuint paragraphEndPosition, out nuint contentsEndPosition, NSRange range) | |
+ public unsafe virtual void GetParagraphPositions (out nuint paragraphStartPosition, out nuint paragraphEndPosition, out nuint contentsEndPosition, NSRange range) | |
{ | |
paragraphStartPosition = default (nuint);paragraphEndPosition = default (nuint);contentsEndPosition = default (nuint); | |
if (IsDirectBinding) { | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrl.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrl.g.cs | |
index cf8f827..525e81b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrl.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrl.g.cs | |
@@ -244,7 +244,7 @@ namespace Foundation { | |
} | |
[Export ("initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public NSUrl (NSData bookmarkData, NSUrlBookmarkResolutionOptions resolutionOptions, NSUrl? relativeUrl, out bool bookmarkIsStale, out NSError error) | |
+ public unsafe NSUrl (NSData bookmarkData, NSUrlBookmarkResolutionOptions resolutionOptions, NSUrl? relativeUrl, out bool bookmarkIsStale, out NSError error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var bookmarkData__handle__ = bookmarkData!.GetNonNullHandle (nameof (bookmarkData)); | |
@@ -341,7 +341,7 @@ namespace Foundation { | |
} | |
[Export ("bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSData CreateBookmarkData (NSUrlBookmarkCreationOptions options, string[]? resourceValues, NSUrl? relativeUrl, out NSError error) | |
+ public unsafe virtual NSData CreateBookmarkData (NSUrlBookmarkCreationOptions options, string[]? resourceValues, NSUrl? relativeUrl, out NSError error) | |
{ | |
var relativeUrl__handle__ = relativeUrl.GetHandle (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -448,7 +448,7 @@ namespace Foundation { | |
} | |
[Export ("URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl FromBookmarkData (NSData data, NSUrlBookmarkResolutionOptions options, NSUrl? relativeToUrl, out bool isStale, out NSError error) | |
+ public unsafe static NSUrl FromBookmarkData (NSData data, NSUrlBookmarkResolutionOptions options, NSUrl? relativeToUrl, out bool isStale, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var relativeToUrl__handle__ = relativeToUrl.GetHandle (); | |
@@ -498,7 +498,7 @@ namespace Foundation { | |
} | |
[Export ("bookmarkDataWithContentsOfURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData GetBookmarkData (NSUrl bookmarkFileUrl, out NSError error) | |
+ public unsafe static NSData GetBookmarkData (NSUrl bookmarkFileUrl, out NSError error) | |
{ | |
var bookmarkFileUrl__handle__ = bookmarkFileUrl!.GetNonNullHandle (nameof (bookmarkFileUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -549,7 +549,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static NSUrl? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
@@ -564,7 +564,7 @@ namespace Foundation { | |
} | |
[Export ("getResourceValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool GetResourceValue (out NSObject value, NSString key, out NSError error) | |
+ internal unsafe virtual bool GetResourceValue (out NSObject value, NSString key, out NSError error) | |
{ | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
NativeHandle valueValue = IntPtr.Zero; | |
@@ -581,7 +581,7 @@ namespace Foundation { | |
} | |
[Export ("resourceValuesForKeys:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDictionary GetResourceValues (NSString[] keys, out NSError error) | |
+ public unsafe virtual NSDictionary GetResourceValues (NSString[] keys, out NSError error) | |
{ | |
if (keys is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (keys)); | |
@@ -721,7 +721,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSUrl ResolveAlias (NSUrl aliasFileUrl, NSUrlBookmarkResolutionOptions options, out NSError error) | |
+ public unsafe static NSUrl ResolveAlias (NSUrl aliasFileUrl, NSUrlBookmarkResolutionOptions options, out NSError error) | |
{ | |
var aliasFileUrl__handle__ = aliasFileUrl!.GetNonNullHandle (nameof (aliasFileUrl)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -732,7 +732,7 @@ namespace Foundation { | |
} | |
[Export ("setResourceValue:forKey:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- internal virtual bool SetResourceValue (NSObject value, NSString key, out NSError error) | |
+ internal unsafe virtual bool SetResourceValue (NSObject value, NSString key, out NSError error) | |
{ | |
var value__handle__ = value!.GetNonNullHandle (nameof (value)); | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
@@ -794,7 +794,7 @@ namespace Foundation { | |
} | |
[Export ("writeBookmarkData:toURL:options:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool WriteBookmarkData (NSData data, NSUrl bookmarkFileUrl, NSUrlBookmarkCreationOptions options, out NSError error) | |
+ public unsafe static bool WriteBookmarkData (NSData data, NSUrl bookmarkFileUrl, NSUrlBookmarkCreationOptions options, out NSError error) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
var bookmarkFileUrl__handle__ = bookmarkFileUrl!.GetNonNullHandle (nameof (bookmarkFileUrl)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs | |
index 40a4757..2a06f66 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrlConnection.g.cs | |
@@ -327,7 +327,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSData? SendSynchronousRequest (NSUrlRequest request, out NSUrlResponse response, out NSError error) | |
+ public unsafe static NSData? SendSynchronousRequest (NSUrlRequest request, out NSUrlResponse response, out NSError error) | |
{ | |
var request__handle__ = request!.GetNonNullHandle (nameof (request)); | |
NativeHandle responseValue = IntPtr.Zero; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrl_PromisedItems.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
index 97529b9..d5bdcc7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUrl_PromisedItems.g.cs | |
@@ -58,7 +58,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool CheckPromisedItemIsReachable (this NSUrl This, out NSError error) | |
+ public unsafe static bool CheckPromisedItemIsReachable (this NSUrl This, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
@@ -72,7 +72,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static bool GetPromisedItemResourceValue (this NSUrl This, out NSObject value, NSString key, out NSError error) | |
+ public unsafe static bool GetPromisedItemResourceValue (this NSUrl This, out NSObject value, NSString key, out NSError error) | |
{ | |
var key__handle__ = key!.GetNonNullHandle (nameof (key)); | |
NativeHandle valueValue = IntPtr.Zero; | |
@@ -89,7 +89,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static NSDictionary? GetPromisedItemResourceValues (this NSUrl This, NSString[] keys, out NSError error) | |
+ public unsafe static NSDictionary? GetPromisedItemResourceValues (this NSUrl This, NSString[] keys, out NSError error) | |
{ | |
if (keys is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (keys)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs | |
index 41c0eec..d368661 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Foundation/NSUserActivity.g.cs | |
@@ -277,7 +277,7 @@ namespace Foundation { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
if (typeIdentifier is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/GameController/GCRacingWheel.g.cs b/new/dotnet/maccatalyst/generated-sources/GameController/GCRacingWheel.g.cs | |
index de913ec..5e12bba 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/GameController/GCRacingWheel.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/GameController/GCRacingWheel.g.cs | |
@@ -132,7 +132,7 @@ namespace GameController { | |
[Export ("acquireDeviceWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AcquireDevice (out NSError? error) | |
+ public unsafe virtual bool AcquireDevice (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKMatch.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKMatch.g.cs | |
index b10f3e9..97c86b5 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKMatch.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKMatch.g.cs | |
@@ -255,7 +255,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, string[] players, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, string[] players, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -279,7 +279,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("tvos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, GKPlayer[] players, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, GKPlayer[] players, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -299,7 +299,7 @@ namespace GameKit { | |
} | |
[Export ("sendDataToAllPlayers:withDataMode:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendDataToAllPlayers (NSData data, GKMatchSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendDataToAllPlayers (NSData data, GKMatchSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKSession.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKSession.g.cs | |
index 5d1e37d..7bb1fa1 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKSession.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKSession.g.cs | |
@@ -172,7 +172,7 @@ namespace GameKit { | |
} | |
[Export ("acceptConnectionFromPeer:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AcceptConnection (string peerID, out NSError error) | |
+ public unsafe virtual bool AcceptConnection (string peerID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (peerID is null) | |
@@ -304,7 +304,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendData (NSData data, string[] peers, GKSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendData (NSData data, string[] peers, GKSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
@@ -331,7 +331,7 @@ namespace GameKit { | |
[SupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool SendDataToAllPeers (NSData data, GKSendDataMode mode, out NSError error) | |
+ public unsafe virtual bool SendDataToAllPeers (NSData data, GKSendDataMode mode, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/GameKit/GKVoiceChatService.g.cs b/new/dotnet/maccatalyst/generated-sources/GameKit/GKVoiceChatService.g.cs | |
index 22d7f92..f82183c 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/GameKit/GKVoiceChatService.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/GameKit/GKVoiceChatService.g.cs | |
@@ -148,7 +148,7 @@ namespace GameKit { | |
[Export ("acceptCallID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool AcceptCall (nint callID, out NSError error) | |
+ public unsafe virtual bool AcceptCall (nint callID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -206,7 +206,7 @@ namespace GameKit { | |
} | |
[Export ("startVoiceChatWithParticipantID:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool StartVoiceChat (string participantID, out NSError error) | |
+ public unsafe virtual bool StartVoiceChat (string participantID, out NSError error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
if (participantID is null) | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
index 76b283c..a8d741e 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs | |
@@ -131,7 +131,7 @@ namespace HealthKit { | |
[Export ("sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKAudiogramSensitivityPoint? GetSensitivityPoint (HKQuantity frequency, HKQuantity? leftEarSensitivity, HKQuantity? rightEarSensitivity, out NSError? error) | |
+ public unsafe static HKAudiogramSensitivityPoint? GetSensitivityPoint (HKQuantity frequency, HKQuantity? leftEarSensitivity, HKQuantity? rightEarSensitivity, out NSError? error) | |
{ | |
var frequency__handle__ = frequency!.GetNonNullHandle (nameof (frequency)); | |
var leftEarSensitivity__handle__ = leftEarSensitivity.GetHandle (); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKCdaDocumentSample.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
index ba20fe8..b8a2016 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKCdaDocumentSample.g.cs | |
@@ -154,7 +154,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, NSDictionary? metadata, out NSError validationError) | |
+ public unsafe static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, NSDictionary? metadata, out NSError validationError) | |
{ | |
var documentData__handle__ = documentData!.GetNonNullHandle (nameof (documentData)); | |
var startDate__handle__ = startDate!.GetNonNullHandle (nameof (startDate)); | |
@@ -167,7 +167,7 @@ namespace HealthKit { | |
return ret!; | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError) | |
+ public unsafe static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError) | |
{ | |
return Create (documentData, startDate, endDate, metadata.GetDictionary (), out validationError); | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKFhirVersion.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKFhirVersion.g.cs | |
index 2201c93..68b6519 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKFhirVersion.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKFhirVersion.g.cs | |
@@ -186,7 +186,7 @@ namespace HealthKit { | |
} | |
[Export ("versionFromVersionString:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static HKFhirVersion? GetVersion (string versionString, out NSError? errorOut) | |
+ public unsafe static HKFhirVersion? GetVersion (string versionString, out NSError? errorOut) | |
{ | |
if (versionString is null) | |
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (versionString)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs | |
index 31550c0..1036c04 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKHealthStore.g.cs | |
@@ -348,7 +348,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKActivityMoveModeObject? GetActivityMoveMode (out NSError? error) | |
+ public unsafe virtual HKActivityMoveModeObject? GetActivityMoveMode (out NSError? error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKActivityMoveModeObject? ret; | |
@@ -375,7 +375,7 @@ namespace HealthKit { | |
} | |
[Export ("biologicalSexWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKBiologicalSexObject? GetBiologicalSex (out NSError error) | |
+ public unsafe virtual HKBiologicalSexObject? GetBiologicalSex (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKBiologicalSexObject? ret; | |
@@ -389,7 +389,7 @@ namespace HealthKit { | |
} | |
[Export ("bloodTypeWithError:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKBloodTypeObject? GetBloodType (out NSError error) | |
+ public unsafe virtual HKBloodTypeObject? GetBloodType (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKBloodTypeObject? ret; | |
@@ -408,7 +408,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("macos13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDate? GetDateOfBirth (out NSError error) | |
+ public unsafe virtual NSDate? GetDateOfBirth (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDate? ret; | |
@@ -425,7 +425,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual NSDateComponents? GetDateOfBirthComponents (out NSError error) | |
+ public unsafe virtual NSDateComponents? GetDateOfBirthComponents (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
NSDateComponents? ret; | |
@@ -442,7 +442,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKFitzpatrickSkinTypeObject? GetFitzpatrickSkinType (out NSError error) | |
+ public unsafe virtual HKFitzpatrickSkinTypeObject? GetFitzpatrickSkinType (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKFitzpatrickSkinTypeObject? ret; | |
@@ -526,7 +526,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual HKWheelchairUseObject? GetWheelchairUse (out NSError error) | |
+ public unsafe virtual HKWheelchairUseObject? GetWheelchairUse (out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
HKWheelchairUseObject? ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
index cad8b23..24def48 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs | |
@@ -257,7 +257,7 @@ namespace HealthKit { | |
} | |
[Export ("insertQuantity:date:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (HKQuantity quantity, NSDate date, out NSError? error) | |
+ public unsafe virtual bool Insert (HKQuantity quantity, NSDate date, out NSError? error) | |
{ | |
var quantity__handle__ = quantity!.GetNonNullHandle (nameof (quantity)); | |
var date__handle__ = date!.GetNonNullHandle (nameof (date)); | |
@@ -276,7 +276,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos13.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool Insert (HKQuantity quantity, NSDateInterval dateInterval, out NSError? error) | |
+ public unsafe virtual bool Insert (HKQuantity quantity, NSDateInterval dateInterval, out NSError? error) | |
{ | |
var quantity__handle__ = quantity!.GetNonNullHandle (nameof (quantity)); | |
var dateInterval__handle__ = dateInterval!.GetNonNullHandle (nameof (dateInterval)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/LocalAuthentication/LAContext.g.cs b/new/dotnet/maccatalyst/generated-sources/LocalAuthentication/LAContext.g.cs | |
index bc84db4..b23b403 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/LocalAuthentication/LAContext.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/LocalAuthentication/LAContext.g.cs | |
@@ -145,7 +145,7 @@ namespace LocalAuthentication { | |
[Export ("canEvaluatePolicy:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual bool CanEvaluatePolicy (LAPolicy policy, out NSError error) | |
+ public unsafe virtual bool CanEvaluatePolicy (LAPolicy policy, out NSError error) | |
{ | |
NativeHandle errorValue = IntPtr.Zero; | |
byte ret; | |
diff --git a/old/dotnet/maccatalyst/generated-sources/MapKit/MKGeoJsonDecoder.g.cs b/new/dotnet/maccatalyst/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
index f707c01..5b29386 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/MapKit/MKGeoJsonDecoder.g.cs | |
@@ -146,7 +146,7 @@ namespace MapKit { | |
[Export ("geoJSONObjectsWithData:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public virtual IMKGeoJsonObject[]? GeoJsonObjects (NSData data, out NSError? error) | |
+ public unsafe virtual IMKGeoJsonObject[]? GeoJsonObjects (NSData data, out NSError? error) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/MapKit/MKMapItem.g.cs b/new/dotnet/maccatalyst/generated-sources/MapKit/MKMapItem.g.cs | |
index 5f41b95..614ad19 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/MapKit/MKMapItem.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/MapKit/MKMapItem.g.cs | |
@@ -221,7 +221,7 @@ namespace MapKit { | |
[SupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
+ public unsafe static INSItemProviderReading? GetObject (NSData data, string typeIdentifier, out NSError? outError) | |
{ | |
global::UIKit.UIApplication.EnsureUIThread (); | |
var data__handle__ = data!.GetNonNullHandle (nameof (data)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Messages/MSSticker.g.cs b/new/dotnet/maccatalyst/generated-sources/Messages/MSSticker.g.cs | |
index b52a976..107d1c4 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Messages/MSSticker.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Messages/MSSticker.g.cs | |
@@ -131,7 +131,7 @@ namespace Messages { | |
[Export ("initWithContentsOfFileURL:localizedDescription:error:")] | |
[DesignatedInitializer] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public MSSticker (NSUrl fileUrl, string localizedDescription, out NSError? error) | |
+ public unsafe MSSticker (NSUrl fileUrl, string localizedDescription, out NSError? error) | |
: base (NSObjectFlag.Empty) | |
{ | |
var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Metal/MTLBinaryArchive.g.cs b/new/dotnet/maccatalyst/generated-sources/Metal/MTLBinaryArchive.g.cs | |
index 2703381..00b1cfc 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Metal/MTLBinaryArchive.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Metal/MTLBinaryArchive.g.cs | |
@@ -66,11 +66,11 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addComputePipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addRenderPipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error); | |
[SupportedOSPlatform ("tvos14.5")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
@@ -78,11 +78,11 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addTileRenderPipelineFunctionsWithDescriptor:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error); | |
+ unsafe bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("serializeToURL:error:")] | |
[Preserve (Conditional = true)] | |
- bool Serialize (NSUrl url, out NSError? error); | |
+ unsafe bool Serialize (NSUrl url, out NSError? error); | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
@@ -90,7 +90,7 @@ namespace Metal { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Export ("addFunctionWithDescriptor:library:error:")] | |
[Preserve (Conditional = true)] | |
- bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error); | |
+ unsafe bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error); | |
[Preserve (Conditional = true)] | |
string? Label { | |
[Export ("label")] | |
@@ -112,7 +112,7 @@ namespace Metal { | |
} | |
[Export ("addComputePipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddComputePipelineFunctions (MTLComputePipelineDescriptor descriptor, out NSError? error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -123,7 +123,7 @@ namespace Metal { | |
} | |
[Export ("addRenderPipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddRenderPipelineFunctions (MTLRenderPipelineDescriptor descriptor, out NSError? error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -134,7 +134,7 @@ namespace Metal { | |
} | |
[Export ("addTileRenderPipelineFunctionsWithDescriptor:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error) | |
+ public unsafe bool AddTileRenderPipelineFunctions (MTLTileRenderPipelineDescriptor descriptor, out NSError? error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -145,7 +145,7 @@ namespace Metal { | |
} | |
[Export ("serializeToURL:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool Serialize (NSUrl url, out NSError? error) | |
+ public unsafe bool Serialize (NSUrl url, out NSError? error) | |
{ | |
var url__handle__ = url!.GetNonNullHandle (nameof (url)); | |
NativeHandle errorValue = IntPtr.Zero; | |
@@ -156,7 +156,7 @@ namespace Metal { | |
} | |
[Export ("addFunctionWithDescriptor:library:error:")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error) | |
+ public unsafe bool AddFunctionWithDescriptor (MTLFunctionDescriptor descriptor, IMTLLibrary library, out NSError? error) | |
{ | |
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor)); | |
var library__handle__ = library!.GetNonNullHandle (nameof (library)); | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Metal/MTLCaptureManager.g.cs b/new/dotnet/maccatalyst/generated-sources/Metal/MTLCaptureManager.g.cs | |
index f2cfefe..75367bd 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Metal/MTLC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment