No, it is necessary to skip invariant emission for the lambdas in aggregate member scope.

```d
class C {
    enum x = () { ... };   // This lambda should not have invariant
    invariant {}
```