4 instantiations of TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
1307if (_typeHandles.TryGetValue(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), out TypeHandle existing)) 1327_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch); 1335_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments, callConv), potentialMatch); 1341_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch);
4 references to TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
34private readonly Dictionary<TypeKey, TypeHandle> _typeHandles = new(); 74private readonly struct TypeKey : IEquatable<TypeKey> 90public bool Equals(TypeKey other) 102public override bool Equals(object? obj) => obj is TypeKey other && Equals(other);