Resolve the context sensitive expression containers before resolving node

When trying to get type/symbol information of the location, make sure that its context sensitive expression containers are resolved in top down manner to avoid incorrectly making something any because of recursive recursion that can occur during resolution.

Fixes #1165