This ignore is pointless. `#if` cannot be used to ignore a test. Tests are collected from whatever version of `Mono.Linker.Tests.Cases` is handy. It could be a net7 build. It could be net471.
namespace Mono.Linker.Tests.Cases.Extensibility
{
// Repro for https://github.com/dotnet/linker/issues/2267.
-#if !NETCOREAPP
- [IgnoreTestCase ("Specific to the illink build")]
-#endif
[SetupCompileBefore ("ResolveTypesSubStep.dll", new[] { "Dependencies/ResolveTypesSubStep.cs" }, new[] { "illink.dll", "Mono.Cecil.dll", "netstandard.dll" })]
[SetupLinkerArgument ("--custom-step", "+OutputStep:ResolveTypesSubStep,ResolveTypesSubStep.dll")]
[SetupLinkerAction ("copy", "test")]