When the type and property have the same name the parser takes the type instead of property.
Sample:
public class Test
{
public int Id { get; set; }
public string Value { get; set; }
}
public class Test2
{
public Test Test { get; set; }
}
.
.
.
IQueryable<Test2> queryable = ...;
var result = queryable.Where(parsingConfig, "Test.Id > 1"); // throw System.NullReferenceException
When the type and property have the same name the parser takes the type instead of property.
Sample: