public abstract bool IsIterator { get; }
public abstract AnonymousMethodStorey Storey { get; }
-
//
// The block that makes up the body for the anonymous method
//
// Mutate anonymous method instance type if we are in nested
// hoisted generic anonymous method storey
//
- if (ec.CurrentAnonymousMethod != null &&
- ec.CurrentAnonymousMethod.Storey != null &&
- ec.CurrentAnonymousMethod.Storey.Mutator != null) {
+ if (ec.IsAnonymousStoreyMutateRequired) {
t = storey.Mutator.Mutate (t);
}
c.Block = new ToplevelBlock (parent.Module.Compiler, c.ParameterInfo, loc);
//
- // Create fields and contructor body with field initialization
+ // Create fields and constructor body with field initialization
//
bool error = false;
for (int i = 0; i < parameters.Count; ++i) {