diff options
author | Miguel de Icaza <miguel@gnome.org> | 2009-06-15 20:21:08 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2009-06-15 20:21:08 +0400 |
commit | 387c82113c9780c5629ac7f56c08923b29c4ba44 (patch) | |
tree | ba5a5d7caf4f50e55afe0bddb03719b4f2602e05 /mcs/build | |
parent | 9e79c42076095bc7049c49d10dfb07d0540db5ba (diff) |
2009-06-15 Miguel de Icaza <miguel@novell.com>
* MonoTODOAttribute.cs: Thin diet, no point in having virtual
methods and overrides that do the same thing.
svn path=/trunk/mcs/; revision=136139
Diffstat (limited to 'mcs/build')
-rw-r--r-- | mcs/build/common/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/build/common/MonoTODOAttribute.cs | 22 |
2 files changed, 6 insertions, 21 deletions
diff --git a/mcs/build/common/ChangeLog b/mcs/build/common/ChangeLog index 828824cba56..68fa7defd69 100644 --- a/mcs/build/common/ChangeLog +++ b/mcs/build/common/ChangeLog @@ -1,3 +1,8 @@ +2009-06-15 Miguel de Icaza <miguel@novell.com> + + * MonoTODOAttribute.cs: Thin diet, no point in having virtual + methods and overrides that do the same thing. + 2009-06-10 Marek Safar <marek.safar@gmail.com> * Consts.cs.in: Add AssemblySystemCore_3_5. diff --git a/mcs/build/common/MonoTODOAttribute.cs b/mcs/build/common/MonoTODOAttribute.cs index 018db982dd2..ca23aa7eef1 100644 --- a/mcs/build/common/MonoTODOAttribute.cs +++ b/mcs/build/common/MonoTODOAttribute.cs @@ -48,7 +48,7 @@ namespace System { this.comment = comment; } - public virtual string Comment { + public string Comment { get { return comment; } } } @@ -60,10 +60,6 @@ namespace System { : base (comment) { } - - public override string Comment { - get { return base.Comment; } - } } [AttributeUsage (AttributeTargets.All, AllowMultiple=true)] @@ -73,10 +69,6 @@ namespace System { : base (comment) { } - - public override string Comment { - get { return base.Comment; } - } } [AttributeUsage (AttributeTargets.All, AllowMultiple=true)] @@ -86,10 +78,6 @@ namespace System { : base (comment) { } - - public override string Comment { - get { return base.Comment; } - } } [AttributeUsage (AttributeTargets.All, AllowMultiple=true)] @@ -99,10 +87,6 @@ namespace System { : base (comment) { } - - public override string Comment { - get { return base.Comment; } - } } [AttributeUsage (AttributeTargets.All, AllowMultiple=true)] @@ -112,9 +96,5 @@ namespace System { : base (comment) { } - - public override string Comment { - get { return base.Comment; } - } } } |