From 2a74194fa16e4191305e0e464b34c71c7a455c1f Mon Sep 17 00:00:00 2001 From: Steve MacLean Date: Tue, 21 May 2019 12:14:57 -0400 Subject: [PATCH] Add CreateNativeDelegate flags argument (dotnet/coreclr#24671) Commit migrated from https://github.com/dotnet/coreclr/commit/edc81476e723e1b3ea4dfaa55e7e918058956d6d --- .../src/Internal/Runtime/InteropServices/ComponentActivator.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs b/src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs index 1ecf33f..6f19714 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs @@ -45,14 +45,16 @@ namespace Internal.Runtime.InteropServices /// Native hosting entry point for creating a native delegate /// /// Fully qualified path to assembly - /// Assembly qualified delegate type name /// Assembly qualified type name /// Public static method name compatible with delegateType + /// Assembly qualified delegate type name + /// Extensibility flags (currently unused) /// Pointer where to store the function pointer result public static int CreateNativeDelegate(IntPtr assemblyPathNative, IntPtr typeNameNative, IntPtr methodNameNative, IntPtr delegateTypeNative, + int flags, IntPtr functionHandle) { try -- 2.7.4