I have some code like this:

```
[Flags]
public enum someEnumFlag : long
...

if (someFlagEnum)
    if (!foo()) return;
if (someFlagEnum)
    if (!bar()) return;
// repeat similar lines...

```

For each `someFlagEnum`, some method is called and it returns a `bool`. If any of return values is `false`, the entire operation fails. Therefore `return`.

How can I simplify this? I want that "premature return" part intact, so I don't think `foreach` is viable here. (Correct me if I'm wrong)

**Note: This `someFlagEnum` is very large (20+ flags).**

Edited code. Yes, that enum is really `System.Enum`.