1 instantiation of Key
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\RoModule.Unifier.cs (1)
66
return _constructedGenericTypeDict.GetOrAdd(new RoConstructedGenericType.
Key
(genericTypeDefinition, genericTypeArguments), s_constructedGenericTypeFactory);
6 references to Key
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Modules\RoModule.Unifier.cs (3)
68
private static readonly Func<RoConstructedGenericType.
Key
, RoConstructedGenericType> s_constructedGenericTypeFactory =
70
private readonly ConcurrentDictionary<RoConstructedGenericType.
Key
, RoConstructedGenericType> _constructedGenericTypeDict = new ConcurrentDictionary<RoConstructedGenericType.
Key
, RoConstructedGenericType>();
System\Reflection\TypeLoading\Types\RoConstructedGenericType.Key.cs (3)
11
public readonly struct Key : IEquatable<
Key
>
25
public bool Equals(
Key
other)
49
public override bool Equals([NotNullWhen(true)] object? obj) => obj is
Key
other && Equals(other);