public override Expression VisitNameBinding(NameBinding nameBinding)
 {
     for (int i = 0; i < V2.Count; i++)
     {
         if (nameBinding.Identifier.Name.Equals((string)V2[i]))
         {
             nameBinding.Identifier.Name = (string)V1[i];
             break;
         }
     }
     return nameBinding;
 }
Beispiel #2
0
 public override Expression VisitNameBindingCore(NameBinding nameBinding)
 {
     Expression result = base.VisitNameBindingCore(nameBinding);
     return result;
 }
 public virtual Expression VisitNameBinding(NameBinding nameBinding)
 {
     return nameBinding;
 }
Beispiel #4
0
 public override Expression VisitNameBinding(NameBinding nameBinding)
 {
     if (nameBinding == null) return null;
     nameBinding = (NameBinding)nameBinding.Clone();
     nameBinding.BoundMember = this.VisitExpression(nameBinding.BoundMember);
     nameBinding.BoundMembers = this.VisitMemberReferenceList(nameBinding.BoundMembers);
     return nameBinding;
 }
Beispiel #5
0
 public override Expression VisitNameBinding(NameBinding nameBinding)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
 public EventingVisitor(Action<NameBinding> visitNameBinding) { VisitedNameBinding += visitNameBinding; } public event Action<NameBinding> VisitedNameBinding; public override Expression VisitNameBinding(NameBinding nameBinding) { if (VisitedNameBinding != null) VisitedNameBinding(nameBinding); return base.VisitNameBinding(nameBinding); }