2 instantiations of ModuleAndIntValueKey
ILCompiler.ReadyToRun (2)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (2)
1198
return _debugDirectoryEntries.GetOrAdd(new
ModuleAndIntValueKey
(debugDirEntryIndex, module));
1228
return _copiedFieldRvas.GetOrAdd(new
ModuleAndIntValueKey
(ecmaField.GetFieldRvaValue(), ecmaField.Module));
8 references to ModuleAndIntValueKey
ILCompiler.ReadyToRun (8)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (8)
183
private struct ModuleAndIntValueKey : IEquatable<
ModuleAndIntValueKey
>
194
public bool Equals(
ModuleAndIntValueKey
other) => IntValue == other.IntValue && ((Module == null && other.Module == null) || Module.Equals(other.Module));
195
public override bool Equals(object obj) => obj is
ModuleAndIntValueKey
&& Equals((
ModuleAndIntValueKey
)obj);
364
_debugDirectoryEntries = new NodeCache<
ModuleAndIntValueKey
, DebugDirectoryEntryNode>(key =>
379
_copiedFieldRvas = new NodeCache<
ModuleAndIntValueKey
, CopiedFieldRvaNode>(key =>
1194
private NodeCache<
ModuleAndIntValueKey
, DebugDirectoryEntryNode> _debugDirectoryEntries;
1215
private NodeCache<
ModuleAndIntValueKey
, CopiedFieldRvaNode> _copiedFieldRvas;