Clang, and compile often on both OSX and Windows. I've found it a lot easier to develop on OSX (or Linux, if you must) and then correct errors in Visual Studio when they appear. Clang (the default C++ compiler used by xcode) is a lot more standards-compliant than Visual Studio. Install macOS High Sierra in VirtualBox on Windows 10: 5 Steps 1. Extract the Image File with Winrar or 7zip. Step 1: Go ahead and install WinRAR. (I have included the latest (March 2018) link for WinRAR for you). Step 2: Once you’ve done that then right click on macOS High Sierra 10.13 file that you had downloaded.
Short answer: Yes it can Long answer: As it's been noted in the comments above, you can only legally (wrt license) run a OSX VM on Apple hardware. IOW if you have a Mac Book Pro (or any Apple hardware) running Windows and a VM running OSX you're fine, both technically and license wise. OTOH you're not fine to use any other (non-Apple) computer brand running Windows and virtualize OSX. The setup itself will be identical, from Xamarin's tools perpectives (the above linked documents still applies). It will be two computers (one real, one virtual) communicating with each others thru the (virtual) network.