Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Diagnostic logging fixes #238

Open
wants to merge 5 commits into
base: anfix
Choose a base branch
from

Conversation

danquirk
Copy link

SARIF logs were being incorrectly generated since each error class (syntactic/semantic/etc) was calling LogDiagnostics upon completion. Now all Diagnostics are aggregated together at the end of analysis and then logged, producing a proper JSON output.

I'd merged the 1.3 Roslyn upgrade branch (PR here #237) from my machine in here to make sure these changes still worked with the new SARIF format. I recommend just browsing the .cs changes or going commit by commit and just looking at the first 2 commits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants