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

◆ SatisfiesConstraints() [2/2]

static unsafe bool System.RuntimeTypeHandle.SatisfiesConstraints ( RuntimeType paramType,
RuntimeType[] typeContext,
RuntimeType[] methodContext,
RuntimeType toType )
inlinestaticpackage

Definition at line 636 of file RuntimeTypeHandle.cs.

637 {
639 int length;
642 int length2;
644 fixed (IntPtr* pTypeContext = array)
645 {
646 fixed (IntPtr* pMethodContext = array2)
647 {
649 GC.KeepAlive(typeContext);
650 GC.KeepAlive(methodContext);
651 return result;
652 }
653 }
654 }
static IntPtr[] CopyRuntimeTypeHandles(RuntimeTypeHandle[] inHandles, out int length)
static unsafe bool SatisfiesConstraints(RuntimeType paramType, IntPtr *pTypeContext, int typeContextLength, IntPtr *pMethodContext, int methodContextLength, RuntimeType toType)

References System.array, System.RuntimeTypeHandle.CopyRuntimeTypeHandles(), System.Runtime.Serialization.Dictionary, System.GC.KeepAlive(), System.length, System.length2, and System.RuntimeTypeHandle.SatisfiesConstraints().