Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Xamarin.iOS' System.Linq.Expressions.ExpressionVisitor methods have the wrong signature. They should match .NET, but they do not.
For example, ExpressionVisitor.VisitMethodCall()
protected internal virtual Expression VisitMethodCall(
protected virtual void VisitMethodCall(
Xamarin.iOS' System.Core.dll should be API-compatible with .NET's System.Core.dll.
Thank you for posting this issue, I was going to do it myself.
Anxious to get a response to this one.
*** This bug has been marked as a duplicate of bug 15008 ***
This bug is not a duplicate of 15008 and is not resolved. The code in the master branch still shows all of these methods as returning 'void' rather than 'Expression':
It kind of defeats the point of having an ExpressionVisitor class if all of the methods return void, since everything in an Expression is read-only.
You need Xamarin.iOS version 7.2.1 or better to have updated ExpressionVisitor.
@Chad: The contents of System.Core/System.Linq.Expressions/ExpressionVisitor.cs are not used on Xamarin.iOS 7.2.1+.
It is instead using:
@Marek: Should we remove the mcs/class/System.Core/System.Linq.Expressions/ExpressionVisitor.cs & related files? Or is something still using them?
It's used by 2.0/3.5 profile System.Core