4 instantiations of TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
1331if (_typeHandles.TryGetValue(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), out ITypeHandle? existing) && existing is not null) 1351_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch); 1359_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), potentialMatch); 1365_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch);
4 references to TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
35private readonly Dictionary<TypeKey, ITypeHandle> _typeHandles = new(); 90private readonly struct TypeKey : IEquatable<TypeKey> 106public bool Equals(TypeKey other) 118public override bool Equals(object? obj) => obj is TypeKey other && Equals(other);