diff --git a/LibGit2Sharp/Remote.cs b/LibGit2Sharp/Remote.cs index 08347379f..b41fe0634 100644 --- a/LibGit2Sharp/Remote.cs +++ b/LibGit2Sharp/Remote.cs @@ -17,7 +17,6 @@ public class Remote : IBelongToARepository, IDisposable internal readonly Repository repository; private readonly RefSpecCollection refSpecs; - private string pushUrl; readonly RemoteHandle handle; @@ -172,38 +171,6 @@ public virtual bool AutomaticallyPruneOnFetch } } - /// - /// Determines whether the specified is equal to the current . - /// - /// The to compare with the current . - /// True if the specified is equal to the current ; otherwise, false. - public override bool Equals(object obj) - { - return Equals(obj as Remote); - } - - /// - /// Tests if two are equal. - /// - /// First to compare. - /// Second to compare. - /// True if the two objects are equal; false otherwise. - public static bool operator ==(Remote left, Remote right) - { - return Equals(left, right); - } - - /// - /// Tests if two are different. - /// - /// First to compare. - /// Second to compare. - /// True if the two objects are different; false otherwise. - public static bool operator !=(Remote left, Remote right) - { - return !Equals(left, right); - } - private string DebuggerDisplay { get