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