diff --git a/src/coreclr/tools/ILVerify/Program.cs b/src/coreclr/tools/ILVerify/Program.cs index a0fdd9b8e3733a..823975637f30e7 100644 --- a/src/coreclr/tools/ILVerify/Program.cs +++ b/src/coreclr/tools/ILVerify/Program.cs @@ -18,7 +18,7 @@ namespace ILVerify { internal sealed class Program : IResolver { - private readonly Dictionary _resolverCache = new(); + private readonly Dictionary _resolverCache = new(StringComparer.OrdinalIgnoreCase); private readonly ILVerifyRootCommand _command; private readonly Dictionary _inputFilePaths; // map of simple name to file path private readonly Dictionary _referenceFilePaths; // map of simple name to file path