Skip to content

Commit b1f4309

Browse files
committed
Add statement about how to sort
1 parent 6df11c1 commit b1f4309

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

rules/Proj0015.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ human readable. When ordering the references based on
1010
other criteria, consider grouping them in separate
1111
`<ItemGroup>`s.
1212

13+
The rule assumes data sorted based on the `@Include` attribute applying
14+
`StringComparison.OrdinalIgnoreCase`.
15+
1316
## Non-compliant
1417
``` xml
1518
<Project Sdk="Microsoft.NET.Sdk">

rules/Proj0016.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ human readable. When ordering the references based on
1010
other criteria, consider grouping them in separate
1111
`<ItemGroup>`s.
1212

13+
The rule assumes data sorted based on the `@Include` attribute applying
14+
`StringComparison.OrdinalIgnoreCase`.
15+
1316
## Non-compliant
1417
``` xml
1518
<Project Sdk="Microsoft.NET.Sdk">

rules/Proj0018.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ancestor: MSBuild
88
`<ItemGroup>`. When ordering the imports based on other criteria, consider
99
grouping them in separate `<ItemGroup>`s.
1010

11+
The rule assumes data sorted based on the `@Include` attribute applying
12+
`StringComparison.OrdinalIgnoreCase`.
13+
1114
## Non-compliant
1215
``` xml
1316
<Project Sdk="Microsoft.NET.Sdk">

rules/Proj0019.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ancestor: MSBuild
88
in order to make it more human readable. When ordering the references based on
99
other criteria, consider grouping them in separate `<ItemGroup>`s.
1010

11+
The rule assumes data sorted based on the `@Include` attribute applying
12+
`StringComparison.OrdinalIgnoreCase`.
13+
1114
## Non-compliant
1215
``` xml
1316
<Project Sdk="Microsoft.NET.Sdk">

rules/Proj2002.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ancestor: Rules
55

66
# Proj2002: Sort resource file values alphabetically
77
To improve readability, and reduce the number of merge conflicts, the `<data>`
8-
elements should be sorted based on the `@name` attribute.
8+
elements should be sorted. The rule assumes data sorted based on the `@name`
9+
attribute applying `StringComparison.OrdinalIgnoreCase`.
910

1011
## Non-compliant
1112
``` xml

0 commit comments

Comments
 (0)