[Mono-dev] Mono.CSharp.Evaluator.Evaluate() not working anymore

nelson nelson.cabral at gmail.com
Mon Apr 29 23:02:35 UTC 2013


Using the latest version of mono availaible on github, the following code
returns the error "System.ArgumentException: The expression did not set a
result" . Did I miss something ?

  CompilerSettings settings = new CompilerSettings();
  ReportPrinter printer = new ConsoleReportPrinter();
  CompilerContext context = new CompilerContext(settings, printer);
  var engine = new Evaluator(context);
  engine.Evaluate("new Action();");



--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-CSharp-Evaluator-Evaluate-not-working-anymore-tp4659554.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list