2 instantiations of ModuleAndIntValueKey
ILCompiler.ReadyToRun (2)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (2)
1228
return _debugDirectoryEntries.GetOrAdd(new
ModuleAndIntValueKey
(debugDirEntryIndex, module));
1258
return _copiedFieldRvas.GetOrAdd(new
ModuleAndIntValueKey
(ecmaField.GetFieldRvaValue(), ecmaField.Module));
8 references to ModuleAndIntValueKey
ILCompiler.ReadyToRun (8)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (8)
200
private struct ModuleAndIntValueKey : IEquatable<
ModuleAndIntValueKey
>
211
public bool Equals(
ModuleAndIntValueKey
other) => IntValue == other.IntValue && ((Module == null && other.Module == null) || Module.Equals(other.Module));
212
public override bool Equals(object obj) => obj is
ModuleAndIntValueKey
&& Equals((
ModuleAndIntValueKey
)obj);
391
_debugDirectoryEntries = new NodeCache<
ModuleAndIntValueKey
, DebugDirectoryEntryNode>(key =>
406
_copiedFieldRvas = new NodeCache<
ModuleAndIntValueKey
, CopiedFieldRvaNode>(key =>
1224
private NodeCache<
ModuleAndIntValueKey
, DebugDirectoryEntryNode> _debugDirectoryEntries;
1245
private NodeCache<
ModuleAndIntValueKey
, CopiedFieldRvaNode> _copiedFieldRvas;