When switching it changes IS$WIN64 (you can actually see that if you look at the defined conditionals under Tools > Configure Workspace > Conditionals). It reparses the code to update codesense with the proper interpretations of:

Code:
#IFDEF IS$WIN64
Same thing happens when switching between windows and web projects.