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

Ability to bypass the check that all properties are immutable #21

Open
carldebilly opened this issue Feb 16, 2018 · 0 comments
Open

Ability to bypass the check that all properties are immutable #21

carldebilly opened this issue Feb 16, 2018 · 0 comments
Labels

Comments

@carldebilly
Copy link
Member

When we use 3rd party classes we will face issues referencing them. If we know they are immutable, we should have a way to tell the generator to consider them as immutables.

Proposed solution:

[assembly: KnownAsImmutable(typeof(ClassWeKnowToBeImmutable))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant