Inheritance: System.Linq.Expressions.Expression
        protected override Expression VisitLocal(LocalExpression local)
        {
            if (variableIndexPredicate(local.Index)) {
                GetDetails(local.Index).UseCount += 1;
            }

            return base.VisitLocal(local);
        }
示例#2
0
 protected virtual Expression VisitLocal(LocalExpression local)
 {
     return(local);
 }
 protected virtual Expression VisitLocal(LocalExpression local)
 {
     return local;
 }
 protected override Expression VisitLocal(LocalExpression local)
 {
     var value = this.values.GetValueOrDefault(local.Index);
     return value ?? local;
 }