private object EmitGenericArg(object arg) { if (arg is MidType) return EmitType((MidType)arg); else return EmitExp((MidExp)arg, null); }