[release/8.0-rc1] Add missing type forwards (#90673)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 16 Aug 2023 19:42:28 +0000 (21:42 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 19:42:28 +0000 (21:42 +0200)
commit7cc25f5d8df703d9ba4c0083de0bd43cf0f059f9
treeef32ab4d38281408323351887aa10c91994cf767
parentdbb6f4569a2a1056d010f11fc38512476ebf6033
[release/8.0-rc1] Add missing type forwards (#90673)

* Add missing type forwards

Fixes https://github.com/dotnet/runtime/issues/90578

IDispatchImplAttribute, IDispatchImplType and SetWin32ContextInIDispatchAttribute were removed with https://github.com/dotnet/runtime/commit/9f1dd1aa499a882453b34d4e8810626423fbfed8 and https://github.com/dotnet/runtime/commit/26a91ad6ac02393c6c7463500c030ec07803c5e6

Those dropped types weren't flagged because APICompat only validates reference assemblies. We have three implementation only shim assemblies: mscorlib, System and System.Data. I verified that no other type forwards were lost between .NET 7 and .NET 8.

* Update mscorlib.cs

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
src/libraries/shims/mscorlib/src/mscorlib.cs