3 instantiations of Key
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (3)
23return s_dictionary.TryGetValue(new Key(name, parent), out Symbol sym) ? FindCorrectKind(sym, kindmask) : null; 46if (s_dictionary.TryGetValue(new Key(child.name, child.parent), out Symbol sym)) 59s_dictionary.Add(new Key(child.name, child.parent), child);
5 references to Key
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (5)
18private static readonly Dictionary<Key, Symbol> s_dictionary = new Dictionary<Key, Symbol>(); 78private readonly struct Key : IEquatable<Key> 89public bool Equals(Key other) => _name == other._name && _parent == other._parent; 97return obj is Key key && Equals(key);