Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Run trimmer tests in ILLink.RoslynAnalyzer.Tests with all analyzers #2315

Closed

Description

@mateoatr

The ILLink.RoslynAnalyzer.Tests infra only supports running trimmer tests with a single analyzer at a time. This forces us to hand-pick which are the expected warnings so that we skip a warning A whenever an analyzer B which does not produce A is running. We could have a more general approach and avoid over-specifying values in the ProducedBy property of the ExpectedWarningAttribute put on tests if the analyzers tests infra had support for running a single trimmer test with all analyzers at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions