[Mono-dev] Linq sample?

pablosantosluac pablosantosluac at terra.es
Mon Sep 24 11:22:22 EDT 2007


Thanks Robert,

One more question: now it compiles but I can't run it.

I'm using Mono JIT compiler version 1.2.5 (/trunk/ r84774)

And I get:
Unhandled Exception: System.InvalidProgramException: Invalid IL code in 
app:Main (): IL_0000: ldc.i4.8

I guess I'm still doing something wrong...

Thanks

pablo

----- Original Message ----- 
From: "Robert Jordan" <robertj at gmx.net>
To: <mono-devel-list at lists.ximian.com>
Sent: Monday, September 24, 2007 5:12 PM
Subject: Re: [Mono-dev] Linq sample?


> pablosantosluac wrote:
>> Hi!
>>
>> I was wondering which is the current Linq status in mono.
>>
>>  I've downloaded and compiled the olive project, and now I have the
>> System.Data.Linq assembly but I was wondering how should I write a Linq
>> sample in mono.
>>
>> I didn't find a sample or test in the code to start up with.
>>
>> I tried this one from msdn, but I guess I'm doing something wrong because 
>> I
>> wasn't able to compile it.
>
> Compile it with gmcs -langversion:linq
>
> Robert
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list 




More information about the Mono-devel-list mailing list