-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Use CultureInfo.InvariantCulture when TryParsing minimal action parameters #33624
Use CultureInfo.InvariantCulture when TryParsing minimal action parameters #33624
Conversation
|
||
var tryParseParameters = method.GetParameters(); | ||
methodInfo = type.GetMethod("TryParse", BindingFlags.Public | BindingFlags.Static, new[] { typeof(string), typeof(IFormatProvider), type.MakeByRefType() }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test with a custom type that implements this signature and verify it actually gets called with CultureInfo.InvariantCulture
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure ! 🙂
This is looking really good! Can you undo the |
Hello @halter73! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Thanks @wcontayon! |
You're welcome @halter73 🙂 |
Hi @wcontayon. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
CultureInfo.InvariantCulture when TryParsing minimal action parameters
Addresses #32377