public virtual Choice GetEBNFBlock(GrammarAST ebnfRoot, IList<CodeBlockForAlt> alts) { Choice c = @delegate.GetEBNFBlock(ebnfRoot, alts); foreach (CodeGeneratorExtension ext in extensions) c = ext.GetEBNFBlock(c); return c; }