Skip to content

Commit cc188be

Browse files
committed
suppress Impl's use of clone: false
1 parent 91702ff commit cc188be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dapper/SqlMapper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public static void AddTypeHandlerImpl(Type type, ITypeHandler? handler, bool clo
362362
{
363363
// this method was accidentally made public; we'll mark it as illegal, but
364364
// preserve existing usage in compiled code; sorry about this!
365-
AddTypeHandlerCore(type, handler, clone);
365+
AddTypeHandlerCore(type, handler, true); // do not allow suppress clone
366366
}
367367

368368
private static void AddTypeHandlerCore(Type type, ITypeHandler? handler, bool clone)

0 commit comments

Comments
 (0)