This patch adds the features "csappend" and "csprepend"
and the insert directive "csharp" to the csharp module.
csappend and csprepend only work with ctors and
functions, properties are not supported. They add code
to an existing ctor or function.
Diff for SWIG/Source/Modules/csharp.cxx
Logged In: YES
user_id=242951
The csconstruct typemap can now be used for modifying
constructors (added in SWIG-1.3.25).
@wsfulton I see you assigned this to yourself, but nearly 17 years ago now so I'm guessing it's no longer on your radar.
Is the patch here something that's desirable to add in your view?
If not, we should close this as "wontfix" rather than keeping it open indefinitely. If so, then the main problem seems to be it lacks a testcase to serve as a feature test.
The 'cscode' typemap and the 'pre' and 'post' typemap attributes should cover what this patch is trying to do.