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

Changed typehash computation to be less volatile #1614

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

acizmarik
Copy link
Member

Currently, when accessing typeof(..).FullName it can contain assembly versions in case generics are present. Using FastExpressionCompiler's ToCode(..) should improve the situation a bit as assembly versions no longer contribute when computing hash.

Currently, when accessing typeof(..).FullName it can contain assembly versions
in case where generics are present. Using FastExpressionCompiler's ToCode(..)
should improve the situation a bit as assembly versions no longer change hash.
@acizmarik acizmarik added this to the Version 4.2 milestone Mar 9, 2023
Copy link
Member

@exyi exyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@acizmarik acizmarik merged commit 1ec819d into main Mar 9, 2023
@acizmarik acizmarik deleted the fix/make-typehash-less-volatile branch March 9, 2023 16:12
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

Successfully merging this pull request may close these issues.

2 participants