Fix issue where a `ref` parameter would always be overwritten
Fix issue where a `ref` parameter would always be overwritten

mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp