I'm a little surprised that everyone jumps immediately to harassment. If you express disinterest directly and it persists, then that's harassment. If they take the hint and drop it, it's just somebody trying to do what people do.
I do agree with everyone that you should not feel pressured to just let unwanted advances continue to protect your career. That is nonsense.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm a little surprised that everyone jumps immediately to harassment. If you express disinterest directly and it persists, then that's harassment. If they take the hint and drop it, it's just somebody trying to do what people do.
I do agree with everyone that you should not feel pressured to just let unwanted advances continue to protect your career. That is nonsense.