2 instantiations of NameHashKey
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
68NameHashKey key = new NameHashKey(callingType, name); 167if (!s_namesLoadedForEachType.Add(new NameHashKey(type, name)))
7 references to NameHashKey
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (7)
21private static readonly HashSet<NameHashKey> s_namesLoadedForEachType = new HashSet<NameHashKey>(); 23private readonly struct NameHashKey : IEquatable<NameHashKey> 34public bool Equals(NameHashKey other) => Type.Equals(other.Type) && Name.Equals(other.Name); 42return obj is NameHashKey key && Equals(key); 68NameHashKey key = new NameHashKey(callingType, name); 142private static void AddNamesOnType(NameHashKey key)