mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* cs0260.cs, cs0260-2.cs, cs0261.cs, cs0262.cs, cs0263.cs: New tests for partial classes. svn path=/trunk/mcs/; revision=31394
20 lines
261 B
C#
20 lines
261 B
C#
// CS0263: Partial declarations of `Foo' must not specify different base classes
|
|
// Line: 12
|
|
public class Base
|
|
{ }
|
|
|
|
public class OtherBase
|
|
{ }
|
|
|
|
public partial class Foo : Base
|
|
{ }
|
|
|
|
public partial class Foo : OtherBase
|
|
{ }
|
|
|
|
class X
|
|
{
|
|
static void Main ()
|
|
{ }
|
|
}
|