Hello I am experiencing a very strange exception when I try to run through Xamarin Studio on mono 3.3.0. The exception is as follows
Unhandled Exception:
System.ApplicationException: Invalid IL code in System.Linq.Enumerable:Where<TSource> (System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource, bool>): method body is empty.
at TestEF.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ApplicationException: Invalid IL code in System.Linq.Enumerable:Where<TSource> (System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource, bool>): method body is empty.
at TestEF.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
The application exited with code: 1
The project runs fine when I target .net framework as the run target platform , goes on to connect to my local postgresql instance , initialize the DBContext and loop through a small table and print the results.