You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
crashed near this location in the source----------^
This example could easily be rebuilt using older methods like looping through the collection, but why? How in the hell would I do sorting of a list of custom classes? At some point the older methods become just too complex to write, without the being able to use Function(x)
Thanks -fhbiii
Xamarin Bugzilla comment 1 by Rolf Bjarne Kvinge [MSFT] on 2015-09-29 10:39 UTC
The VB compiler in Mono only supports VB8 (that's the version that came with VS 2005), which is why lambdas don't compile.
There is currently plans to update the VB compiler in the future; the best option for you is probably to compile on Windows and then copy any assemblies to where you need them.
Xamarin Bugzilla comment 2 by a community member on 2015-09-29 10:47 UTC
So linq, and Lambda are only supported in the c# compiler?
Xamarin Bugzilla comment 3 by Rolf Bjarne Kvinge [MSFT] on 2015-09-29 10:48 UTC
Correct.
Xamarin Bugzilla comment 4 by a community member on 2015-09-29 10:50 UTC
Ok, not the answer I was hoping for, but I guess I can stop beating my head against the screen.
Submitted by a community member on 2015-09-29 10:26 UTC
I'm using monodevelop 5.9.6 under Ubuntu 14.04. My target framework is .net 4/mono
Compiling a project that was started in VS2012, with working lambda expressions already in place.
even the simplest function will stop the compile.
Example:
crashed near this location in the source----------^
This example could easily be rebuilt using older methods like looping through the collection, but why? How in the hell would I do sorting of a list of custom classes? At some point the older methods become just too complex to write, without the being able to use Function(x)
Thanks -fhbiii
Xamarin Bugzilla comment 1 by Rolf Bjarne Kvinge [MSFT] on 2015-09-29 10:39 UTC
The VB compiler in Mono only supports VB8 (that's the version that came with VS 2005), which is why lambdas don't compile.
There is currently plans to update the VB compiler in the future; the best option for you is probably to compile on Windows and then copy any assemblies to where you need them.
Xamarin Bugzilla comment 2 by a community member on 2015-09-29 10:47 UTC
So linq, and Lambda are only supported in the c# compiler?
Xamarin Bugzilla comment 3 by Rolf Bjarne Kvinge [MSFT] on 2015-09-29 10:48 UTC
Correct.
Xamarin Bugzilla comment 4 by a community member on 2015-09-29 10:50 UTC
Ok, not the answer I was hoping for, but I guess I can stop beating my head against the screen.
Thanks.
Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=34392
The text was updated successfully, but these errors were encountered: