Support optional chaining when property getter is invoked using message syntax

Description

+The following code:

properly converts the optional property chain to:

However, when using message syntax to invoke the property getter, i.e. either of the following:

the result includes an extraneous `?`:

See also OptionalUtility.CanBeUnwrapped(), and ShouldNotUnwrapNonOptionalPropertyInOptionalGetterChain() unit test

Environment

None

Assignee

Alex Petuschak

Reporter

Alex Petuschak

Labels

None

Git Branch Name

None

GitHub Issue

None

Components

Fix versions

Priority

Medium
Configure