Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-05-13 06:38:02 +0400
committerMiguel de Icaza <miguel@gnome.org>2002-05-13 06:38:02 +0400
commitb2febae24cd8336761672aa27ae901647b4bc378 (patch)
treee055af29342401af6fa4061fd2717fe900dcfdc2 /mcs/errors/cs0500.cs
parent188fc21c21a8df66b51241f00690f19617a2f999 (diff)
2002-05-13 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (MemberLookupFinal): new version with all the parameters customizable. * expression.cs (New.DoResolve): Use MemberLookupFinal to locate constructors. Return if the result value is null (as the error would have been flagged already by MemberLookupFinal) Do not allow instances of abstract classes or interfaces to be created. (Method.Emit): If the method is marked abstract and has a body, emit an error. svn path=/trunk/mcs/; revision=4577
Diffstat (limited to 'mcs/errors/cs0500.cs')
-rwxr-xr-xmcs/errors/cs0500.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/errors/cs0500.cs b/mcs/errors/cs0500.cs
new file mode 100755
index 00000000000..d59cee21359
--- /dev/null
+++ b/mcs/errors/cs0500.cs
@@ -0,0 +1,4 @@
+abstract class X {
+ public abstract void B () {
+ }
+}