dotnet / dotnet/dotnet-api-docs

Reflection.Opcodes doc 'cpblk' - mention that memory must be blittable (cannot contain GC handles)

Open
#1,843 0 comments 0 reactions 0 assignees View on GitHub
area-System.Reflection.Emit dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Update documentation for IL `cpblk` instruction to mention that memory must be blittable (cannot contain GC handles)

see: /dotnet/coreclr#20086

proposal: https://github.com/dotnet/coreclr/issues/20086#issuecomment-463028813

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 70e6d960-7df9-5fa1-afd1-083bb9d4ae58
* Version Independent ID: f4be848e-0d83-8735-f916-3f7438699021
* Content: [OpCodes.Cpblk Field (System.Reflection.Emit)](https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.cpblk?view=netframework-4.7.2)
* Content Source: [xml/System.Reflection.Emit/OpCodes.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Reflection.Emit/OpCodes.xml)
* Product: **dotnet-api**
* GitHub Login: @rpetrusha
* Microsoft Alias: **ronpet**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.