Re: [Mono-dev] Problems with FileStream.Lock();

2013-01-11 Thread Terry Watts
I have looked at the exception under the debugger, that's why E is in the catch{ Exception E}. The exception thrown is a lock violation; not a Not Supported exception. Regards Terry On Jan 9, 2013 7:10 AM, Marcel Hellwig k...@cookiesoft.de wrote: Hi, I think your worst mistake you do is on

Re: [Mono-dev] Problems with FileStream.Lock();

2013-01-11 Thread Jonathan Pryor
On Jan 8, 2013, at 3:52 PM, Terry Watts terry.terrywatts@gmail.com wrote: I have looked at the exception under the debugger, that's why E is in the catch{ Exception E}. The exception thrown is a lock violation; not a Not Supported exception. The exception thrown is lock violation because

[Mono-dev] Question about LiftedBinaryOperator in mcs source

2013-01-11 Thread Charles-Henri Gros
Hi, I'm working on project that uses Mono as its C# parser. It uses the AST that comes from calling Resolve. I'm having trouble understanding what happens to LiftedBinaryOperator. In particular, this code seems strange: if (left_orig is NullLiteral) { left =