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 GeneratedCodeAttribute #93

Closed
SteveDunn opened this issue Feb 27, 2022 · 0 comments · Fixed by #126
Closed

Add GeneratedCodeAttribute #93

SteveDunn opened this issue Feb 27, 2022 · 0 comments · Fixed by #126
Labels
enhancement New feature or request

Comments

@SteveDunn
Copy link
Owner

Describe the feature

e.g. from STJ

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.Json.SourceGeneration", "6.0.6.6406")]

and, optionally (not sure about nullable just yet:

// <auto-generated/>
#nullable enable

// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
@SteveDunn SteveDunn added the enhancement New feature or request label Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant