Skip to content

Commit

Permalink
removed ReferenceEqualityComparer, using the one from Core instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kkozmic committed Mar 1, 2011
1 parent 263dfa4 commit 94dda6e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 60 deletions.
3 changes: 0 additions & 3 deletions src/Castle.Windsor/Castle.Windsor.csproj
Expand Up @@ -766,9 +766,6 @@
<Compile Include="MicroKernel\SubSystemConstants.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="MicroKernel\Util\ReferenceComparer.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="MicroKernel\Util\ReferenceExpressionUtil.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
Expand Up @@ -18,8 +18,8 @@ namespace Castle.MicroKernel.Releasers
using System.Collections.Generic;
using System.Linq;

using Castle.Core;
using Castle.Core.Internal;
using Castle.MicroKernel.Util;
using Castle.Windsor.Experimental.Diagnostics;

/// <summary>
Expand All @@ -31,7 +31,7 @@ public class LifecycledComponentsReleasePolicy : IReleasePolicy
private readonly IPerformanceCounter countOfTrackedInstances;

private readonly Dictionary<object, Burden> instance2Burden =
new Dictionary<object, Burden>(ReferenceEqualityComparer.Instance);
new Dictionary<object, Burden>(ReferenceEqualityComparer<object>.Instance);

private readonly Lock @lock = Lock.Create();
private readonly LifecycledComponentsReleasePolicy parent;
Expand Down
55 changes: 0 additions & 55 deletions src/Castle.Windsor/MicroKernel/Util/ReferenceComparer.cs

This file was deleted.

0 comments on commit 94dda6e

Please sign in to comment.