From 52888253adf1176c2e4c80a42b76d5bc93de8ed4 Mon Sep 17 00:00:00 2001 From: Mikhail Preyskurantov <5574159+mpreyskurantov@users.noreply.github.com> Date: Fri, 6 Sep 2024 18:42:53 +0300 Subject: [PATCH] fix guid comparison operations: add comment --- net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs b/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs index e65f56c5..9133853e 100644 --- a/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs +++ b/net/DevExtreme.AspNet.Data/FilterExpressionCompiler.cs @@ -175,6 +175,7 @@ bool HasEqualityOperator(Type type) { } bool HasComparisonOperator(Type type) { + // Starting with target net7 type.GetMethod("op_GreaterThan", ...) returns not null for Guid if(type == typeof(Guid)) return false;