CppInvoke -> NativeMethods to avoid warnings of code analysis