Bug 16398 - System.Linq.Expressions.DynamicExpressionVisitor missing in 4.5
Summary: System.Linq.Expressions.DynamicExpressionVisitor missing in 4.5
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Core ()
Version: master
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
Depends on:
Reported: 2013-11-21 23:57 UTC by Jeff Hardy
Modified: 2013-12-05 07:06 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 GitHub or Developer Community 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.

Related Links:

Description Jeff Hardy 2013-11-21 23:57:03 UTC
Mono 3.2 (and trunk by the looks of it) is missing the System.Linq.Expressions.DynamicExpressionVisitor class, introduced in 4.5 (http://msdn.microsoft.com/en-us/library/system.linq.expressions.dynamicexpressionvisitor(v=vs.110).aspx).

-- REPRO --
  using System.Linq.Expressions;

  abstract class MyDEV : DynamicExpressionVisitor {}

$ mcs -t:library -out:nodev.dll nodev.cs
nodev.cs(3,24): error CS0246: The type or namespace name `DynamicExpressionVisistor' could not be found. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings

IronPython uses an empty shim for platforms < 4.5:

  public abstract class DynamicExpressionVisitor : ExpressionVisitor {}
Comment 1 Marek Safar 2013-12-05 07:06:46 UTC
Fixed in master