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:
Diffstat (limited to 'mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs')
-rw-r--r--mcs/class/System.Data/System.Data.ProviderBase/DbDataReaderBase.cs5
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]