public int maxStack;
}
- static readonly Type void_type = typeof (void);
#region Sync with reflection.h
private byte[] code;
private int code_len;
add_token_fixup (meth);
}
emit_int (token);
- if (meth.ReturnType != void_type)
+ if (meth.ReturnType != typeof (void))
cur_stack ++;
if (opcode.StackBehaviourPop == StackBehaviour.Varpop)
add_token_fixup (method);
}
emit_int (token);
- if (method.ReturnType != void_type)
+ if (method.ReturnType != typeof (void))
cur_stack ++;
if (opcode.StackBehaviourPop == StackBehaviour.Varpop)