Removed all code analysis problems
NativeMethods