将函数签名ToShare后il2cpp生成代码出错。考虑先不共享了
parent
dfcf2f8bc1
commit
92546c05af
|
@ -106,9 +106,10 @@ namespace Obfuz.Emit
|
||||||
|
|
||||||
private MethodSig CreateDispatchMethodSig(IMethod method)
|
private MethodSig CreateDispatchMethodSig(IMethod method)
|
||||||
{
|
{
|
||||||
MethodSig methodSig = MetaUtil.ToSharedMethodSig(_module.CorLibTypes, MetaUtil.GetInflatedMethodSig(method));
|
//MethodSig methodSig = MetaUtil.ToSharedMethodSig(_module.CorLibTypes, MetaUtil.GetInflatedMethodSig(method));
|
||||||
|
MethodSig methodSig = MetaUtil.GetInflatedMethodSig(method).Clone();
|
||||||
//methodSig.Params
|
//methodSig.Params
|
||||||
switch(MetaUtil.GetThisArgType(method))
|
switch (MetaUtil.GetThisArgType(method))
|
||||||
{
|
{
|
||||||
case ThisArgType.Class:
|
case ThisArgType.Class:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue