Describe the bug
An exception Unhandled Exception: System.TypeLoadException: Signature of the body and declaration in a method implementation do not match. will be thrown.
To Reproduce
Use the following project and the Normal preset to reproduce the issue.
ConsoleApp1.zip
Related code:
class C<TItem> : S<TItem>
{
public TItem GetT(int key)=> default(TItem);
}
interface S<TItem> : I<int, TItem> { }
interface I<TKey, TItem> {
TItem GetT(int key);
}