a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
331 B
C#
17 lines
331 B
C#
// CS0418: `Foo': an abstract class cannot be sealed or static
|
|
// Line: 3
|
|
public abstract sealed partial class Foo
|
|
{
|
|
public string myId;
|
|
}
|
|
|
|
public class PartialAbstractCompilationError
|
|
{
|
|
public static void Main ()
|
|
{
|
|
System.Console.WriteLine (typeof (Foo).IsSealed);
|
|
System.Console.WriteLine (typeof (Foo).IsAbstract);
|
|
}
|
|
}
|
|
|