Certain fixtures are designed to be used with certain bulbs only.

In the ones I've seen, there are usually stickers inside the lamp that say "Warning, to avoid risk of fire, use only with Type "X" bulb at Y wattage."

Sometimes there are warnings on the package too.