Skip to content

Commit d58e3ce

Browse files
authored
Seve allocation bty using EmptyTupleParameterBindings (#375)
1 parent 62a0bc7 commit d58e3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm/Orm/Linq/Translator.Expressions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ private Expression ConstructQueryable(MethodCallExpression mc)
13021302
var index = type.Indexes.PrimaryIndex;
13031303
var entityExpression = EntityExpression.Create(type, 0, false);
13041304
var itemProjector = new ItemProjectorExpression(entityExpression, index.GetQuery(), context);
1305-
return new ProjectionExpression(mc.Type, itemProjector, new Dictionary<Parameter<Tuple>, Tuple>());
1305+
return new ProjectionExpression(mc.Type, itemProjector, EmptyTupleParameterBindings);
13061306
}
13071307

13081308
private Expression ConstructQueryable(Type elementType)

0 commit comments

Comments
 (0)