The check is redundant there as conversion can never fail and just results in warnings from static code analyzers.