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

Remove redundant ExecutionContext private ctor parameter #45173

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

marek-safar
Copy link
Contributor

We could drop the field m_isDefault altogether but it's probably not worth it or is it?

@benaadams
Copy link
Member

We could drop the field m_isDefault altogether

Changes the IsDefault checks to a ReferenceEquals test against a statically initialized field which was problematic pre-tiering (as it inserted an initialization bump to the methods that checked); but I assume same issue for AoT?

@stephentoub stephentoub merged commit fa367a3 into dotnet:master Nov 25, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants