public bool Equals(SourceCodeMapping other) { return(other != null && ReferenceEquals(Mapping, other.Mapping) && ILRange.Equals(other.ILRange) && StartPosition.Equals(other.StartPosition) && EndPosition.Equals(other.EndPosition)); }
public override int GetHashCode() { return(Mapping.GetHashCode() ^ ILRange.GetHashCode() ^ StartPosition.GetHashCode() ^ EndPosition.GetHashCode()); }