Skip to content

Commit 84817aa

Browse files
committed
QueryableExtensions: Change BuildFieldExpressionFromProperty to concrete return type.
Signed-off-by: Philip Conrad <philip@chariot-chaser.net>
1 parent 9fa6c03 commit 84817aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenPolicyAgent.Ucast.Linq/QueryableExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ private static Expression BuildFieldExpression<T>(UCASTNode node, ParameterExpre
107107
/// <param name="node">Current UCAST node in the conditions tree.</param>
108108
/// <param name="property">Derefered property lookup expression on the LINQ data source.</param>
109109
/// <param name="mapper">Dictionary mapping UCAST property names to lambdas that generate LINQ Expressions.</param>
110-
/// <returns>Result, a LINQ Expression (Usually a BinaryExpression).</returns>
110+
/// <returns>Result, a LINQ BinaryExpression.</returns>
111111
/// <exception cref="ArgumentException">Thrown when arguments are of incompatible types.</exception>
112-
private static Expression BuildFieldExpressionFromProperty<T>(UCASTNode node, Expression property, MappingConfiguration<T> mapper)
112+
private static BinaryExpression BuildFieldExpressionFromProperty<T>(UCASTNode node, Expression property, MappingConfiguration<T> mapper)
113113
{
114114
Expression value = Expression.Constant(node.Value);
115115

0 commit comments

Comments
 (0)