If I could give men in male-dominated spaces one piece of advice it would be "try and guess how often this woman gets asked out at this event". I've heard "five". For week conference I think I've heard "20". Brushing off one guy is fine, but four or five a day sounds tiring.
the other factor is the *specific* meme of "women don't want to consent" in the ratsphere which leads to the first polite indirect rejection being ignored. smiling and saying "no thanks" and going back to a professional conversation isn't so bad; having the guy continue to persist and escalate and say "haha you know you want me" is what is really a problem