c#: ignoring own obsolete warning in test case
fixed all SWIG compiler warnings