在不安全代码中,必须先将对象固定,然后非托管指针才可引用该对象。
In unsafe code, an object must be pinned before it can be referred to by an unmanaged pointer.
最初,该指针设置为指向托管堆的基址。
Initially, this pointer is set to the managed heap's base address.
代码的能力因在托管引用程序中构造指针的位置而不同。
The abilities of the code differ depending on the location of the instruction pointer in the managed application.
应用推荐