[Mono-bugs] [Bug 569539] New: Cannot compile code using __refvalue

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 9 09:46:53 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=569539

http://bugzilla.novell.com/show_bug.cgi?id=569539#c0


           Summary: Cannot compile code using __refvalue
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


private void TestCase (__arglist)
{
    ArgIterator args = new ArgIterator (__arglist);
    for (int i = 0; i < args.GetRemainingCount (); i++) {
        Console.WriteLine (__refvalue (args.GetNextArg (), string));
    }
}

results in a "error CS1525: Unexpected symbol `)', expecting `.'" on the line
containing the __refvalue

Not a huge issue - in fact I found this out while writing a Gendarme rule to
avoid using __arglist ;-)

-- 
Configure bugmail: http://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