10 fewer MSIL bytes for us
This commit is contained in:
parent
780ce7a492
commit
21d34c1e6f
1 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@ namespace ARMeilleure.Translation
|
||||||
{
|
{
|
||||||
_dlg = dlg;
|
_dlg = dlg;
|
||||||
|
|
||||||
FuncPtr = Marshal.GetFunctionPointerForDelegate<Delegate>(_dlg);
|
FuncPtr = Marshal.GetFunctionPointerForDelegate<Delegate>(dlg);
|
||||||
RetType = GetOperandType(_dlg.Method.ReturnType);
|
RetType = GetOperandType(dlg.Method.ReturnType);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static OperandType GetOperandType(Type type)
|
private static OperandType GetOperandType(Type type)
|
||||||
|
@ -55,4 +55,4 @@ namespace ARMeilleure.Translation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue