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/cs0561.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/cs0561.cs')
-rw-r--r-- | mcs/errors/cs0561.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/mcs/errors/cs0561.cs b/mcs/errors/cs0561.cs index 95adcda7e81..0193478d2ac 100644 --- a/mcs/errors/cs0561.cs +++ b/mcs/errors/cs0561.cs @@ -1,18 +1,18 @@ -// cs0561.cs: 'DerivedClass.get_Value()' : cannot override 'BaseClass.Value.get' because it is a special compiler-generated method
-// Line: 13
-
-class BaseClass {
- protected virtual int Value {
- get {
- return 0;
- }
- }
-}
-
-class DerivedClass: BaseClass {
- protected override int get_Value () {
- return 1;
- }
-
- static void Main () {}
-}
+// cs0561.cs: 'DerivedClass.get_Value()' : cannot override 'BaseClass.Value.get' because it is a special compiler-generated method +// Line: 13 + +class BaseClass { + protected virtual int Value { + get { + return 0; + } + } +} + +class DerivedClass: BaseClass { + protected override int get_Value () { + return 1; + } + + static void Main () {} +} |