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

Verify source generator diagnostics #8338

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented Feb 27, 2023

C# errors from the Razor source generator weren't verified in tests.

@jjonescz jjonescz marked this pull request as ready for review February 27, 2023 16:52
@jjonescz jjonescz requested a review from a team as a code owner February 27, 2023 16:52
@jjonescz jjonescz added the area-compiler Umbrella for all compiler issues label Feb 27, 2023
@sharwell
Copy link
Member

Before going too far down this path, is there a reason it doesn't use Microsoft.CodeAnalysis.Testing for this? The testing library ensures validation like this isn't accidentally omitted.

@jaredpar
Copy link
Member

For the same reasons we don't use it in Roslyn, it does not work with the constraints of our development environment.

@jjonescz jjonescz enabled auto-merge (squash) March 1, 2023 08:30
@jjonescz jjonescz merged commit 25f991c into dotnet:main Mar 1, 2023
@jjonescz jjonescz deleted the verify-SG-diagnostics branch March 1, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-compiler Umbrella for all compiler issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants