示例#1
0
 void IErrorReporter.AggregateCannotContainSubquery(AggregateExpression expression)
 {
     string message = String.Format(CultureInfo.CurrentCulture, Resources.AggregateCannotContainSubquery, expression.GenerateSource());
     HandleError(ErrorId.AggregateCannotContainAggregate, message);
 }
示例#2
0
 void IErrorReporter.AggregateInvalidInCurrentContext(AggregateExpression aggregateExpression)
 {
     string message = String.Format(CultureInfo.CurrentCulture, Resources.AggregateInvalidInCurrentContext, aggregateExpression.GenerateSource());
     HandleError(ErrorId.AggregateInvalidInCurrentContext, message);
 }
示例#3
0
 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);
 }