diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-03-16 14:28:12 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-03-16 14:28:12 +0300 |
commit | 7fd909f52ffc595e7e65c1dd8f11e72f6a7ebdbb (patch) | |
tree | 0d74952ad0fa61ecc45c12f86e181f2243b859c6 /mcs/errors/cs0506.cs | |
parent | f48dd4e23caede3bc2711d3b4647426410b8ea1e (diff) |
svn:eol-style=native
Bit the bullet and set it on all files. It's too much of a pain
trying to avoid history changes on 20-or-so files each time I have to set
this property.
svn path=/trunk/mcs/; revision=41887
Diffstat (limited to 'mcs/errors/cs0506.cs')
-rw-r--r-- | mcs/errors/cs0506.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mcs/errors/cs0506.cs b/mcs/errors/cs0506.cs index 24260864656..8b934e9302a 100644 --- a/mcs/errors/cs0506.cs +++ b/mcs/errors/cs0506.cs @@ -1,11 +1,11 @@ -// cs0506.cs: 'DerivedClass.Show()' : cannot override inherited member 'BaseClass.Show()' because it is not marked "virtual", "abstract", or "override"
-// Line: 9
-
-class BaseClass {
- protected void Show () {}
-}
-
-class DerivedClass: BaseClass {
- protected override void Show () {}
-}
-
+// cs0506.cs: 'DerivedClass.Show()' : cannot override inherited member 'BaseClass.Show()' because it is not marked "virtual", "abstract", or "override" +// Line: 9 + +class BaseClass { + protected void Show () {} +} + +class DerivedClass: BaseClass { + protected override void Show () {} +} + |