[Mono-dev] CS0584 Internal compiler error in gmcs.exe (master)
Tom Philpot
tom.philpot at logos.com
Tue Dec 14 16:59:29 EST 2010
Attached is a patch which should fix the issue.
Submitted under MIT/X11 license.
From: Tom Philpot <tom.philpot at logos.com<mailto:tom.philpot at logos.com>>
Date: Tue, 14 Dec 2010 13:52:37 -0800
To: "mono-devel-list at ximian.com<mailto:mono-devel-list at ximian.com>" <mono-devel-list at ximian.com<mailto:mono-devel-list at ximian.com>>
Subject: [Mono-dev] CS0584 Internal compiler error in gmcs.exe (master)
In membercache.cs.AddBaseType () line 219, if entry.Value.Count == 1, entry.Value is a MemberSpec[] which will cause the list.Add(ce) on Line 234 to fail.
Gmcs.exe fails with "CS0584: Internal compiler error: Collection is read-only" (in ecore.cs:433) when this case is encountered.
I ran across this error while compiling our code with Mono 2.9 from master today. I'm not sure how to reproduce the error, otherwise I'd have submitted a test case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101214/9485b7c1/attachment-0001.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: membercache.cs.patch.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101214/9485b7c1/attachment-0001.txt
More information about the Mono-devel-list
mailing list