Mark LoadAssemblyAndGetFunctionPointer as NativeCallable (#35470)
authorJan Kotas <jkotas@microsoft.com>
Sun, 26 Apr 2020 07:52:54 +0000 (00:52 -0700)
committerGitHub <noreply@github.com>
Sun, 26 Apr 2020 07:52:54 +0000 (00:52 -0700)
src/coreclr/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs

index dd8feba..ac47d03 100644 (file)
@@ -47,6 +47,7 @@ namespace Internal.Runtime.InteropServices
         /// <param name="delegateTypeNative">Assembly qualified delegate type name</param>
         /// <param name="reserved">Extensibility parameter (currently unused)</param>
         /// <param name="functionHandle">Pointer where to store the function pointer result</param>
+        [NativeCallable]
         public static int LoadAssemblyAndGetFunctionPointer(IntPtr assemblyPathNative,
                                                             IntPtr typeNameNative,
                                                             IntPtr methodNameNative,