Skip to content

Commit

Permalink
Merge pull request #685 from hadashiA/ku/fix-ci2
Browse files Browse the repository at this point in the history
Fix compilation error for C# 7
  • Loading branch information
hadashiA authored Jun 21, 2024
2 parents 027e6ac + b2efde4 commit 29e65dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ internal void CollectFromParentScopes(
if (scope.TryGetRegistration(finderType, out var registration) &&
registration.Provider is CollectionInstanceProvider parentCollection)
{
mergedRegistrations ??= ListPool<Registration>.Get();
mergedRegistrations = mergedRegistrations ?? ListPool<Registration>.Get();
mergedRegistrations.AddRange(registrations);

if (localScopeOnly)
Expand Down

0 comments on commit 29e65dc

Please sign in to comment.