1 instantiation of FastResourceComparer
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\FastResourceComparer.cs (1)
16internal static readonly FastResourceComparer Default = new FastResourceComparer();
11 references to FastResourceComparer
System.Resources.Extensions (11)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (4)
54_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 73_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 181_preserializedData ??= new Dictionary<string, PrecannedResource>(FastResourceComparer.Default); 317nameHashes[curNameNumber] = FastResourceComparer.HashFunction(item.Key);
src\libraries\System.Private.CoreLib\src\System\Resources\FastResourceComparer.cs (1)
16internal static readonly FastResourceComparer Default = new FastResourceComparer();
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (5)
100_resCache = new Dictionary<string, ResourceLocator>(FastResourceComparer.Default); 132_resCache = new Dictionary<string, ResourceLocator>(FastResourceComparer.Default); 257int hash = FastResourceComparer.HashFunction(name); 357return FastResourceComparer.CompareOrdinal(bytes, byteLen, name) == 0; 371return FastResourceComparer.CompareOrdinal(bytes, byteLen / 2, name) == 0;
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
200_resCache = new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);