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 compilation constant FEATURE_THREAD_CURRENTCULTURE #1802

Conversation

blairconrad
Copy link
Member

Continues #1801 a bit, as suggested by @thomaslevesque in #1801 (comment)

#else
CultureInfo.CurrentCulture = this.originalCulture;
CultureInfo.CurrentUICulture = this.originalUiCulture;
#endif
Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason to keep Thread.CurrentThread.CurrentCulture instead of CultureInfo.CurrentCulture? Both work, but CultureInfo.CurrentCulture has always felt more natural to me.
Doesn't really matter though; if you prefer to keep it this way, I'll merge as is.

Copy link
Member Author

Choose a reason for hiding this comment

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

Swapped!

@blairconrad
Copy link
Member Author

blairconrad commented Nov 21, 2020 via email

@blairconrad blairconrad force-pushed the remove-feature-thread-currentculture branch from 36d2322 to b6a9313 Compare November 21, 2020 23:48
@blairconrad
Copy link
Member Author

Flipped. I just amended, rather than fixupping. That would've added confusion, I think.

@thomaslevesque thomaslevesque merged commit 81f303f into FakeItEasy:master Nov 21, 2020
@thomaslevesque
Copy link
Member

Thanks @blairconrad!

@blairconrad
Copy link
Member Author

Thank you. I like your version better too.

@blairconrad blairconrad added this to the vNext milestone Nov 21, 2020
@blairconrad
Copy link
Member Author

Thanks for

  1. suggesting
  2. improving my implementation
  3. merging,

@thomaslevesque!

@afakebot
Copy link

This change has been released as part of FakeItEasy 7.0.0-beta.1.

@blairconrad blairconrad deleted the remove-feature-thread-currentculture branch February 22, 2021 16:59
@blairconrad
Copy link
Member Author

This change has also been released as part of FakeItEasy 7.0.0.

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.

None yet

3 participants