Quote from Barney in The Broken Code
Ted: Look, Barney, the truth is, it was weird at the carousel. On some level, it's probably been weird ever since we broke up. But you're my brother. I would never do anything to hurt you. Ever. I mean it. I swear. I'll even swear it on the Bro Code. Barney: The Bro Code's stupid. Ted: Huh! How dare you? I'd be honored. I can't promise that I'll ever get to a place where it won't be at least a little weird between me and Robin. But I don't want to lose you as a friend. Either of you. So I will do everything I can to move on and live with it. The question is, can you? [later:] Barney: I'm sorry, Ted. I just can't do this. I fold. What about the best man? Ted: I fold too.