2 instantiations of TypeKeyByName
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\RuntimeTypeSystem_1.cs (2)
1102if (_typeHandlesByName.TryGetValue(new TypeKeyByName(name, nameSpace, modulePtr), out TypeHandle existing)) 1175_ = _typeHandlesByName.TryAdd(new TypeKeyByName(name, nameSpace, modulePtr), foundTypeHandle);
4 references to TypeKeyByName
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (4)
31private readonly Dictionary<TypeKeyByName, TypeHandle> _typeHandlesByName = new(); 111private readonly struct TypeKeyByName : IEquatable<TypeKeyByName> 122public bool Equals(TypeKeyByName other) => Name == other.Name && Namespace == other.Namespace && Module == other.Module; 123public override bool Equals(object? obj) => obj is TypeKeyByName other && Equals(other);