Is it bad to use men's shaving cream on your lady parts?

I use men's shaving cream and it works like a dream but I'm just wondering if it ever causes yeast infections or anything bad?