[Mono-dev] Mono.CSharp.Evaluator: x.GetType Bug?

2013-01-25 Thread lukebuehler
Hi, This is regarding Mono 3.0.3: Mono.CSharp.Evaluator When I instantiate an Evaluator and then then evaluate following input: var context = new CompilerContext(new CompilerSettings(), new ConsoleReportPrinter()); var evaluator = new Evaluator(context);

Re: [Mono-dev] Mono.CSharp.Evaluator: x.GetType Bug?

2013-01-25 Thread Robert Jordan
On 25.01.2013 18:33, lukebuehler wrote: //this doesnt work evaluator.Evaluate(var a = new A();, out result, out set); //Error here: evaluator.Evaluate(a.GetType();, out result, out set); Console.WriteLine(result); Local variables don't survive the evaluation. You must

Re: [Mono-dev] Mono.CSharp.Evaluator: x.GetType Bug?

2013-01-25 Thread lukebuehler
No that doesn't work. 1. Your code gives me the same exception 2. A quick look with reflector shows me that eval.Run is just a wrapper over eval.Evaluate. 3. To prove it, this works: evaluator.Evaluate(class A{ public int X;}, out result, out set); evaluator.Evaluate(var a = new A{X=10};,

[Mono-dev] names differing only by case in git repo?

2013-01-25 Thread sebastian
I cloned the mono/mono repo to a Windows machine, and no matter what I do, my git status reports thusly: $ git status # On branch master # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working

[Mono-dev] Latest Native Client Mono work - ready for review/pull

2013-01-25 Thread Elijah Taylor
Hello Mono friends, I've just put up a pull request for the latest in NaCl Mono changes: https://github.com/mono/mono/pull/538 As mentioned in the description, this does represent two years worth of changes, but it's still relatively small. If it would be easier to review in parts I'm open to

Re: [Mono-dev] XML Schema compatibility

2013-01-25 Thread Atsushi Eno
Hi, That rather sounds like a bug. Could you file a bug with relavant schema (maybe link to that, as it sounds like something you can't share publicly) and something like stack trace if available? (Without the actual program, I'm not sure if it is about System.Xml.dll implementation. If it