I was investigating some framework code (the System.AppDomain.GetDynamicDir method) and this was all the assembler showed:
[MethodImpl(MethodImplOptions.InternalCall)]
private extern string GetDynamicDir();
What happens when this method is called? I don't mean this specific method, but methods with this attribute in general.