During a recent chat session on debugging with Visual C#, the following questions and answers came up:
Q: Will generated classes from tools such as xsd.exe and wsdl.exe (and the equivalent in IDE) produce partial classes?
A: We are still identifying code gen areas where it makes sense to create partial classes. I'll pass your suggestion on.
Q: Wouldnt it make sense to always gen partial classes? I cant think of any reason why you would NOT want this.
A: Agreed. Unfortunately, although the compiler supports partial classes, the work in the IDE and debugger to support them is still ongoing. For instance, how do we present partial class source files in Solution Explorer? Into which partial class source file do we insert genned code? ETc, etc. (BTW, this is not to say we don't have answers, but like most things, the answers have to be refined.)
I'll add a big +1 to the request for partial class support in the .NET codegen tools. I'd love to be able to add some smarts to web service proxy classes without having to worry about refresh wipe-outs.