diff options
Diffstat (limited to 'mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs')
-rw-r--r-- | mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs b/mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs index a8e8d2079bf..7bd921979f4 100644 --- a/mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs +++ b/mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs @@ -135,10 +135,9 @@ namespace System.Data.ProviderBase { throw new NotImplementedException (); } - protected override void Dispose (bool disposing) + public override void Dispose () { - if (disposing) - Close (); + Close (); } [MonoTODO] |