dotnet / dotnet/dotnet-api-docs

Update documentation for Marshal.GetIUnknownForObject/GetObjectForIUnknown to reflect .NET 5 changes

Open
#3,985 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime.InteropServices Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

For .NET 5, `Marshal` APIs for converting between an `object` and `IUnknown` will be updated to use `ComWrappers` if an instance is registered globally. The documentation for these functions should be updated to reflect this behaviour for .NET 5.

Related runtime issue: dotnet/runtime#33329

Affected APIs:
- `Marshal.GetIUnknownForObject`
- `Marshal.GetObjectForIUnknown`
- `Marshal.GetUniqueObjectForIUnknown`

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.