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

Handle unsupported diagnostics reported by analyzers #1286

Merged
merged 2 commits into from
Mar 17, 2015

Commits on Mar 17, 2015

  1. Fixes dotnet#252 : If an analyzer reports a diagnostic with an unsupp…

    …orted diagnostic ID, i.e. no descriptor returned by SupportedDiagnostics has that ID, then throw an ArgumentException in ReportDiagnostic method. This exception would be turned into an analyzer diagnostic by the driver and reported back to the analyzer host.
    
    Also fix a few tests that were reporting diagnostics with unsupported ID!
    mavasani committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    ec859c1 View commit details
    Browse the repository at this point in the history
  2. Merge to latest sources.

    mavasani committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    d5d0704 View commit details
    Browse the repository at this point in the history