I studied some framework code (the System.AppDomain.GetDynamicDir method), and this was shown by the whole assembler:
[MethodImpl(MethodImplOptions.InternalCall)] private extern string GetDynamicDir();
What happens when this method is called? I do not mean this particular method, but methods with this attribute as a whole.
Michiel van oosterhout
source share