[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0441-2.cs
blobf6ba8a6c3eac7cef0d81f447318f4ce0b149e390
1 // CS0441: `Foo': a class cannot be both static and sealed
2 // Line: 3
3 public sealed 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);