Windows 8.1 or Windows 10 (build 10130)
Microsoft Visual Studio Professional 2015 RC
Version 14.0.22823.1 D14REL
Attachments
2
Activity
Alexander Shakurin August 5, 2015 at 11:24 AM
Edited
I have similar issue but it's reproducible in both VS2015 and VS2013. Here is the sample code that fails: queryOver.Where(() => project.ProjectEnd <= projectEnd); where ProjectEnd is Nullable<DateTime> and projectEnd is not null.
For now I was able to find a workaround - using Restrictions: queryOver.Where(Restrictions.Le(Projections.Property(() => project.ProjectEnd), projectEnd));
Marc Gerritsen July 29, 2015 at 8:56 AM
I updated the pull request. I checked for the < character I think it is fixed now
Marc Gerritsen July 29, 2015 at 8:12 AM
Hmm. My fix breaks at another place. Does anyone know how to check if a property is compiler generated. I know that the name starts with the < character but don't like checking for this. Any ideas?