Why is the inter-airline arrangement called code sharing when the one thing that isn't shared is the flight code?

Answers on a postcard, or the back of a sealed down envelope, ...