getIsContextSensitiveAssignmentOrContextType
Test that `parentSymbol.valueDeclaration` exists. Fixes #38532