Implicit interface implementations for overloaded methods are not converted correctly to VB #208
Description
SD-1832, originally created on 7/28/2011 22:53:41 by Daniel Grunwald
http://community.sharpdevelop.net/forums/t/13616.aspx
given the C# interface and class:
public interface MyInterface
{
void Method1(object test);
void Method1(string test);
void Method2(object test2);
void Method2(string test2);
void Method2(int test2);
}
public class MyClass : MyInterface
{
public void Method1(object test) {}
public void Method1(string test) {}
public void Method2(string test) {}
public void Method2(object test) {}
public void Method2(int test) {}
}
The conversion gives
Public Class [MyClass]
Inherits MyInterface
Public Sub Method1(test As Object) Implements MyInterface.Method1
End Sub
Public Sub Method1(test As String)
End Sub
Public Sub Method2(test As String) Implements MyInterface.Method2
End Sub
Public Sub Method2(test As Object)
End Sub
Public Sub Method2(test As Integer)
End Sub
End Class
Method 1 string overload, Method 2 Object overload and Method2 Integer
overload are missing the needed implements statement.