@@ -55,7 +55,7 @@ protected override void Dispose(bool disposing)
5555 }
5656 }
5757
58- internal class TestNoopDataReader : DbDataReader
58+ internal sealed class TestNoopDataReader : DbDataReader
5959 {
6060 public override object this [ int ordinal ] => throw new NotImplementedException ( ) ;
6161 public override object this [ string name ] => throw new NotImplementedException ( ) ;
@@ -92,7 +92,7 @@ internal class TestNoopDataReader : DbDataReader
9292 public override bool Read ( ) => throw new NotImplementedException ( ) ;
9393 }
9494
95- internal class TestNoopDbCommand : DbCommand
95+ internal sealed class TestNoopDbCommand : DbCommand
9696 {
9797 private readonly DbParameterCollection _parameters = new TestNoopDbParameterCollection ( ) ;
9898
@@ -141,7 +141,7 @@ protected override DbTransaction? DbTransaction
141141 protected override DbDataReader ExecuteDbDataReader ( CommandBehavior behavior ) => new TestNoopDbDataReader ( ) ;
142142 }
143143
144- internal class TestNoopDbParameter : DbParameter
144+ internal sealed class TestNoopDbParameter : DbParameter
145145 {
146146 public override DbType DbType { get ; set ; }
147147
@@ -190,7 +190,7 @@ public override DataRowVersion SourceVersion
190190 public override void ResetDbType ( ) => throw new NotImplementedException ( ) ;
191191 }
192192
193- internal class TestNoopDbDataReader : DbDataReader
193+ internal sealed class TestNoopDbDataReader : DbDataReader
194194 {
195195 public override int Depth => throw new NotImplementedException ( ) ;
196196 public override int FieldCount => throw new NotImplementedException ( ) ;
@@ -230,7 +230,7 @@ public override void Close() { }
230230 public override bool Read ( ) => false ;
231231 }
232232
233- internal class TestNoopDbParameterCollection : DbParameterCollection
233+ internal sealed class TestNoopDbParameterCollection : DbParameterCollection
234234 {
235235 private List < TestNoopDbParameter > _parameters = new ( ) ;
236236
@@ -302,7 +302,7 @@ public static void Init()
302302 public override TableOptions SupportedTableOptions => TableOptions . None ;
303303 }
304304
305- internal class TestNoopSqlBuilder : BasicSqlBuilder
305+ internal sealed class TestNoopSqlBuilder : BasicSqlBuilder
306306 {
307307 public TestNoopSqlBuilder ( IDataProvider provider , MappingSchema mappingSchema )
308308 : base ( provider , mappingSchema , TestNoopSqlOptimizer . Instance , new SqlProviderFlags ( ) )
@@ -317,7 +317,7 @@ protected override void BuildInsertOrUpdateQuery(SqlInsertOrUpdateStatement inse
317317 }
318318 }
319319
320- internal class TestNoopSqlOptimizer : BasicSqlOptimizer
320+ internal sealed class TestNoopSqlOptimizer : BasicSqlOptimizer
321321 {
322322 public static ISqlOptimizer Instance = new TestNoopSqlOptimizer ( ) ;
323323
0 commit comments