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

Add extension method to create Diagnostic #126

Merged

Conversation

MattKotsenas
Copy link
Collaborator

Borrowing a technique from the roslyn-analyzers repo. Creating a set of extension methods to create a Diagnostic given a SyntaxNode or a Location. Simplifies reading the code slightly.

@MattKotsenas MattKotsenas requested a review from rjmurillo June 25, 2024 20:12
@rjmurillo rjmurillo added analyzers Change that impacts an analyzer behavior releasable labels Jun 25, 2024
@rjmurillo rjmurillo merged commit 9b41015 into rjmurillo:main Jun 25, 2024
5 checks passed
@rjmurillo rjmurillo modified the milestones: vNext, 0.2.0 Jun 25, 2024
@MattKotsenas MattKotsenas deleted the refactor/diagnostic-create-extension branch June 28, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzers Change that impacts an analyzer behavior releasable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants