File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 3737namespace MySql . Data . MySqlClient
3838{
3939 /// <include file='docs/MySqlDataReader.xml' path='docs/ClassSummary/*'/>
40- public sealed partial class MySqlDataReader : IDisposable
40+ public sealed partial class MySqlDataReader : DbDataReader
4141 {
4242 // The DataReader should always be open when returned to the user.
4343 private bool isOpen = true ;
@@ -1035,14 +1035,10 @@ private void Throw(Exception ex)
10351035 throw ex ;
10361036 }
10371037
1038- public new void Dispose ( )
1038+ protected override void Dispose ( bool disposing )
10391039 {
1040- Dispose ( true ) ;
1041- GC . SuppressFinalize ( this ) ;
1042- }
1040+ base . Dispose ( disposing ) ;
10431041
1044- internal new void Dispose ( bool disposing )
1045- {
10461042 if ( disposing )
10471043 {
10481044 Close ( ) ;
You can’t perform that action at this time.
0 commit comments