Possible Duplicate:
Is the class NativeMethods handled specially in .NET?
I'm working on a C# project that pinvokes some unmanaged C++ code for some functionality. I found out about fxCop and it complained about the way I included the functions from the unmanaged library.
It suggest using one of the NativeMethods classes which are explained here:
http://msdn.microsoft.com/en-us/library/ms182161%28v=vs.80%29.aspx
I read it but I can't say I understood what it exactly does and what will be the benefit of using it. I'd be really happy if someone could explain me the meaning of "This class does not suppress stack walks for unmanaged code permission." and "This class suppresses stack walks for unmanaged code permission."
Edit: What I really wonder is how it affects my code. I've read what it says on MSDN, and obviously it's enough knowledge for some people but it's too high for me to understand. That's why I asked for some elaborations.