是否可以编写包含 if 语句的表达式主体成员?

Is it possible to write an expression-bodied member containing an if statement?

我想知道是否可以使用表达式体成员重写以下方法:

private void Checkup()
{
   if (errorCondition) throw new InvalidOperationException("Error");
}

也许我找到了解决办法:

void Checkup() => _ = condition ? throw new InvalidOperationException("Error") : 0;