Skip to content

Commit 393b352

Browse files
committed
Releasing v5.5.7
- Minor speed optimizations
1 parent 2dcea05 commit 393b352

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>5.5.6</Version>
4+
<Version>5.5.7</Version>
55
<PackageReleaseNotes>This package is distributed as .NET Standard 1.0, .NET 4.0, 4.5, 4.7 package.</PackageReleaseNotes>
66
</PropertyGroup>
77

src/Container/PolicyList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public IBuilderPolicy Get(Type type, string name, Type policyInterface, out IPol
7777
{
7878
list = null;
7979

80-
if (_policies.TryGetValue(new PolicyKey(type, name, policyInterface), out var policy))
80+
if (0 < _policies.Count && _policies.TryGetValue(new PolicyKey(type, name, policyInterface), out var policy))
8181
{
8282
list = this;
8383
return policy;

0 commit comments

Comments
 (0)