Attempting to add OnContactEnter and/or OnContactExit events via UdonSharp will cause CS0246 if you add ContactEnterInfo/ContactExitInfo parameters even if VRC.SDK3.Dynamics.Contact.Components is in the script. Without those parameters OnContactEnter/OnContactExit works fine.
Tested on SDK 3.10.2 and 3.10.3-beta.1.