After registering on an irish website, the following message showed up below the login form:
By pressing login I agree to sharing my personal details and contact information with this government body.
Although I'm not a native english speaker, I admit that the above expression bothered me.
Doesn't someone agree to do something? Therefore, agree to share his/her information? Why is the -ing form being used?
Best Answer
Here “to” is not the infinitive marker, but a preposition. Prepositions are always followed by a noun or noun phrase. You can tell “to” is the infinitive marker if the subject preceding it (you) performs the action after it (share).