diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-10-31 23:47:49 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-10-31 23:47:49 +0300 |
commit | 033ff60aa8a0c4ba4b8f29699a17c5a2ffa0aa33 (patch) | |
tree | b01fe7bc71a2d503bc48f871ae2ecaa7048b4a5b /mcs/errors/cs0205.cs | |
parent | ba4798337d499504ebd3558b6fa315101e438b62 (diff) |
Add more
svn path=/trunk/mcs/; revision=8717
Diffstat (limited to 'mcs/errors/cs0205.cs')
-rw-r--r-- | mcs/errors/cs0205.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/errors/cs0205.cs b/mcs/errors/cs0205.cs new file mode 100644 index 00000000000..52c18960321 --- /dev/null +++ b/mcs/errors/cs0205.cs @@ -0,0 +1,22 @@ +// cs0205: can not call abstract base method +// +using System; + +public abstract class A +{ + public abstract void Foobar (); +} + +public class B: A +{ + public override void Foobar () + { + base.Foobar (); + } + + static void Main () + { + B b = new B (); + b.Foobar (); + } +} |