The lithographic apparatus of claim 2, wherein the measurement apparatus comprises a detector constructed and arranged to detect contamination of the measurement surface, and the measurement surface being one of a plurality of layers provided on a substrate, the plurality of layers including at least two metal layers and being capable of supporting a waveguide mode.