Beispiel #1
0
 protected GroupAggregateInfo(
     GroupAggregateKind aggregateKind,
     GroupAggregateExpr astNode,
     ErrorContext errCtx,
     GroupAggregateInfo containingAggregate,
     ScopeRegion definingScopeRegion)
 {
     this.AggregateKind       = aggregateKind;
     this.AstNode             = astNode;
     this.ErrCtx              = errCtx;
     this.DefiningScopeRegion = definingScopeRegion;
     this.SetContainingAggregate(containingAggregate);
 }
Beispiel #2
0
        protected GroupAggregateInfo(
            GroupAggregateKind aggregateKind,
            GroupAggregateExpr astNode,
            ErrorContext errCtx,
            GroupAggregateInfo containingAggregate,
            ScopeRegion definingScopeRegion)
        {
            Debug.Assert(aggregateKind != GroupAggregateKind.None, "aggregateKind != GroupAggregateKind.None");
            DebugCheck.NotNull(errCtx);
            DebugCheck.NotNull(definingScopeRegion);

            AggregateKind       = aggregateKind;
            AstNode             = astNode;
            ErrCtx              = errCtx;
            DefiningScopeRegion = definingScopeRegion;
            SetContainingAggregate(containingAggregate);
        }