mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
A fix for #78065 *class.cs (MethodData.Define): Add check for new params modifiers in an explicit interface implementation. svn path=/trunk/mcs/; revision=60109
11 lines
229 B
C#
11 lines
229 B
C#
// cs0466.cs: `Base.I.M(params int[])': the explicit interface implementation cannot introduce the params modifier
|
|
// Line: 10
|
|
|
|
interface I
|
|
{
|
|
void M(int[] values);
|
|
}
|
|
class Base : I
|
|
{
|
|
void I.M(params int[] values) {}
|
|
} |