internal override Context GetFirstExecutableContext() { for (int i = 0, n = this.list.Count; i < n; i++) { AST elem = (AST)(this.list[i]); Context ctx; if ((ctx = elem.GetFirstExecutableContext()) != null) { return(ctx); } } return(null); }
internal override Context GetFirstExecutableContext() { int num = 0; int count = this.list.Count; while (num < count) { AST ast = (AST)this.list[num]; Context firstExecutableContext = ast.GetFirstExecutableContext(); if (firstExecutableContext != null) { return(firstExecutableContext); } num++; } return(null); }