fix C#-typemapping with SWIG >= 3.0.0
Merge pull request #2281 from besser82/fix_csharp_swig3

fix C#-typemapping with SWIG >= 3.0.0