public Expression CreateReferenceExpression (ResolveContext rc, Location loc)
{
- Expression expr = null;
-
//
// We know the variable name is somewhere in the scope. This generates
// an access expression from current block
if (p.Name == Name)
return pb.GetParameterReference (i, loc);
+ Expression expr = null;
var tp = p as QueryBlock.TransparentParameter;
while (tp != null) {
if (expr == null)
tp = tp.Parent as QueryBlock.TransparentParameter;
}
}
-
- expr = null;
}
if (pb == block)
public class Where : AQueryClause
{
- public Where (QueryBlock block, BooleanExpression expr, Location loc)
+ public Where (QueryBlock block, Expression expr, Location loc)
: base (block, expr, loc)
{
}