TryParseHexString calls ParseHexString and catches all exceptions and returns false if any exception is thrown by ParseHexString.
But that swallows exceptions unrelated to parsing like OutOfMemoryException.
It should only catch FormatExceptions.
Alternatively, ParseHexString and TryParseHexString could be reimplemented so that no exceptions are ever thrown in the TryParseHexString code path.