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:
authorMiguel de Icaza <miguel@gnome.org>2012-06-02 02:04:16 +0400
committerMiguel de Icaza <miguel@gnome.org>2012-06-02 02:04:24 +0400
commitae0feab435b09517ef942c55ff660fa22406b57b (patch)
tree24c6c7cbe940eb93e59a104cdc3d83f6a1542009 /mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs
parent00620f0ef0dfc5886381dc8c0f83368ac9dcdbe9 (diff)
Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported
Diffstat (limited to 'mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs')
-rw-r--r--mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs
index bfb97364f16..ccc45404d64 100644
--- a/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs
+++ b/mcs/class/System.Data/System.Data.Common/DbDataPermissionAttribute.cs
@@ -45,10 +45,8 @@ namespace System.Data.Common {
bool allowBlankPassword;
string keyRestrictions;
-#if NET_1_1
KeyRestrictionBehavior keyRestrictionBehavior;
string connectionString;
-#endif
#endregion // Fields
@@ -77,7 +75,6 @@ namespace System.Data.Common {
set { keyRestrictions = value; }
}
-#if NET_1_1
public string ConnectionString {
get {
if (connectionString == null)
@@ -94,12 +91,10 @@ namespace System.Data.Common {
keyRestrictionBehavior = value;
}
}
-#endif
#endregion // Properties
#region // Methods
-#if NET_2_0
[EditorBrowsableAttribute (EditorBrowsableState.Never)]
public bool ShouldSerializeConnectionString ()
{
@@ -113,7 +108,6 @@ namespace System.Data.Common {
// FIXME: configurable ? why is this in the attribute class ?
return false;
}
-#endif
#endregion // Methods
}
}