[Mono-bugs] [Bug 496040] Missing interface member implementations are not reported, do not generate an error.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 14 11:55:17 EDT 2009


User jpryor at novell.com added comment

Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
                 CC|                            |jpryor at novell.com
            Summary|Internal compiler error     |Missing interface member
                   |during compilation due to   |implementations are not
                   |missing non-generic         |reported, do not generate
                   |GetEnumerator() method      |an error.

--- Comment #3 from Jonathan Pryor <jpryor at novell.com>  2009-07-14 09:55:12 MDT ---
The internal compiler error can be "worked around" by compiling the "dll
assembly" and ".exe assembly" sources into the same assembly:

  $ gmcs exe-source.cs dll-source.cs

However, the IL is still invalid; running it produces output very similar to
your original gmcs compile output:

  $ mono exe-source.exe
  System.Collections.IEnumerable::GetEnumerator() in class Bug.List
  METHOD .ctor()
  System.TypeLoadException: Could not load type 'Bug.List' from assembly 'List,
Version=, Culture=neutral, PublicKeyToken=null'.

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