Catalysis of the transfer of a methyl group from a donor to a nucleoside residue in an snRNA molecule.