[Mono-bugs] [Bug 430507] New: Evaluator API: error output.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 28 16:06:41 EDT 2008


           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: mono-bugs at lists.ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          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.

More information about the mono-bugs mailing list