diff options
Diffstat (limited to 'mcs/class/System.Data/System.Data.Common/DbDataPermission.cs')
-rw-r--r-- | mcs/class/System.Data/System.Data.Common/DbDataPermission.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs b/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs index 963503068b0..f563f65b2a6 100644 --- a/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs +++ b/mcs/class/System.Data/System.Data.Common/DbDataPermission.cs @@ -42,14 +42,19 @@ namespace System.Data.Common { #endif protected DBDataPermission (PermissionState state) - : this (state, false) + : this (state, false, false) { } #if NET_1_2 [Obsolete ("use DBDataPermission (PermissionState.None)", true)] #endif - public DBDataPermission (PermissionState state, bool allowBlankPassword) + public DBDataPermission (PermissionState state, bool allowBlankPassword) + : this (state, allowBlankPassword, true) + { + } + + DBDataPermission (PermissionState state, bool allowBlankPassword, bool dummyArg) { this.state = state; this.allowBlankPassword = allowBlankPassword; |