Exemplo n.º 1
0
 private void WalkParameter(NodeWalker walker, int depth, MemberAssignmentNode node)
 {
     var constant = node.Value as ConstantNode;
     if (constant != null && constant.Text == node.MemberName)
     {
         constant.Walk(walker, depth, false);
     }
     else
     {
         node.Walk(walker, depth, false);
     }
 }
Exemplo n.º 2
0
        private void WalkParameter(NodeWalker walker, int depth, MemberAssignmentNode node)
        {
            var constant = node.Value as ConstantNode;

            if (constant != null && constant.Text == node.MemberName)
            {
                constant.Walk(walker, depth, false);
            }
            else
            {
                node.Walk(walker, depth, false);
            }
        }