通常不能移动固定对象,因为它们是从堆外部被引用的。
Pinned objects usually cannot be moved because they are referenced from outside the heap.
如果想知道固定对象到底为何物以及注意它的原因所在,这些指南是很好的入门材料。
If you're wondering what a pinned object really is and why you might care, these guides are an excellent starting point.
同样,也可使其他对象使用一组固定的只读内部状态。
The same can be done with other objects with fixed sets of read-only internal state.
应用推荐