Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2004-06-11 13:09:50 +0400
committerPaolo Molaro <lupus@oddwiz.org>2004-06-11 13:09:50 +0400
commit1934e90228af0fd96e805375a60e0bc10969b695 (patch)
tree0a04dfaba05bada8fcf508bb83e23ece511bc5a3 /mcs/class/System/System.ComponentModel
parent993516622ed8b22f2228837118c6d0a4e9f2c1cb (diff)
Fri Jun 11 11:58:22 CEST 2004 Paolo Molaro <lupus@ximian.com>
* LocalizableAttribute.cs, DesignerSerializationVisibilityAttribute.cs, DesignOnlyAttribute.cs: fix targets for attributes. svn path=/trunk/mcs/; revision=29291
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
-rw-r--r--mcs/class/System/System.ComponentModel/ChangeLog6
-rwxr-xr-xmcs/class/System/System.ComponentModel/DesignOnlyAttribute.cs2
-rwxr-xr-xmcs/class/System/System.ComponentModel/DesignerSerializationVisibilityAttribute.cs2
-rwxr-xr-xmcs/class/System/System.ComponentModel/LocalizableAttribute.cs2
4 files changed, 9 insertions, 3 deletions
diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog
index 155415c045a..98f845f7132 100644
--- a/mcs/class/System/System.ComponentModel/ChangeLog
+++ b/mcs/class/System/System.ComponentModel/ChangeLog
@@ -1,3 +1,9 @@
+
+Fri Jun 11 11:58:22 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+ * LocalizableAttribute.cs, DesignerSerializationVisibilityAttribute.cs,
+ DesignOnlyAttribute.cs: fix targets for attributes.
+
2004-05-05 Lluis Sanchez Gual <lluis@ximian.com>
* BooleanConverter.cs: Improved ConverFrom method.
diff --git a/mcs/class/System/System.ComponentModel/DesignOnlyAttribute.cs b/mcs/class/System/System.ComponentModel/DesignOnlyAttribute.cs
index f84d03811c6..15013cdbad3 100755
--- a/mcs/class/System/System.ComponentModel/DesignOnlyAttribute.cs
+++ b/mcs/class/System/System.ComponentModel/DesignOnlyAttribute.cs
@@ -11,7 +11,7 @@
namespace System.ComponentModel {
- [AttributeUsage (AttributeTargets.Property)]
+ [AttributeUsage (AttributeTargets.All)]
public sealed class DesignOnlyAttribute : Attribute
{
diff --git a/mcs/class/System/System.ComponentModel/DesignerSerializationVisibilityAttribute.cs b/mcs/class/System/System.ComponentModel/DesignerSerializationVisibilityAttribute.cs
index 7feb0c046b4..68004a9be7d 100755
--- a/mcs/class/System/System.ComponentModel/DesignerSerializationVisibilityAttribute.cs
+++ b/mcs/class/System/System.ComponentModel/DesignerSerializationVisibilityAttribute.cs
@@ -12,7 +12,7 @@
namespace System.ComponentModel {
- [AttributeUsage (AttributeTargets.Property)]
+ [AttributeUsage (AttributeTargets.Method | AttributeTargets.Property)]
public sealed class DesignerSerializationVisibilityAttribute : Attribute
{
diff --git a/mcs/class/System/System.ComponentModel/LocalizableAttribute.cs b/mcs/class/System/System.ComponentModel/LocalizableAttribute.cs
index a3fc7b5defe..c3ca97077b8 100755
--- a/mcs/class/System/System.ComponentModel/LocalizableAttribute.cs
+++ b/mcs/class/System/System.ComponentModel/LocalizableAttribute.cs
@@ -14,7 +14,7 @@ using System;
namespace System.ComponentModel {
- [AttributeUsage (AttributeTargets.Property)]
+ [AttributeUsage (AttributeTargets.All)]
public sealed class LocalizableAttribute : Attribute
{