Skip to content

Commit fe61ca6

Browse files
committed
Force ordinal comparison
1 parent e8583a6 commit fe61ca6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ScriptCollection.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ namespace RunScript;
88
[JsonConverter(typeof(ScriptCollectionConverter))]
99
public class ScriptCollection : KeyedCollection<string, ScriptMapping>
1010
{
11+
public ScriptCollection()
12+
: base(StringComparer.Ordinal)
13+
{
14+
}
15+
1116
protected override string GetKeyForItem(ScriptMapping item)
1217
{
1318
if (item is null) throw new ArgumentNullException(nameof(item));

0 commit comments

Comments
 (0)