Add tests for RUC warnings on override methods (#86015)
authorVitek Karas <10670590+vitek-karas@users.noreply.github.com>
Fri, 12 May 2023 20:31:25 +0000 (13:31 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 20:31:25 +0000 (13:31 -0700)
commit5fabb48326c5f8ad1d4508264209e67123e997a8
tree86b281dad628138ad6df8826494d6eeef3ad2ff5
parente131899322693dff60b835a83bbf02f7916e3991
Add tests for RUC warnings on override methods (#86015)

These are tests for bug https://github.com/dotnet/runtime/issues/86008.

I also restructured the test file into nested classes some more as it's easier to navigate this way.

Also adds a test for https://github.com/dotnet/runtime/issues/86032.
src/tools/illink/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresAccessedThrough.cs
src/tools/illink/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresOnVirtualsAndInterfaces.cs