On Sat, Mar 15, 2008 at 1:06 PM, grover <[EMAIL PROTECTED]> wrote: > I'm looking into it. I've created another small patch, which seems to almost > work, except for a problem with the register allocation, which I can't fix > right now.
I think it's the wrong place to patch it - just in case you're trying to correct it I'll dump some ideas here: - calling op is "callvirt instance ...", because that's the way it is in corlib - callvirt is may be forced by gmcs from foreach(){} construct, but that's probably irrelevant - in #os List<> is not using any interfaces now, so callvirt looks like a mistake - it would be best to allow List<> to inherit IEnumerable and then think about it or am I wrong? :) Anyone can get a minimal test for this behaviour without foreach? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers