Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created March 6, 2023 10:59
Show Gist options
  • Save vs-mobiletools-engineering-service2/16d86ea0b6e83972b7a038e387d40561 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/16d86ea0b6e83972b7a038e387d40561 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/common/Errors.Designer.cs b/new/common/Errors.Designer.cs
index c54cfca..69fdc70 100644
--- a/old/common/Errors.Designer.cs
+++ b/new/common/Errors.Designer.cs
@@ -254,6 +254,11 @@ namespace Xamarin.Bundler {
internal const string MM2106_B = "Could not optimize the call to BlockLiteral.{2} in {0} because the type of the value passed as the first argument (the trampoline) is {1}, which makes it impossible to compute the block signature.";
internal const string MM2106_C = "Could not optimize the call to BlockLiteral.SetupBlock in {0} at offset {1} because no [UserDelegateType] attribute could be found on {2}.";
internal const string MM2106_D = "Could not optimize the call to BlockLiteral.SetupBlock in {0} at offset {1}: {2}.";
+ internal const string MX2106_E = "Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the more than one method named '{3}' was found in the type '{4}.";
+ internal const string MX2106_F = "Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' must have at least one parameter.";
+ internal const string MX2106_G = "Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the first parameter in the method '{3}' isn't 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*' (it's '{4}')";
+ internal const string MX2106_H = "Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute.";
+ internal const string MX2106_I = "Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute.";
internal const string MM2107 = "It's not safe to remove the dynamic registrar, because {0} references '{1}.{2} ({3})'.";
internal const string MM2108 = "{0} was stripped of architectures except {1} to comply with App Store restrictions. This could break existing codesigning signatures. Consider stripping the library with lipo or disabling with --optimize=-trim-architectures";
internal const string MM2110 = "Xamarin.Mac 'Partial Static' registrar does not support linking. Disable linking or use another registrar mode.";
@@ -417,5 +422,12 @@ namespace Xamarin.Bundler {
internal const string MX8043 = "An exception occurred while validating the static registrar code for {0}: {1}";
internal const string MX8044 = "The assembly {0} has been modified since the app was built, invalidating the generated static registrar code. The MVID for the loaded assembly is {1}, while the MVID for the assembly the generated static registrar code corresponds to is {2}.";
internal const string MX8045 = "Unable to call release on an instance of the type {0}";
+ internal const string MX8046 = "Unable to find the method '{0}' in the type '{1}'";
+ internal const string MX8047 = "The trampoline method {0} does not match the function pointer 0x{1} for the trampolineMethod argument (they're don't refer to the same method).";
+ internal const string MX8048 = "The trampoline method {0} must have at least one parameter.";
+ internal const string MX8049 = "The first parameter in the trampoline method {0} must be either 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*'.";
+ internal const string MX8050 = "BlockLiteral.GetBlockSignature is not supported when the dynamic registrar has been linked away.";
+ internal const string MX8051 = "The trampoline method {0} must have an [UnmanagedCallersOnly] attribute.";
+ internal const string MX8052 = "The signature must be a non-empty string.";
}
}
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml
index 94d16c7..32a210f 100644
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.iOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/ios/ref/Microsoft.iOS.xml b/new/dotnet/ios/ref/Microsoft.iOS.xml
index 94d16c7..32a210f 100644
--- a/old/dotnet/ios/ref/Microsoft.iOS.xml
+++ b/new/dotnet/ios/ref/Microsoft.iOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.iOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
index f31b2df..caca10f 100644
--- a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
+++ b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
@@ -4,6 +4,40 @@
<name>Microsoft.MacCatalyst</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
index f31b2df..caca10f 100644
--- a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
+++ b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
@@ -4,6 +4,40 @@
<name>Microsoft.MacCatalyst</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/macos/doc/Microsoft.macOS.xml b/new/dotnet/macos/doc/Microsoft.macOS.xml
index 688ec2a..7aa5fee 100644
--- a/old/dotnet/macos/doc/Microsoft.macOS.xml
+++ b/new/dotnet/macos/doc/Microsoft.macOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.macOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/macos/ref/Microsoft.macOS.xml b/new/dotnet/macos/ref/Microsoft.macOS.xml
index 688ec2a..7aa5fee 100644
--- a/old/dotnet/macos/ref/Microsoft.macOS.xml
+++ b/new/dotnet/macos/ref/Microsoft.macOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.macOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/tvos/doc/Microsoft.tvOS.xml b/new/dotnet/tvos/doc/Microsoft.tvOS.xml
index 3b8d2b4..3640db0 100644
--- a/old/dotnet/tvos/doc/Microsoft.tvOS.xml
+++ b/new/dotnet/tvos/doc/Microsoft.tvOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.tvOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
diff --git a/old/dotnet/tvos/ref/Microsoft.tvOS.xml b/new/dotnet/tvos/ref/Microsoft.tvOS.xml
index 3b8d2b4..3640db0 100644
--- a/old/dotnet/tvos/ref/Microsoft.tvOS.xml
+++ b/new/dotnet/tvos/ref/Microsoft.tvOS.xml
@@ -4,6 +4,40 @@
<name>Microsoft.tvOS</name>
</assembly>
<members>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Type,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineType">The type where the trampoline is located.</param>
+ <param name="trampolineMethod">The name of the trampoline method.</param>
+ <remarks>
+ The 'trampolineType' and 'trampolineMethod' must uniquely define the trampoline method (it will be looked up using reflection).
+ If there are multiple methods with the same name, use the overload that takes a MethodInfo instead.
+ </remarks>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.Reflection.MethodInfo)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineMethod">The MethodInfo instance corresponding with the trampoline method.</param>
+ </member>
+ <member name="M:ObjCRuntime.BlockLiteral.#ctor(System.Void*,System.Object,System.String)">
+ <summary>
+ Creates a block literal.
+ </summary>
+ <param name="trampoline">A function pointer that will be called when the block is called. This function must have an [UnmanagedCallersOnly] attribute.</param>
+ <param name="context">A context object that can be retrieved from the trampoline. This is typically a delegate to the managed function to call.</param>
+ <param name="trampolineSignature">The Objective-C signature of the trampoline method.</param>
+ </member>
+ <member name="P:ObjCRuntime.BlockLiteral.Context">
+ <summary>
+ This is the 'context' value that was specified when creating the BlockLiteral.
+ </summary>
+ </member>
<member name="M:Compression.CompressionStream.#ctor(System.IO.Stream,System.IO.Compression.CompressionMode,Compression.CompressionAlgorithm,System.Boolean)">
<summary>
Internal constructor to check stream validity and call the correct initialization function depending on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment