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);
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
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};,
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
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
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