Weirdness: 'SetInt' is not a member of 'PlayerPrefs'

I have this code:

function OnApplicationQuit(){

	PlayerPrefs.SetInt("Player Score", 10);
}

and the editor tells me: ‘SetInt’ is not a member of ‘PlayerPrefs’.

I used to use this method before… am I missing something???

Hmmm… I tried the exact same code on another project and worked perfectly fine… any ideas!!!

Nvm… I was using PlayerPrefs.js as it’s filename… d’oh!