1 // cs0418-4.cs : `Foo': an abstract class cannot be sealed or static
3 public abstract partial class Foo
8 public sealed partial class Foo
10 public string Id { get { return myId; }
}
13 public class PartialAbstractCompilationError
15 public static void Main ()
17 System
.Console
.WriteLine (typeof (Foo
).IsSealed
);
18 System
.Console
.WriteLine (typeof (Foo
).IsAbstract
);