What if we add at the top of the file:

#if MONOMAC
using UITextAlignment = NSTextAlignment
#endif

That would remove a lot of these unnecessary ifdefs