@@ -12,11 +12,8 @@ namespace LibGit2Sharp
1212 /// A remote repository whose branches are tracked.
1313 /// </summary>
1414 [ DebuggerDisplay ( "{DebuggerDisplay,nq}" ) ]
15- public class Remote : IEquatable < Remote > , IBelongToARepository , IDisposable
15+ public class Remote : IBelongToARepository , IDisposable
1616 {
17- private static readonly LambdaEqualityHelper < Remote > equalityHelper =
18- new LambdaEqualityHelper < Remote > ( x => x . Name , x => x . Url , x => x . PushUrl ) ;
19-
2017 internal readonly Repository repository ;
2118
2219 private readonly RefSpecCollection refSpecs ;
@@ -182,25 +179,6 @@ public override bool Equals(object obj)
182179 return Equals ( obj as Remote ) ;
183180 }
184181
185- /// <summary>
186- /// Determines whether the specified <see cref="Remote"/> is equal to the current <see cref="Remote"/>.
187- /// </summary>
188- /// <param name="other">The <see cref="Remote"/> to compare with the current <see cref="Remote"/>.</param>
189- /// <returns>True if the specified <see cref="Remote"/> is equal to the current <see cref="Remote"/>; otherwise, false.</returns>
190- public bool Equals ( Remote other )
191- {
192- return equalityHelper . Equals ( this , other ) ;
193- }
194-
195- /// <summary>
196- /// Returns the hash code for this instance.
197- /// </summary>
198- /// <returns>A 32-bit signed integer hash code.</returns>
199- public override int GetHashCode ( )
200- {
201- return equalityHelper . GetHashCode ( this ) ;
202- }
203-
204182 /// <summary>
205183 /// Tests if two <see cref="Remote"/> are equal.
206184 /// </summary>
0 commit comments