svn path=/trunk/mcs/; revision=79256
-// CS0179: `Bar.OnFoo' cannot declare a body because it is marked extern
+// CS0179: `Bar.OnFoo.add' cannot declare a body because it is marked extern
// Line: 9
using System;
-// CS0179: `Bar.Foo' cannot declare a body because it is marked extern
+// CS0179: `Bar.Foo.set' cannot declare a body because it is marked extern
// Line: 5
class Bar {
-// cs0500.cs: `A.Foo' cannot declare a body because it is marked abstract
+// cs0500.cs: `A.Foo.get' cannot declare a body because it is marked abstract
// Line: 5
public abstract class A {
-// cs0501.cs: `Class.X()' must declare a body because it is not marked abstract or extern
-// Line: 4
+// CS0501: `Class.X()' must have a body because it is not marked abstract or extern
+// Line: 5
+
class Class {
virtual public void X ();
}
--- /dev/null
+// CS0840: `Test.Property.get' must have a body because it is not marked abstract or extern. The property can be automatically implemented when you define both accessors
+// Line: 7
+// Compiler options: -langversion:linq
+
+public abstract class Test
+{
+ public string Property { get; }
+}