2 instantiations of ConstrainedMethodUseKey
ILCompiler.Compiler (2)
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (1)
213
return _constrainedMethodUses.GetOrAdd(new
ConstrainedMethodUseKey
(constrainedMethod, constraintType, directCall));
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (1)
462
return _constrainedMethodUseSlots.GetOrAdd(new
ConstrainedMethodUseKey
(constrainedMethod, constraintType, directCall));
8 references to ConstrainedMethodUseKey
ILCompiler.Compiler (8)
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (6)
95
_constrainedMethodUses = new NodeCache<
ConstrainedMethodUseKey
, GenericLookupResult>(constrainedMethodUse =>
210
private NodeCache<
ConstrainedMethodUseKey
, GenericLookupResult> _constrainedMethodUses;
219
private struct ConstrainedMethodUseKey : IEquatable<
ConstrainedMethodUseKey
>
239
return (obj is
ConstrainedMethodUseKey
) && Equals((
ConstrainedMethodUseKey
)obj);
242
public bool Equals(
ConstrainedMethodUseKey
other)
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (2)
140
_constrainedMethodUseSlots = new NodeCache<
ConstrainedMethodUseKey
, NativeLayoutConstrainedMethodDictionarySlotNode>(constrainedMethodUse =>
459
private NodeCache<
ConstrainedMethodUseKey
, NativeLayoutConstrainedMethodDictionarySlotNode> _constrainedMethodUseSlots;