public ModuleData(AssemblyIdentity identity, OutputKind kind, ImmutableArray <byte> image, ImmutableArray <byte> pdb, bool inMemoryModule) { this.Id = new ModuleDataId(identity.Name, identity.GetDisplayName(), GetMvid(image)); this.Kind = kind; this.Image = image; this.Pdb = pdb; this.InMemoryModule = inMemoryModule; }
public ModuleData(ModuleDataId id, OutputKind kind, ImmutableArray <byte> image, ImmutableArray <byte> pdb, bool inMemoryModule) { this.Id = id; this.Kind = kind; this.Image = image; this.Pdb = pdb; this.InMemoryModule = inMemoryModule; }
public ModuleData(string netModuleName, ImmutableArray <byte> image, ImmutableArray <byte> pdb, bool inMemoryModule) { this.Id = new ModuleDataId(netModuleName, netModuleName, GetMvid(image)); this.Kind = OutputKind.NetModule; this.Image = image; this.Pdb = pdb; this.InMemoryModule = inMemoryModule; }