dotnet / dotnet/runtime

System.Runtime.InteropServices docs for .NET 10.0 APIs

Open
#120,505 2 comments 0 reactions 0 assignees View on GitHub
area-Interop-coreclr documentation
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

# System.Runtime.InteropServices docs for .NET 10.0 APIs

## Description

This issue tracks the porting of documentation for 6 APIs in the `System.Runtime.InteropServices` namespace that were added in .NET 10.0.

## Instructions

Please follow the instructions in the main tracking issue (#120483) for documenting these APIs.

## Undocumented APIs

The following APIs need documentation:

### CollectionsMarshal

- [M:System.Runtime.InteropServices.CollectionsMarshal.AsBytes(System.Collections.BitArray)](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/CollectionsMarshal.xml)

### CreatedWrapperFlags

- [F:System.Runtime.InteropServices.CreatedWrapperFlags.None](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/CreatedWrapperFlags.xml)

### GCHandleExtensions

- [M:System.Runtime.InteropServices.GCHandleExtensions.GetAddressOfArrayData\`\`1(System.Runtime.InteropServices.PinnedGCHandle{\`\`0[]})](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/GCHandleExtensions.xml)

### Marshal

- [M:System.Runtime.InteropServices.Marshal.GetExceptionForHR(System.Int32,System.Guid@,System.IntPtr)](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/Marshal.xml)
- [M:System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(System.Int32,System.Guid@,System.IntPtr)](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/Marshal.xml)

### WeakGCHandle

- [M:System.Runtime.InteropServices.WeakGCHandle\`1.SetTarget(\`0)](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.InteropServices/WeakGCHandle\`1.xml)

Total APIs to document: 6

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.