Skip to content

Commit

Permalink
Adhere to code style guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
hermestobias committed May 10, 2019
1 parent 886ffcf commit 2aa53df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Prism/Events/DelegateReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public bool TargetEquals(Delegate @delegate)
}
if (@delegate == null)
{
return !_method.IsStatic && !this._weakReference.IsAlive;
return !_method.IsStatic && !_weakReference.IsAlive;
}
return _weakReference.Target == @delegate.Target && Equals(this._method, @delegate.GetMethodInfo());
return _weakReference.Target == @delegate.Target && Equals(_method, @delegate.GetMethodInfo());
}

private Delegate TryGetDelegate()
Expand Down

0 comments on commit 2aa53df

Please sign in to comment.