Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an extensibility point in AnalyzerTest for sorting diagnostics. #1003

Merged
merged 2 commits into from
Aug 3, 2022

Commits on Aug 1, 2022

  1. Provide an extensibility point in AnalyzerTest for sorting diagnostics.

    The sort here is non-deterministic for any analyzers whose diagnostics can differ only on the message format and properties.
    
    Allow the sorting algorithm to be changed by the user to include either or both of these elements if they emit diagnostics that differ only on these values from a concurrent analyzer (the .NET Interop team owns an analyzer like this, which prompted this work). This will ensure that everyone can ensure that their diagnostic and code-fix tests (which rely on the ordering to determine the order for the iterative code-fix tests and the fix-all tests) are deterministic.
    jkoritzinsky committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    75116ab View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    a9e4964 View commit details
    Browse the repository at this point in the history