[Monodevelop-patches-list] r2261 - in trunk/MonoDevelop/Core/src/MonoDevelop.Core: . AddIns AddIns/Codons AddIns/Conditions
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sun Feb 20 14:13:09 EST 2005
Author: jluke
Date: 2005-02-20 14:13:09 -0500 (Sun, 20 Feb 2005)
New Revision: 2261
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Codons/CodonNameAttribute.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Conditions/ConditionAttribute.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/PathAttribute.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberArraryAttribute.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberAttributeAttribute.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Core/ChangeLog
Log:
mark some attributes as sealed
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Codons/CodonNameAttribute.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Codons/CodonNameAttribute.cs 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Codons/CodonNameAttribute.cs 2005-02-20 19:13:09 UTC (rev 2261)
@@ -14,7 +14,7 @@
/// Indicates that class represents a codon.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
- public class CodonNameAttribute : Attribute
+ public sealed class CodonNameAttribute : Attribute
{
string name;
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Conditions/ConditionAttribute.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Conditions/ConditionAttribute.cs 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/Conditions/ConditionAttribute.cs 2005-02-20 19:13:09 UTC (rev 2261)
@@ -14,7 +14,7 @@
/// Indicates that class represents a condition.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited=false, AllowMultiple=false)]
- public class ConditionAttribute : Attribute
+ public sealed class ConditionAttribute : Attribute
{
/// <summary>
/// Creates a new instance.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/PathAttribute.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/PathAttribute.cs 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/PathAttribute.cs 2005-02-20 19:13:09 UTC (rev 2261)
@@ -11,7 +11,7 @@
namespace MonoDevelop.Core.AddIns
{
[AttributeUsage(AttributeTargets.Field, Inherited=true)]
- public class PathAttribute : Attribute
+ public sealed class PathAttribute : Attribute
{
/// <summary>
/// Constructs a new instance.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberArraryAttribute.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberArraryAttribute.cs 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberArraryAttribute.cs 2005-02-20 19:13:09 UTC (rev 2261)
@@ -16,7 +16,7 @@
/// fileextensions = ".cpp,.cc,.C"
/// </summary>
[AttributeUsage(AttributeTargets.Field, Inherited=true)]
- public class XmlMemberArrayAttribute : Attribute
+ public sealed class XmlMemberArrayAttribute : Attribute
{
char[] separator = new char[] { ',' };
string name;
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberAttributeAttribute.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberAttributeAttribute.cs 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/AddIns/XmlMemberAttributeAttribute.cs 2005-02-20 19:13:09 UTC (rev 2261)
@@ -14,7 +14,7 @@
/// Indicates that field should be treated as a xml attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Field, Inherited=true)]
- public class XmlMemberAttributeAttribute : Attribute
+ public sealed class XmlMemberAttributeAttribute : Attribute
{
string name;
bool isRequired;
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Core/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Core/ChangeLog 2005-02-20 18:59:35 UTC (rev 2260)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Core/ChangeLog 2005-02-20 19:13:09 UTC (rev 2261)
@@ -10,6 +10,12 @@
* Services/SaveErrorChooseDialog.cs:
* Services/SaveErrorInformDialog.cs: remove SWF cruft
+ * ./AddIns/Codons/CodonNameAttribute.cs
+ * ./AddIns/PathAttribute.cs
+ * ./AddIns/XmlMemberAttributeAttribute.cs
+ * ./AddIns/Conditions/ConditionAttribute.cs
+ * ./AddIns/XmlMemberArraryAttribute.cs: mark attributes sealed
+
2005-01-31 Todd Berman <tberman at off.net>
* AddIns/AddIn.cs: Remove usage of AddIn.xsd, it is a bad solution.
More information about the Monodevelop-patches-list
mailing list