Secondary electrons and back scattered electrons generated by irradiating
a wafer to be inspected such as a semiconductor wafer with a charged particle beam
are detected by a detector. A signal proportional to the number of detected electrons
is generated, and an inspection image is formed on the basis of the signal. On
the other hand, in consideration of a current value and irradiation energy of a
charged particle beam, an electric field on the surface of the inspection wafer,
emission efficiency of the secondary electrons and back scattered electrons, and
the like, an electric resistance and an electric capacity are determined so as
to coincide with those in the inspection image. In a state where a difference between
a resistance value in a normal portion and a resistance value in a defective portion
is sufficiently increased by using the charging generated by the irradiation of
electron beams, an inspection is conducted to thereby detect a defect.