c# wp7: updated core file

user state fix and preprocessor directive for WP7