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 ee43157 commit 594d694Copy full SHA for 594d694
src/NHibernate/Async/Cache/StandardQueryCache.cs
@@ -11,6 +11,7 @@
11
using System;
12
using System.Collections;
13
using System.Collections.Generic;
14
+using System.Linq;
15
using NHibernate.Cfg;
16
using NHibernate.Engine;
17
using NHibernate.Persister.Collection;
@@ -387,7 +388,7 @@ private async Task<IList> PerformAssembleAsync(
387
388
cancellationToken.ThrowIfCancellationRequested();
389
try
390
{
- var result = new List<object>(cacheable.Count - 2);
391
+ var result = new List<object>(cacheable.Count - 1);
392
if (returnTypes.Length == 1)
393
394
var returnType = returnTypes[0];
0 commit comments