[Mono-bugs] [Bug 341938] New: Linker issue ?
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Nov 15 09:07:21 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=341938
Summary: Linker issue ?
Product: Moonlight
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: engine
AssignedTo: mono-bugs at ximian.com
ReportedBy: sdelcroix at novell.com
QAContact: mono-bugs at ximian.com
CC: jbevain at novell.com
Found By: ---
this code snippet works fine if compiled with gmcs, but throws if compiled with
smcs :
Unhandled Exception: System.MissingFieldException: Field '.Enumerator.si' not
found.
at System.Collections.Generic.LinkedList`1[System.String].GetEnumerator ()
[0x00000]
at Test.Main () [0x00000]
using System;
using System.Collections.Generic;
public class Test
{
public static void Main ()
{
LinkedList<string> ll = new LinkedList<string> ();
ll.AddLast ("hello");
ll.AddLast (",");
ll.AddLast (" ");
ll.AddLast ("world");
ll.AddLast ("!");
foreach (string s in ll)
{
Console.Write (s);
}
Console.WriteLine ();
}
}
--
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