diff --git a/SabreTools.Library/Items/Machine.cs b/SabreTools.Library/Items/Machine.cs index 979bd3bf..dad75d8e 100644 --- a/SabreTools.Library/Items/Machine.cs +++ b/SabreTools.Library/Items/Machine.cs @@ -10,12 +10,6 @@ namespace SabreTools.Library.Items /// public class Machine : ICloneable { - #region Protected instance variables - - private Guid _guid; - - #endregion - #region Publicly facing variables // Machine information @@ -57,7 +51,6 @@ namespace SabreTools.Library.Items RebuildTo = null; Devices = null; MachineType = MachineType.NULL; - _guid = new Guid(); } /// @@ -81,7 +74,6 @@ namespace SabreTools.Library.Items RebuildTo = null; Devices = null; MachineType = MachineType.NULL; - _guid = new Guid(); } #endregion @@ -114,45 +106,5 @@ namespace SabreTools.Library.Items } #endregion - - #region Equality comparerers - - /// - /// Override the Equals method - /// - public override bool Equals(object o) - { - if (this == null && o == null) - { - return true; - } - else if (this == null || o == null) - { - return false; - } - else if (o.GetType() != typeof(Machine)) - { - return false; - } - - Machine b = (Machine)o; - - return (this.Name == b.Name - && this.Comment == b.Comment - && this.Description == b.Description - && this.Year == b.Year - && this.Manufacturer == b.Manufacturer - && this.RomOf == b.RomOf - && this.CloneOf == b.CloneOf - && this.SampleOf == b.SampleOf - && this.SourceFile == b.SourceFile - && this.Runnable == b.Runnable - && this.Board == b.Board - && this.RebuildTo == b.RebuildTo - && this.Devices == b.Devices - && this.MachineType == b.MachineType); - } - - #endregion } }