Archived

This forum has been archived. Please start a new discussion on GitHub.

Feature Request: partial classes / structs in .net

It would be nice if the generated types under .net could be partial. This would not likely be portable, but it's somewhat of a standard for auto-generated code under .net and would be very useful (for example, I need it now to provide a conversion function).

Comments

  • The problem with doing is that it limits the generated code to C# 2.0. (As it stands, the generated code works regardless of the language version.)

    I can have a look at doing this at some point, but it's not likely to happen soon. If you have a commercial need for this features, please contact us at info@zeroc.com.

    Cheers,

    Michi.
  • It would be nice to have it as an option, so those using .net 2.0+ could take advantage. Just a single keyword, one might be tempted to think they could add it themselves (I'm not naming any names). However, things are rarely as simple as they seem. Think I'll just wait or do post-gen customization (which is a terrible method).