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

Suggestion: defaults configuration #2

Open
AntonC9018 opened this issue Jun 23, 2023 · 0 comments
Open

Suggestion: defaults configuration #2

AntonC9018 opened this issue Jun 23, 2023 · 0 comments

Comments

@AntonC9018
Copy link

AntonC9018 commented Jun 23, 2023

E.g. being able to specify the default options for null checks could be useful. I want to get rid of the autogenerated null checks in the constructor by default. I can't do that by default, being forced to pass in NullChecks = NullChecks.Never manually on each invocation.

I suggest adding a Default option to the enum, which would mean that it draws the value based on the ambient configuration, which could be configured via an assembly level attribute or an MSBuild property.

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

No branches or pull requests

1 participant