Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Sep 11, 2017
1 parent 68a8ca4 commit 3dcf70a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Ninject/Infrastructure/ReferenceEqualWeakReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Ninject.Infrastructure
/// </summary>
public class ReferenceEqualWeakReference : WeakReference
{
private readonly int cashedHashCode;
private readonly int cachedHashCode;

/// <summary>
/// Initializes a new instance of the <see cref="ReferenceEqualWeakReference"/> class.
Expand All @@ -41,7 +41,7 @@ public class ReferenceEqualWeakReference : WeakReference
public ReferenceEqualWeakReference(object target)
: base(target)
{
this.cashedHashCode = RuntimeHelpers.GetHashCode(target);
this.cachedHashCode = RuntimeHelpers.GetHashCode(target);
}

/// <summary>
Expand All @@ -52,7 +52,7 @@ public ReferenceEqualWeakReference(object target)
public ReferenceEqualWeakReference(object target, bool trackResurrection)
: base(target, trackResurrection)
{
this.cashedHashCode = RuntimeHelpers.GetHashCode(target);
this.cachedHashCode = RuntimeHelpers.GetHashCode(target);
}

/// <summary>
Expand Down Expand Up @@ -86,7 +86,7 @@ public override bool Equals(object obj)
/// </returns>
public override int GetHashCode()
{
return this.cashedHashCode;
return this.cachedHashCode;
}
}
}

0 comments on commit 3dcf70a

Please sign in to comment.