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 Attribute snippet #6879

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

josebaliberal
Copy link
Contributor

@josebaliberal josebaliberal commented Feb 12, 2024

This PR aims to correct the attribute snippet. Currently the attribute type is defined with a syntax error on the second line like sealed class ${Class1}Attribute : System.Attribute
where 'Class1.cs' is the file name.
It also makes it so it changes the attribute prefix on the class definition and the ctor at the same time

@josebaliberal josebaliberal requested a review from a team as a code owner February 12, 2024 17:53
Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@dibarbet dibarbet merged commit 786530c into dotnet:main Feb 15, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants