コード例 #1
0
ファイル: CallConverterThunk.cs プロジェクト: justinvp/corert
 internal static unsafe IntPtr MakeThunk(ThunkKind thunkKind, IntPtr targetPointer, IntPtr instantiatingArg, ArgIteratorData argIteratorData, bool[] paramsByRefForced)
 {
     int callConversionInfo = CallConversionInfo.RegisterCallConversionInfo(thunkKind, targetPointer, instantiatingArg, argIteratorData, paramsByRefForced);
     return FindExistingOrAllocateThunk(callConversionInfo);
 }
コード例 #2
0
ファイル: CallingConventions.cs プロジェクト: nattress/corert
 //public:
 //------------------------------------------------------------
 // Constructor
 //------------------------------------------------------------
 public ArgIterator(ArgIteratorData argData, CallingConvention callConv, bool hasParamType, bool extraFunctionPointerArg, bool[] forcedByRefParams, bool skipFirstArg, bool extraObjectFirstArg)
 {
     this = default(ArgIterator);
     _argData = argData;
     _hasThis = callConv == CallingConvention.ManagedInstance;
     _hasParamType = hasParamType;
     _extraFunctionPointerArg = extraFunctionPointerArg;
     _forcedByRefParams = forcedByRefParams;
     _skipFirstArg = skipFirstArg;
     _extraObjectFirstArg = extraObjectFirstArg;
     _interpreterCallingConvention = callConv;
 }