Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / errors / cs0418-5.cs
blob2287b8315d40ca74e04381b15f60e95aa1bb0c88
1 // CS0418: `Foo': an abstract class cannot be sealed or static
2 // Line: 3
3 public abstract partial class Foo
5 public string myId;
8 public static 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);