Add CreateNativeDelegate flags argument (dotnet/coreclr#24671)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Tue, 21 May 2019 16:14:57 +0000 (12:14 -0400)
committerGitHub <noreply@github.com>
Tue, 21 May 2019 16:14:57 +0000 (12:14 -0400)
Commit migrated from https://github.com/dotnet/coreclr/commit/edc81476e723e1b3ea4dfaa55e7e918058956d6d

src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs

index 1ecf33f..6f19714 100644 (file)
@@ -45,14 +45,16 @@ namespace Internal.Runtime.InteropServices
         /// Native hosting entry point for creating a native delegate
         /// </summary>
         /// <param name="assemblyPathNative">Fully qualified path to assembly</param>
-        /// <param name="delegateTypeNative">Assembly qualified delegate type name</param>
         /// <param name="typeNameNative">Assembly qualified type name</param>
         /// <param name="methodNameNative">Public static method name compatible with delegateType</param>
+        /// <param name="delegateTypeNative">Assembly qualified delegate type name</param>
+        /// <param name="flags">Extensibility flags (currently unused)</param>
         /// <param name="functionHandle">Pointer where to store the function pointer result</param>
         public static int CreateNativeDelegate(IntPtr assemblyPathNative,
                                                IntPtr typeNameNative,
                                                IntPtr methodNameNative,
                                                IntPtr delegateTypeNative,
+                                               int flags,
                                                IntPtr functionHandle)
         {
             try