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


           Summary: gmcs should not emit calls to CharEnumerator
           Product: Mono: Compilers
           Version: SVN
          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, for code like:

--
using System;
using System.Collections.Generic;

class Test {
        static void Main (string [] args)
        {
                string s = args [0];
                foreach (char c in s)
                        Console.WriteLine (c);
        }
}
--

gmcs emits calls to System.CharEnumerator, while it should be transparent, and
use calls to IEnumerable<char>.


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

Reply via email to