4 instantiations of ModuleDataId
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\ModuleData.cs (2)
67
this.Id = new
ModuleDataId
(netModuleName, netModuleName, GetMvid(image));
77
this.Id = new
ModuleDataId
(identity.Name, identity.GetDisplayName(), GetMvid(image));
Platform\Desktop\RuntimeAssemblyManager.cs (1)
34
internal ModuleDataId Id => Assembly != null ? new
ModuleDataId
(Assembly, Assembly.ManifestModule.ModuleVersionId) : ModuleData.Id;
Platform\Desktop\RuntimeModuleData.cs (1)
42
Id = new
ModuleDataId
(simpleName, fullName, mvid);
12 references to ModuleDataId
Microsoft.CodeAnalysis.Test.Utilities (12)
Metadata\ModuleData.cs (2)
53
public readonly
ModuleDataId
Id;
85
public ModuleData(
ModuleDataId
id, OutputKind kind, ImmutableArray<byte> image, ImmutableArray<byte> pdb, bool inMemoryModule, bool isCorLib)
Platform\Desktop\AppDomainAssemblyCache.cs (1)
56
internal Assembly GetOrDefault(
ModuleDataId
id, bool reflectionOnly)
Platform\Desktop\DesktopRuntimeEnvironment.cs (1)
107
private RuntimeData CreateAndInitializeRuntimeData(IEnumerable<ModuleData> compilationDependencies,
ModuleDataId
mainModuleId)
Platform\Desktop\RuntimeAssemblyManager.cs (6)
34
internal
ModuleDataId
Id => Assembly != null ? new ModuleDataId(Assembly, Assembly.ManifestModule.ModuleVersionId) : ModuleData.Id;
188
foreach (
var
id in moduleDataIds.Select(x => x.Id))
216
foreach (
var
id in moduleIds.Select(x => x.Id))
227
private bool TryGetMatchingByFullName(
ModuleDataId
id, out AssemblyData assemblyData, out bool fullMatch)
240
private bool TryGetMatchingByMvid(
ModuleDataId
id, out AssemblyData assemblyData, out bool fullMatch)
353
foreach (
var
id in searchModules.Select(x => x.Id)) // Check inside each assembly in the compilation
Platform\Desktop\RuntimeModuleData.cs (2)
30
public
ModuleDataId
Id { get; }
32
public RuntimeModuleDataId(
ModuleDataId
id)