Bugfix visitor

This commit is contained in:
Stephan
2018-11-14 10:52:24 +01:00
parent 7c6b92b539
commit 7a0040ce82

View File

@@ -440,6 +440,7 @@ namespace Umbraco.Core.Persistence.Querying
(
m.Object != null && // instance method
TypeHelper.IsTypeAssignableFrom<IEnumerable>(m.Object.Type) && // of an enumerable
m.Object.Type != typeof(string) && // but not for string
m.Arguments.Count == 1 && // with 1 arg
m.Arguments[0].NodeType == ExpressionType.MemberAccess // arg being a member access
);