Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/ReferenceLineContext.cs
===================================================================
diff -u -rb79e419a1fcdf3d80760ea4bc35ac354525911d2 -rf03b38fb7ef00a60db346246b2fb738f960841c9
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/ReferenceLineContext.cs (.../ReferenceLineContext.cs) (revision b79e419a1fcdf3d80760ea4bc35ac354525911d2)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/ReferenceLineContext.cs (.../ReferenceLineContext.cs) (revision f03b38fb7ef00a60db346246b2fb738f960841c9)
@@ -29,7 +29,7 @@
///
/// Presentation object for instances.
///
- public class ReferenceLineContext : Observable, IEquatable
+ public class ReferenceLineContext : Observable
{
///
/// Initializes a new instance of the class.
@@ -63,16 +63,8 @@
#region Implementation: IEquatable
- public bool Equals(ReferenceLineContext other)
+ private bool Equals(ReferenceLineContext other)
{
- if (ReferenceEquals(null, other))
- {
- return false;
- }
- if (ReferenceEquals(this, other))
- {
- return true;
- }
return Parent.Equals(other.Parent);
}