public static void EmitCall(this ILProcessor il, MethodDefinition method) { il.Emit(method.IsVirtual ? OpCodes.Callvirt : OpCodes.Call, method); }