Do not redefine interfaces. (#67)

* Do not redefine interfaces.

* Improve code style, readability and performance after initial code review

* Implemented unit tests for the interface inheritance

* Cleaned up unit tests.

* Completely remove output helper.
This commit is contained in:
David
2024-04-23 10:52:52 +02:00
committed by GitHub
parent d2d1115753
commit 6b6e5d04a0
15 changed files with 340 additions and 11 deletions
@@ -0,0 +1,25 @@
namespace ProxyInterfaceSourceGeneratorTests.Source.Disposable
{
public class Explicit : IDisposable, IUpdate<string>
{
string IUpdate<string>.Name => throw new NotSupportedException();
event EventHandler<string>? IUpdate<string>.Update
{
add
{
throw new NotSupportedException();
}
remove
{
throw new NotSupportedException();
}
}
void IDisposable.Dispose()
{
throw new NotSupportedException();
}
}
}