コード例 #1
0
        protected internal override Expression VisitLock(LockCSharpStatement node)
        {
            var expr = Visit(node.Expression);
            var body = Visit(node.Body);

            return(Push(node, new XElement(nameof(node.Expression), expr), new XElement(nameof(node.Body), body)));
        }
コード例 #2
0
 protected internal virtual Expression VisitLock(LockCSharpStatement node)
 {
     return(node.Update(Visit(node.Expression), Visit(node.Body)));
 }
コード例 #3
0
 public LockCSharpStatementProxy(LockCSharpStatement node)
 {
     _node = node;
 }
コード例 #4
0
            protected internal override Expression VisitLock(LockCSharpStatement node)
            {
                Visited = true;

                return base.VisitLock(node);
            }
コード例 #5
0
 public LockCSharpStatementProxy(LockCSharpStatement node)
 {
     _node = node;
 }
コード例 #6
0
 protected internal virtual Expression VisitLock(LockCSharpStatement node)
 {
     return node.Update(Visit(node.Expression), Visit(node.Body));
 }