We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f7203 commit ba7648eCopy full SHA for ba7648e
Orm/Xtensive.Orm/Orm/Internals/CompiledQueryRunner.cs
@@ -200,7 +200,7 @@ private bool AllocateParameterAndReplacer()
200
return null;
201
});
202
203
- return !closureType.Name.Contains("<>c__DisplayClass") // 'DisplayClass' is generated class for captured objects
+ return !TypeHelper.IsClosure(closureType)
204
|| closureType.GetFields().All(FieldIsSimple);
205
}
206
0 commit comments