3 instantiations of TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (3)
Contracts\RuntimeTypeSystem_1.cs (3)
1030if (_typeHandles.TryGetValue(new TypeKey(typeHandle, corElementType, rank, typeArguments), out TypeHandle existing)) 1043_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch); 1049_ = _typeHandles.TryAdd(new TypeKey(typeHandle, corElementType, rank, typeArguments), potentialMatch);
4 references to TypeKey
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
30private readonly Dictionary<TypeKey, TypeHandle> _typeHandles = new(); 72private readonly struct TypeKey : IEquatable<TypeKey> 86public bool Equals(TypeKey other) 98public override bool Equals(object? obj) => obj is TypeKey other && Equals(other);