OP, my experiences were similar. I have been with my partner for 3 years and, so far, only one of his friends has tried it on with me. My partner knows. But I tend to keep my male friendships to an absolute minimum nowadays because of this.
My previous boyfriend, when I split up with him, one of his friends started with the 2am 'friendly' messaging and another told me he was in love with me. I was 46 t the time.
I separated from my husband when I was 37 amdna significant number of male friends, colleagues, dads of my children's friends, men I knew through hobbies, all married, made inappropriate advances. It wasn't all or even the majority but a significant enough minority to male me very wary.
Some of the married men who've approached me over the past 12 years have been outwardly decent family men and loyal husbands.
I don't seek male validation, flirt and I know I was trusted by their wives because I didn't give off any manhunting vibes! I was happily single for a good amount of time and valued my friendships with their wives.
Still didn't stop them.
I always read on here with amusement when women say they have a good male friend who has never tried it on with them and has never even considered them in a sexual way. Because they all have. They've all noticed when the woman looks 'hot' or when she moves in a way he finds attractive etc. They've all considered their female friends in a sexual way, even if only fleetingly, and immediately rejected them sexually mentally.
in my experience men - married or single - largely only pursue friendships with women with whom, under the “right circumstances”, they’d be keen to get a leg over
I don't necessarily agree with this but they will definitely all have considered it!