Repository: dotnet/efcore
File: src/EFCore/Query/Internal/NavigationExpandingExpressionVisitor.ExpressionVisitors.cs (C#)

Code before:
                    {
                        return ExpandNavigation(root, entityReference, navigation, convertedType is not null);
                    }

                    var skipNavigation = memberIdentity.MemberInfo is not null
                        ? entityType.FindSkipNavigation(memberIdentity.MemberInfo)
                        : memberIdentity.Name is not null
                            ? entityType.FindSkipNavigation(memberIdentity.Name)
                            : null;
                    if (skipNavigation is not null)
                    {
                        return ExpandSkipNavigation(root, entityReference, skipNavigation, convertedType is not null);
                    }

                    structuralType = entityType;
                    break;

                case ComplexTypeReference { ComplexType: var complexType }:
                    structuralType = complexType;
                    break;

                default:
                    return null;
            }

            // Attempt to bind complex and primitive collection properties; this are common to both entity and complex types
            var complexProperty = memberIdentity.MemberInfo != null
                ? structuralType.FindComplexProperty(memberIdentity.MemberInfo)
                : memberIdentity.Name is not null
                    ? structuralType.FindComplexProperty(memberIdentity.Name)
                    : null;
            if (complexProperty is not null)
            {
                return new ComplexPropertyReference(root, complexProperty, originalExpression);
            }

            var property = memberIdentity.MemberInfo != null
                ? structuralType.FindProperty(memberIdentity.MemberInfo)
                : memberIdentity.Name is not null
                    ? structuralType.FindProperty(memberIdentity.Name)
                    : null;
            if (property?.IsPrimitiveCollection == true)
            {
                return new PrimitiveCollectionReference(root, property);
            }

            return null;
        }

        protected Expression ExpandNavigation(
            Expression root,

Review comment (suggestion):
The comment contains a grammatical error. The word "this" should be "these" to correctly refer to "complex and primitive collection properties" (plural).
```suggestion
            // Attempt to bind complex and primitive collection properties; these are common to both entity and complex types
```

Code after:
                    {
                        return ExpandNavigation(root, entityReference, navigation, convertedType is not null);
                    }

                    var skipNavigation = memberIdentity.MemberInfo is not null
                        ? entityType.FindSkipNavigation(memberIdentity.MemberInfo)
                        : memberIdentity.Name is not null
                            ? entityType.FindSkipNavigation(memberIdentity.Name)
                            : null;
                    if (skipNavigation is not null)
                    {
                        return ExpandSkipNavigation(root, entityReference, skipNavigation, convertedType is not null);
                    }

                    structuralType = entityType;
                    break;

                case ComplexTypeReference { ComplexType: var complexType }:
                    structuralType = complexType;
                    break;

                default:
                    return null;
            }

            // Attempt to bind complex and primitive collection properties; these are common to both entity and complex types
            var complexProperty = memberIdentity.MemberInfo != null
                ? structuralType.FindComplexProperty(memberIdentity.MemberInfo)
                : memberIdentity.Name is not null
                    ? structuralType.FindComplexProperty(memberIdentity.Name)
                    : null;
            if (complexProperty is not null)
            {
                return new ComplexPropertyReference(root, complexProperty, originalExpression);
            }

            var property = memberIdentity.MemberInfo != null
                ? structuralType.FindProperty(memberIdentity.MemberInfo)
                : memberIdentity.Name is not null
                    ? structuralType.FindProperty(memberIdentity.Name)
                    : null;
            if (property?.IsPrimitiveCollection == true)
            {
                return new PrimitiveCollectionReference(root, property);
            }

            return null;
        }

        protected Expression ExpandNavigation(
            Expression root,