Emit valid il code for conditional expression of two casted interfaces