2 instantiations of NameHashKey
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
67NameHashKey key = new NameHashKey(callingType, name); 162if (!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); 67NameHashKey key = new NameHashKey(callingType, name); 138private static void AddNamesOnType(NameHashKey key)