提交 e1d9cc1e 编写于 作者: C Cyrus Najmabadi

Simplify

上级 54c8b6ef
......@@ -56,9 +56,7 @@ public static ICollection<ISymbol> GetMissingEnumMembers(ISwitchExpressionOperat
}
public static bool HasDefaultCase(ISwitchExpressionOperation operation)
{
return operation.Arms.Any(a => IsDefault(a));
}
=> operation.Arms.Any(a => IsDefault(a));
public static bool IsDefault(ISwitchExpressionArmOperation arm)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册