5 instantiations of KeyPair
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (5)
65new KeyPair<TKey1, TKey2>(key1, key2); 85s_arrayTable.TryGetValue(new KeyPair<CType, int>(elementType, rankNum), out ArrayType result); 93s_arrayTable.Add(new KeyPair<CType, int>(elementType, rankNum), pArray); 99s_parameterModifierTable.TryGetValue(new KeyPair<CType, bool>(elementType, isOut), out ParameterModifierType result); 107s_parameterModifierTable.Add(new KeyPair<CType, bool>(elementType, isOut), parameterModifier);
13 references to KeyPair
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (13)
13private readonly struct KeyPair<TKey1, TKey2> : IEquatable<KeyPair<TKey1, TKey2>> 24public bool Equals(KeyPair<TKey1, TKey2> other) => 34if (!(obj is KeyPair<TKey1, TKey2>)) 39return Equals((KeyPair<TKey1, TKey2>)obj); 51private static readonly Dictionary<KeyPair<AggregateSymbol, KeyPair<AggregateType, TypeArray>>, AggregateType> s_aggregateTable = 52new Dictionary<KeyPair<AggregateSymbol, KeyPair<AggregateType, TypeArray>>, AggregateType>(); 54private static readonly Dictionary<KeyPair<CType, int>, ArrayType> s_arrayTable = 55new Dictionary<KeyPair<CType, int>, ArrayType>(); 57private static readonly Dictionary<KeyPair<CType, bool>, ParameterModifierType> s_parameterModifierTable = 58new Dictionary<KeyPair<CType, bool>, ParameterModifierType>(); 64private static KeyPair<TKey1, TKey2> MakeKey<TKey1, TKey2>(TKey1 key1, TKey2 key2) =>