Skip to content

Commit

Permalink
suppress Impl's use of clone: false
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Oct 31, 2024
1 parent 91702ff commit cc188be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dapper/SqlMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public static void AddTypeHandlerImpl(Type type, ITypeHandler? handler, bool clo
{
// this method was accidentally made public; we'll mark it as illegal, but
// preserve existing usage in compiled code; sorry about this!
AddTypeHandlerCore(type, handler, clone);
AddTypeHandlerCore(type, handler, true); // do not allow suppress clone
}

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

0 comments on commit cc188be

Please sign in to comment.