(visibility for member is checked anyway). It might be better to underline invisible qualifier in a chain (class or class object), not the last one (member) - for later improvement.
ExpressionTypingContext now has a scope for visibility checking, which isn't replaced on replaceScope()