blob: c2ae61435a9801c6ea63af8c3794b420c6197508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// The standard says this doesn't have to have the 'abstract' modifier
public partial class Foo
{
public string myId;
}
public abstract partial class Foo
{
public string Id { get { return myId; } }
}
public class Bar : Foo
{
public Bar (string id) { myId = id; }
}
public class PartialAbstractCompilationError
{
public static void Main ()
{
System.Console.WriteLine (typeof (Foo).IsAbstract);
}
}
|