Ported 'PossibleMistakenCallToGetTypeIssue'.