From 85af89bbbf22b30f3f7f46c961b3f484c8783630 Mon Sep 17 00:00:00 2001 From: Elinor Fung <47805090+elinor-fung@users.noreply.github.com> Date: Wed, 29 May 2019 13:32:07 -0700 Subject: [PATCH] Stop specifying cdecl for ComponentEntryPoint (default to stdcall) (#24833) --- .../src/Internal/Runtime/InteropServices/ComponentActivator.cs | 1 - 1 file changed, 1 deletion(-) 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 6e40103..e025413 100644 --- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs +++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComponentActivator.cs @@ -18,7 +18,6 @@ namespace Internal.Runtime.InteropServices private static readonly Dictionary s_AssemblyLoadContexts; private static readonly Dictionary s_Delegates = new Dictionary(); - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public delegate int ComponentEntryPoint(IntPtr args, int sizeBytes); static ComponentActivator() -- 2.7.4