Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PrelinkCore()

static void System.Runtime.InteropServices.Marshal.PrelinkCore ( MethodInfo m)
inlinestaticprivate

Definition at line 148 of file Marshal.cs.

149 {
150 if (!(m is RuntimeMethodInfo runtimeMethodInfo))
151 {
152 throw new ArgumentException(SR.Argument_MustBeRuntimeMethodInfo, "m");
153 }
154 InternalPrelink(((IRuntimeMethodInfo)runtimeMethodInfo).Value);
155 GC.KeepAlive(runtimeMethodInfo);
156 }
static void InternalPrelink(RuntimeMethodHandleInternal m)

References System.SR.Argument_MustBeRuntimeMethodInfo, System.Runtime.InteropServices.Marshal.InternalPrelink(), and System.GC.KeepAlive().

Referenced by System.Runtime.InteropServices.Marshal.Prelink().