Browse Source

2003-07-30 Andreas Nahr <[email protected]>

	* PersistenceModeAttribute.cs: Fixed wrong AttributeUsage

svn path=/trunk/mcs/; revision=16905
Andreas N 22 years ago
parent
commit
0834cb59fb

+ 4 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -1,3 +1,7 @@
+2003-07-30  Andreas Nahr <[email protected]>
+
+	* PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
+
 2003-07-30  Andreas Nahr <[email protected]>
 
 	* UserControl.cs: Added attribute

+ 1 - 1
mcs/class/System.Web/System.Web.UI/PersistenceModeAttribute.cs

@@ -10,7 +10,7 @@ using System;
 
 namespace System.Web.UI {
 
-	[AttributeUsage (AttributeTargets.Class)]
+	[AttributeUsage (AttributeTargets.All)]
 	public sealed class PersistenceModeAttribute : Attribute
 	{
 		PersistenceMode mode;