It would depend on the situation.
If we were amidst a crowd and you said that loudly I would be upset and angered that you "outed" me.
If it were off to the side and said quietly I would most likely accept it as a wonderful compliment and continue the conversation.
Context and circumstance would be very important.