Fixed #4367 (false positive: Class '...' is unsafe, '...' can leak by wrong usage)