Bug 24207 - Simple Dynamic Linq doesn't work on Mono
Summary: Simple Dynamic Linq doesn't work on Mono
Status: RESOLVED FEATURE
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: 3.8.0
Hardware: PC All
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2014-11-01 00:19 UTC by xamshamusr
Modified: 2014-11-10 08:51 UTC (History)
1 user (show)

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


Attachments
Simple Dynamic Linq solution that fails in Mono works in normal .net (3.24 MB, application/zip)
2014-11-01 00:19 UTC, xamshamusr
Details


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:
Status:
RESOLVED FEATURE

Description xamshamusr 2014-11-01 00:19:51 UTC
Created attachment 8587 [details]
Simple Dynamic Linq solution that fails in Mono works in normal .net

Simple System.Linq.Dynamic expression fail to run in Mono giving error such as "An exception was thrown by the type initializer for System.Linq.Dynamic.ExpressionParser"

I've made a simple solution which works fine in Windows but not in Mono.
Comment 1 Marek Safar 2014-11-10 08:51:13 UTC
Mono does not have 4.0 version of Data.Entiry framework. It only has newer (v6) version of Entity Framework.

System.Linq.Dynamic has hardcoded assumption this assembly is available, which is incorrect.