[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


http://bugzilla.novell.com/show_bug.cgi?id=496040

User jpryor at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=496040#c3


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=0.0.0.0, 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