[Mono-bugs] [Bug 476469] New: Evaluator.Evaluate() cannot do a simple multiplication

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 17 10:13:56 EST 2009


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


           Summary: Evaluator.Evaluate() cannot do a simple multiplication
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dna at mono-project.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)

csharp> var a = 1 * 2;
csharp> a;
2
csharp> 1 + 2;
3
csharp> 1 * 2;
{interactive}(1,2): error CS0201: Only assignment, call, increment, decrement,
and new object expressions can be used as a statement
{interactive}(1,6): error CS1525: Unexpected symbol `2', expecting `[',
`<operator>', or `identifier'
csharp> 

Reproducible: Always

Actual Results:  
a error.

Expected Results:  
evaluating 1 * 2 and return the result of it, e.g. 2

-- 
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