Subj.
OS: Windows
public unsafe partial class interface
{
public partial struct __Internal
{
[SuppressUnmanagedCodeSecurity]
[DllImport("__Internal", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
EntryPoint="?Func@@YAXXZ")]
internal static extern void Func();
}
public static void Func()
{
__Internal.Func();
}
}