4 instantiations of TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
1346if (_typeHandles.TryGetValue(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), out ITypeHandle? existing) && existing is not null) 1366_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch); 1374_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), potentialMatch); 1380_ = _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(); 95private readonly struct TypeKey : IEquatable<TypeKey> 111public bool Equals(TypeKey other) 123public override bool Equals(object? obj) => obj is TypeKey other && Equals(other);