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

Rule S4022: Enums storage should be Int32 #356

Closed
valhristov opened this issue May 23, 2017 · 0 comments
Closed

Rule S4022: Enums storage should be Int32 #356

valhristov opened this issue May 23, 2017 · 0 comments
Assignees
Milestone

Comments

@valhristov
Copy link
Contributor

RSPEC-4022

By default the storage type of an enum is Int32, in most cases it is not necessary to change this. In particular you will not achieve any performance gain by using a smaller data type (e.g. Byte) and may limit future uses.

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

3 participants