From 752301ba571020717862d2232e3fad585de6a39a Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 23 Oct 2019 12:53:27 -0700 Subject: Fix custom tables, small fixes in linker and update latest Data --- src/WixToolset.Core/Link/ResolveReferencesCommand.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/WixToolset.Core/Link/ResolveReferencesCommand.cs') diff --git a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs index ed11095f..6dcd36d3 100644 --- a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs +++ b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs @@ -14,8 +14,8 @@ namespace WixToolset.Core.Link /// internal class ResolveReferencesCommand { - private IntermediateSection entrySection; - private IDictionary symbols; + private readonly IntermediateSection entrySection; + private readonly IDictionary symbols; private HashSet referencedSymbols; private HashSet resolvedSections; @@ -24,13 +24,14 @@ namespace WixToolset.Core.Link this.Messaging = messaging; this.entrySection = entrySection; this.symbols = symbols; + this.BuildingMergeModule = (SectionType.Module == entrySection.Type); } - public bool BuildingMergeModule { private get; set; } + public IEnumerable ReferencedSymbols => this.referencedSymbols; - public IEnumerable ReferencedSymbols { get { return this.referencedSymbols; } } + public IEnumerable ResolvedSections => this.resolvedSections; - public IEnumerable ResolvedSections { get { return this.resolvedSections; } } + private bool BuildingMergeModule { get; } private IMessaging Messaging { get; } -- cgit v1.2.3-55-g6feb