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

Fix diagnostic creation to ensure including the URI #91123

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Aug 25, 2023

The creation of LoggingUnsupportedLanguageVersion in logging source gen was missing the URI link. The fix is to use the Create helper method to ensure adding the URI to the diagnostics.

@ghost
Copy link

ghost commented Aug 25, 2023

Tagging subscribers to this area: @dotnet/area-extensions-logging
See info in area-owners.md if you want to be subscribed.

Issue Details

The creation of LoggingUnsupportedLanguageVersion in logging source gen was missing the URI link. The fix is to use the Create helper method to ensure adding the URI to the diagnostics.

Author: tarekgh
Assignees: -
Labels:

area-Extensions-Logging

Milestone: -

@tarekgh tarekgh added this to the 8.0.0 milestone Aug 25, 2023
@tarekgh tarekgh requested a review from ericstj August 25, 2023 17:55
@ericstj
Copy link
Member

ericstj commented Aug 25, 2023

This looks good, I just noticed one other instance of the same problem in d303781. @jkoritzinsky did you want to handle that separately, or would it make sense to add to this PR?

@tarekgh
Copy link
Member Author

tarekgh commented Aug 25, 2023

@jkoritzinsky @ericstj I added the fix of the interop one too.

@tarekgh tarekgh merged commit 12ddcec into dotnet:main Aug 25, 2023
113 of 115 checks passed
@tarekgh tarekgh deleted the FixDiagnosticCreationInLoggingSourceGen branch August 25, 2023 22:30
@tarekgh
Copy link
Member Author

tarekgh commented Aug 25, 2023

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/5981087443

@ghost ghost locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants