Example #1
0
        public override void Visit(MethodReferenceExpression node)
        {
            MethodReference method = node.Method;

            if (null == node.Target)
            {
                Write(Formatter.FormatTypeReference(method.DeclaringType));
            }
            else
            {
                Visit(node.Target);
            }
            Write(".{0}", method.Name);
        }
Example #2
0
		public override void Visit(MethodReferenceExpression node)
		{
			CannotOptimize(node);
		}
Example #3
0
 public virtual void Visit(MethodReferenceExpression node)
 {
     Visit(node.Target);
 }
		public virtual void Visit (MethodReferenceExpression node)
		{
			Visit (node.Target);
		}
		public override void Visit (MethodReferenceExpression node)
		{
			MethodReference method = node.Method;
			if (null == node.Target) {
				Write (Formatter.FormatTypeReference (method.DeclaringType));
			} else {
				Visit (node.Target);
			}
			Write (".{0}", method.Name);
		}