4 instantiations of TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
1074if (_typeHandles.TryGetValue(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), out TypeHandle existing)) 1092_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch); 1100_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), potentialMatch); 1106_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch);
4 references to TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
33private readonly Dictionary<TypeKey, TypeHandle> _typeHandles = new(); 73private readonly struct TypeKey : IEquatable<TypeKey> 89public bool Equals(TypeKey other) 101public override bool Equals(object? obj) => obj is TypeKey other && Equals(other);