aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Link/ResolveReferencesCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Link/ResolveReferencesCommand.cs')
-rw-r--r--src/WixToolset.Core/Link/ResolveReferencesCommand.cs11
1 files changed, 6 insertions, 5 deletions
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
14 /// </summary> 14 /// </summary>
15 internal class ResolveReferencesCommand 15 internal class ResolveReferencesCommand
16 { 16 {
17 private IntermediateSection entrySection; 17 private readonly IntermediateSection entrySection;
18 private IDictionary<string, Symbol> symbols; 18 private readonly IDictionary<string, Symbol> symbols;
19 private HashSet<Symbol> referencedSymbols; 19 private HashSet<Symbol> referencedSymbols;
20 private HashSet<IntermediateSection> resolvedSections; 20 private HashSet<IntermediateSection> resolvedSections;
21 21
@@ -24,13 +24,14 @@ namespace WixToolset.Core.Link
24 this.Messaging = messaging; 24 this.Messaging = messaging;
25 this.entrySection = entrySection; 25 this.entrySection = entrySection;
26 this.symbols = symbols; 26 this.symbols = symbols;
27 this.BuildingMergeModule = (SectionType.Module == entrySection.Type);
27 } 28 }
28 29
29 public bool BuildingMergeModule { private get; set; } 30 public IEnumerable<Symbol> ReferencedSymbols => this.referencedSymbols;
30 31
31 public IEnumerable<Symbol> ReferencedSymbols { get { return this.referencedSymbols; } } 32 public IEnumerable<IntermediateSection> ResolvedSections => this.resolvedSections;
32 33
33 public IEnumerable<IntermediateSection> ResolvedSections { get { return this.resolvedSections; } } 34 private bool BuildingMergeModule { get; }
34 35
35 private IMessaging Messaging { get; } 36 private IMessaging Messaging { get; }
36 37