Commit e5ce272
committed
Fix the "Turkish İ" problem
The following tests fail on a platform having Turkish specific
settings:
* SA1300UnitTests.TestLowerCaseInterfaceMembersAsync
* SA1312UnitTests.TestRenameConflictsWithKeywordAsync
* SA1313UnitTests.TestRenameConflictsWithKeywordAsync
That's bacause upper(i) gives "İ" and lower(I) gives "ı" in Turkish.
(More info: https://haacked.com/archive/2012/07/05/turkish-i-problem-and-why-you-should-care.aspx/)
This fix adds UseCulture attribute to those problematic classes.1 parent 663b52a commit e5ce272
3 files changed
Lines changed: 6 additions & 0 deletions
File tree
- StyleCop.Analyzers/StyleCop.Analyzers.Test/NamingRules
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments