Hello,
I'm using Mono.CSharp.Evaluator and I have two questions. I'll
appreciate if you can help me on this ones.
1) You cannot do something like this:
str = "using System;";
str += "Console.WriteLine (\"Hello\");";
Evaluator.Run (str);
but this works:
str = "using System;";
Evaluator.Run (str
Hello,
1) You cannot do something like this:
>
Correct; Using statements are parsed independently of expressions, you can
not do this.
The reason is that you need to evaluate either declarations or
expression/statements and using clauses are not expression/statements.
> 2) The method Evaluat
Hello,
>
>
> They should be separated by a newline, I find it strange that it is
> not there, the actual strings is:
>
>
> sb.AppendFormat ("{0} {1} = {2}",
> fi.Item1.MemberType.GetSignatureForError (), de.Key, value);
> sb.AppendLine ();
>
Oh, cool.
I'm using Mono 2.4.4 (the default incl