Exemplo n.º 1
0
 public virtual ICodeNode VisitDelegateCreationExpression(DelegateCreationExpression node)
 {
     node.Target = (Expression)Visit(node.Target);
     return(node);
 }
Exemplo n.º 2
0
 public virtual void VisitDelegateCreationExpression(DelegateCreationExpression node)
 {
     Visit(node.Target);
 }
Exemplo n.º 3
0
		public virtual void VisitDelegateCreationExpression (DelegateCreationExpression node)
		{
			Visit (node.Target);
		}
Exemplo n.º 4
0
		public override void VisitDelegateCreationExpression (DelegateCreationExpression node)
		{
			WriteKeyword ("new");
			WriteSpace ();
			WriteReference (node.Type);
			WriteToken ("(");
			
			if (node.Target != null) {
				Visit (node.Target);
				WriteToken (".");
			}

			if (!node.Method.HasThis) {
				WriteReference (node.Method.DeclaringType);
				WriteToken (".");
			}

			Write (node.Method.Name);
			WriteToken (")");
		}