7d05485754
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
18 lines
261 B
C#
18 lines
261 B
C#
// CS8139: `D.M()': cannot change return type tuple element names when overriding inherited member `C.M()'
|
|
// Line: 14
|
|
|
|
class C
|
|
{
|
|
public virtual (int a, int b) M ()
|
|
{
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
class D : C
|
|
{
|
|
public override (int c, int d) M ()
|
|
{
|
|
throw null;
|
|
}
|
|
} |