Skip to content

Commit 90b3316

Browse files
Update src/NHibernate/Linq/Visitors/TransparentIdentifierRemovingExpressionVisitor.cs
Co-Authored-By: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
1 parent 8537c02 commit 90b3316

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NHibernate/Linq/Visitors/TransparentIdentifierRemovingExpressionVisitor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
namespace NHibernate.Linq.Visitors
2828
{
2929
// Copied from Relinq and added a fallback for comparing two member info by DeclaringType and Name
30+
// 6.0 TODO: drop if https://github.com/OData/WebApi/issues/2108 is fixed and add a possible breaking
31+
// change requiring to upgrade OData. (See https://github.com/nhibernate/nhibernate-core/pull/2322#discussion_r401215456 )
3032
/// <summary>
3133
/// Replaces expression patterns of the form <c>new T { x = 1, y = 2 }.x</c> (<see cref="MemberInitExpression"/>) or
3234
/// <c>new T ( x = 1, y = 2 ).x</c> (<see cref="NewExpression"/>) to <c>1</c> (or <c>2</c> if <c>y</c> is accessed instead of <c>x</c>).

0 commit comments

Comments
 (0)