public static bool CanCallMethodsDirectly(this PropertySymbol property)
        {
            if (property.MustCallMethodsDirectly)
            {
                return(true);
            }

            // Indexed property accessors can always be called directly, to support legacy code.
            return(property.IsIndexedProperty && (!property.IsIndexer || property.HasRefOrOutParameter()));
        }