Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mindbox.Data.Linq/Mindbox.Data.Linq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageVersion>10.8.1$(VersionTag)</PackageVersion>
<PackageVersion>10.8.2$(VersionTag)</PackageVersion>
<NoWarn>SYSLIB0003;SYSLIB0011</NoWarn>
</PropertyGroup>

Expand Down
5 changes: 3 additions & 2 deletions Mindbox.Data.Linq/SqlClient/Query/QueryConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1793,8 +1793,9 @@ private static object FindArrayInClosure(object target, Type arrayType, int dept
if (item?.GetType() == arrayType) {
return item;
}
if (item is Delegate nested && nested.Target != null) {
var found = FindArrayInClosure(nested.Target, arrayType, depth + 1);
var searchTarget = item is Delegate nested ? nested.Target : item;
if (searchTarget != null) {
var found = FindArrayInClosure(searchTarget, arrayType, depth + 1);
if (found != null) {
return found;
}
Expand Down
Loading