void IErrorReporter.AggregateCannotContainSubquery(AggregateExpression expression) { string message = String.Format(CultureInfo.CurrentCulture, Resources.AggregateCannotContainSubquery, expression.GenerateSource()); HandleError(ErrorId.AggregateCannotContainAggregate, message); }
void IErrorReporter.AggregateInvalidInCurrentContext(AggregateExpression aggregateExpression) { string message = String.Format(CultureInfo.CurrentCulture, Resources.AggregateInvalidInCurrentContext, aggregateExpression.GenerateSource()); HandleError(ErrorId.AggregateInvalidInCurrentContext, message); }
void IErrorReporter.AggregateCannotContainAggregate(AggregateExpression expression, AggregateBinding parent, AggregateBinding nested) { string message = String.Format(CultureInfo.CurrentCulture, Resources.AggregateCannotContainAggregate, expression.GenerateSource(), parent.Name, nested.Name); HandleError(ErrorId.AggregateCannotContainAggregate, message); }