The FxCop Globalization Rule, ‘Specify IFormat Provider’, does not catch Int32.TryParse violations for me. Is this a bug, or am I doing something wrong?
The FxCop Globalization Rule, ‘Specify IFormat Provider’, does not catch Int32.TryParse violations for me.
Share
Quite likely because Int32.TryParse without additional options will refuse to parse strings containing either grouping separators or decimal separators:
So Int32.TryParse is probably not regarded as culture sensitive by FxCop.