https://bugzilla.novell.com/show_bug.cgi?id=430507


           Summary: Evaluator API: error output.
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Currently the only way of catching errors is to set the Report.Error textwriter
to some value that can be recorded, but this is inherently not thread safe, and
will interfere with multiple users of the code.

We could either have an EvaluatorContext that is used instead:

EvaluatorContext eval = new Evaluator.CreateContext ();
eval.Error = xx;

eval.Evaluate (...);

This routine would hide the internals of Report and could potentially also
separate the various "using" statement contexts and variable tracking that we
currently do.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to