Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can't generate method if base class and interface are same name. #82

Open
Drizzle-Wen opened this issue Nov 12, 2024 · 0 comments

Comments

@Drizzle-Wen
Copy link

Drizzle-Wen commented Nov 12, 2024

Error message : 'TestClassProxy' does not implement interface member 'ISave.Save(int)'

Test code:

namespace Test
{
public class BaseTestClass
{
public IEnumerable Save(IEnumerable toSave)
{
return toSave;
}

	public int Save(int toSave)
	{
		return toSave;
	}
}

public interface ISave
{
	int Save(int toSave);
}

public class TestClass : BaseTestClass, ISave { }

[ProxyInterfaceGenerator.Proxy(typeof(TestClass), true)]
public partial interface ITestClass { }

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant