Dicots are by definition flowering plants that are not monocots. Gymnosperms are not flowering plants. It's true that many gymnosperms have two cotyledons. But that's the ancestral state in the seed plants.