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'
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Add comment