-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing properties on closure parameters or inline instantiated types fails #15855
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
While implementing this, please keep #14645 in mind and other related issues. |
Also condense the property access on constants. They are not in the scope of translation pipeline. |
This was referenced Jun 19, 2019
Query: NullReferenceException when using multiple navigation properties and comparing to null
#12062
Closed
Am going to give this a try |
roji
added a commit
that referenced
this issue
Jul 5, 2019
Entity equality introduces member access expressions on what may be a parameter or a constant. Identify these cases and transform them into a new parameter (for access of a parameter) or evaluate the constant. Fixes #15855
roji
added a commit
that referenced
this issue
Jul 9, 2019
Entity equality introduces member access expressions on what may be a parameter or a constant. Identify these cases and generate a new parameter (for access of a parameter) or evaluate the constant. Fixes #15855
roji
added a commit
to roji/efcore
that referenced
this issue
Jul 9, 2019
Entity equality introduces member access expressions on what may be a parameter or a constant. Identify these cases and generate a new parameter (for access of a parameter) or evaluate the constant. Fixes dotnet#15855 Fixes dotnet#14645 Fixes dotnet#14644
ajcvickers
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Jul 25, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
After enabling entity equality, property access on closure parameters or inline instantiated types fail with InvalidOperationException.
See test
Entity_equality_local
for the former,Where_query_composition_entity_equality_multiple_elements_FirstOrDefault
for the latter./cc @smitpatel
The text was updated successfully, but these errors were encountered: