dotnet / dotnet/dotnet-api-docs
Update documentation for Marshal.GetIUnknownForObject/GetObjectForIUnknown to reflect .NET 5 changes
Open
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
Assessment
This issue has not been assessed yet.