summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve MacLean <Steve.MacLean@microsoft.com>2019-05-21 12:14:57 -0400
committerGitHub <noreply@github.com>2019-05-21 12:14:57 -0400
commitedc81476e723e1b3ea4dfaa55e7e918058956d6d (patch)
tree129f7782556eb97f6514beb50e463ca88b8f09d3
parent0a947cbb8f23f856239160c6f55ba4526d7e0a3d (diff)
downloadcoreclr-edc81476e723e1b3ea4dfaa55e7e918058956d6d.tar.gz
coreclr-edc81476e723e1b3ea4dfaa55e7e918058956d6d.tar.bz2
coreclr-edc81476e723e1b3ea4dfaa55e7e918058956d6d.zip
Add CreateNativeDelegate flags argument (#24671)
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs
index 1ecf33f9e6..6f1971406b 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs
+++ b/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
/// </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