Skip to content

Commit 594d694

Browse files
Generate async files
1 parent ee43157 commit 594d694

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NHibernate/Async/Cache/StandardQueryCache.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
using System;
1212
using System.Collections;
1313
using System.Collections.Generic;
14+
using System.Linq;
1415
using NHibernate.Cfg;
1516
using NHibernate.Engine;
1617
using NHibernate.Persister.Collection;
@@ -387,7 +388,7 @@ private async Task<IList> PerformAssembleAsync(
387388
cancellationToken.ThrowIfCancellationRequested();
388389
try
389390
{
390-
var result = new List<object>(cacheable.Count - 2);
391+
var result = new List<object>(cacheable.Count - 1);
391392
if (returnTypes.Length == 1)
392393
{
393394
var returnType = returnTypes[0];

0 commit comments

Comments
 (0)