Example #1
0
        protected override void CloneTo(CloneContext clonectx, Expression target)
        {
            GroupBy t = (GroupBy)target;

            if (element_selector != null)
            {
                t.element_selector = element_selector.Clone(clonectx);
                t.element_block    = (QueryBlock)element_block.Clone(clonectx);
            }

            base.CloneTo(clonectx, t);
        }
Example #2
0
 public virtual object Visit(Linq.GroupBy groupBy)
 {
     return(null);
 }
void case_961()
#line 6517 "cs-parser.jay"
{
		yyVal = new Linq.GroupBy ((Linq.QueryBlock)current_block, (Expression)yyVals[-3+yyTop], linq_clause_blocks.Pop (), (Expression)yyVals[0+yyTop], GetLocation (yyVals[-5+yyTop]));
		lbag.AddLocation (yyVal, GetLocation (yyVals[-1+yyTop]));
		
		current_block.SetEndLocation (lexer.Location);
		current_block = current_block.Parent;
	  }