Add argument null check for ToHexString
to keep same behavior between different .net versions
#10642
This job succeeded
Loading