Although I admit that I may be misinformed, I was once told by a NW Customer Service Manager that First Class upgrades on NW come out of the same invntory for both CO and NW flyers. She also said that codeshares shouldn't make a difference, once either carrier has the upgrade inventory available.
But again, I caution that everyone take this with a grain of salt.