dotnet / dotnet/runtime

`ilverify` doesn't respect `IgnoreAccessChecksTo`

Open
#130,959 2 comments 1 reaction 2 assignees Claimed by @JulieLeeMSFT View on GitHub
area-Tools-ILVerification
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

https://github.com/dotnet/runtime/blob/7f416ac6c742e34d2b11ebb6c09b9d2397717185/src/coreclr/tools/ILVerification/AccessVerificationHelpers.cs#L99-L124

`ilverify` currently only respects `InternalsVisibleToAttribute`, it should also handle and return true for `IgnoreAccessChecksTo`.

@jkotas could you get copilot on this if you have no objections?

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.