Search Issue Tracker

By Design

Votes

0

Found in

4.6.2f1

Issue ID

699657

Regression

No

[Mono] Linq.Expressions.Expression.Call (Expression, MethodInfo, Expression[]) throws an 'ArgumentException: instance'

Mono

-

To Reproduce:
1. Run the attached project.
2. Observe that, 'ArgumentException: instance' (System.ArgumentException when building in mono directly) is thrown in line:

var methodCall = Expression.Call(
instance,
method,
Expression.Convert(argument, parameter.ParameterType)
);

RgisterFactory.cs (29)

Seem to be a Mono issue, reproducible in Xamarin Studio with mono 3.1.2 and 4.0.0, but not in VS2013.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.