Kaynağa Gözat

* RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.

svn path=/trunk/mcs/; revision=75506
Gert Driesen 19 yıl önce
ebeveyn
işleme
4fb73375c7

+ 4 - 0
mcs/class/System/System.ComponentModel/ChangeLog

@@ -1,3 +1,7 @@
+2007-04-07  Gert Driesen  <[email protected]>
+
+	* RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.
+
 2007-03-05  Rolf Bjarne Kvinge  <[email protected]>
 
 	* MaskedTextProvider.cs: Make internal methods private.

+ 1 - 6
mcs/class/System/System.ComponentModel/RecommendedAsConfigurableAttribute.cs

@@ -36,7 +36,7 @@ namespace System.ComponentModel {
 
 	[AttributeUsage (AttributeTargets.Property)]
 #if NET_2_0
-	//[Obsolete ("Use SettingsBindableAttribute instead of RecommendedAsConfigurableAttribute")]
+	[Obsolete ("Use SettingsBindableAttribute instead of RecommendedAsConfigurableAttribute")]
 #endif
 	public class RecommendedAsConfigurableAttribute : Attribute {
 
@@ -48,7 +48,6 @@ namespace System.ComponentModel {
 		public static readonly RecommendedAsConfigurableAttribute No = new RecommendedAsConfigurableAttribute (false);
 		public static readonly RecommendedAsConfigurableAttribute Yes = new RecommendedAsConfigurableAttribute (true);
 
-
 		#endregion // Fields
 
 		#region Constructors
@@ -60,7 +59,6 @@ namespace System.ComponentModel {
 
 		#endregion // Constructors
 
-
 		#region Properties
 
 		public bool RecommendedAsConfigurable {
@@ -69,7 +67,6 @@ namespace System.ComponentModel {
 
 		#endregion // Properties
 
-
 		#region Methods
 
 		public override bool Equals (object obj)
@@ -79,7 +76,6 @@ namespace System.ComponentModel {
 			return ((RecommendedAsConfigurableAttribute) obj).RecommendedAsConfigurable == recommendedAsConfigurable;
 		}
 
-
 		public override int GetHashCode ()
 		{
 			return recommendedAsConfigurable.GetHashCode ();
@@ -93,4 +89,3 @@ namespace System.ComponentModel {
 		#endregion // Methods
 	}
 }
-