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

Static analyzer to restrict the kinds of types we'll allow #6

Open
mjsabby opened this issue Jul 5, 2019 · 0 comments
Open

Static analyzer to restrict the kinds of types we'll allow #6

mjsabby opened this issue Jul 5, 2019 · 0 comments

Comments

@mjsabby
Copy link
Contributor

mjsabby commented Jul 5, 2019

Banned types/things

  • IntPtr
  • Pointers
  • Types that override GetHashCode and then call string.GetHashCode (e.g. Dictionary<string, T>)
  • Types with finalizers
  • Types with non-readonly fields
  • Delegates
  • COM types
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