Darkwinged fungus gnat pupae are found in soil inside a thin cocoon.