Type of Singularities and Residues