[Mono-bugs] [Bug 463303] New: Missing method exception on valid assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 2 13:05:06 EST 2009


           Summary: Missing method exception on valid assembly
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

mono <attached executable>

rolf at linux:> mono test-vb.exe

** (test-vb.exe:4835): WARNING **: Missing method .IBase.S in assembly
/home/rolf/test/interface/test-vb.exe token 6000001

Unhandled Exception: System.TypeLoadException: A type load exception has
  at TT.Main (System.String[] cmdargs) [0x00000] 

Neither peverify nor pedump complain about the file.

This is the following VB code (compiled with either vbc or vbnc):
Public Interface IBase
    Sub S()
End Interface
Public Interface IDerived
    Inherits IBase
End Interface
Public Interface IDerivedDerived
    Inherits IDerived
End Interface
Public Class MemberDeclaration2
    Implements IDerivedDerived
    Public Sub S() Implements IBase.S
    End Sub
End Class
Class C(Of X As IBase)
    Overloads Sub Add(ByVal v As X)
    End Sub
End Class
Class TT
    Shared Function Main() As Integer
        Dim t As New MemberDeclaration2
        Dim cc As New C(Of IDerivedDerived)
        Console.WriteLine("Main [Done]")
    End Function
End Class

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list