The SmartType code completion analyzes the expected type of the whole expression and helps to find methods and variables that are applicable in the current context. It works after the return keyword, in an assignment, in an argument list of a method call, and other places. Simply press &shortcut:SmartTypeCompletion; to get the completion list filtered.