diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-27 00:36:26 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-27 11:31:18 -0700 |
commit | 7cfe32e0f61f2d4b36dc52c57fdca6958126123d (patch) | |
tree | 07391d1818a2cfafe3b009a1a908dbf506f50060 /src/WixToolset.Core | |
parent | c8c73ccddedcb64f9989e3d5a9f15240b476b551 (diff) | |
download | wix-7cfe32e0f61f2d4b36dc52c57fdca6958126123d.tar.gz wix-7cfe32e0f61f2d4b36dc52c57fdca6958126123d.tar.bz2 wix-7cfe32e0f61f2d4b36dc52c57fdca6958126123d.zip |
Properly initialize WixVariableResolver internal variables
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r-- | src/WixToolset.Core/WixVariableResolver.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/WixToolset.Core/WixVariableResolver.cs b/src/WixToolset.Core/WixVariableResolver.cs index 7fe77077..8ac35e99 100644 --- a/src/WixToolset.Core/WixVariableResolver.cs +++ b/src/WixToolset.Core/WixVariableResolver.cs | |||
@@ -14,9 +14,9 @@ namespace WixToolset.Core | |||
14 | /// </summary> | 14 | /// </summary> |
15 | internal sealed class WixVariableResolver : IVariableResolver | 15 | internal sealed class WixVariableResolver : IVariableResolver |
16 | { | 16 | { |
17 | private Dictionary<string, BindVariable> locVariables; | 17 | private readonly Dictionary<string, BindVariable> locVariables; |
18 | private Dictionary<string, BindVariable> wixVariables; | 18 | private readonly Dictionary<string, BindVariable> wixVariables; |
19 | private Dictionary<string, LocalizedControl> localizedControls; | 19 | private readonly Dictionary<string, LocalizedControl> localizedControls; |
20 | 20 | ||
21 | /// <summary> | 21 | /// <summary> |
22 | /// Instantiate a new WixVariableResolver. | 22 | /// Instantiate a new WixVariableResolver. |
@@ -25,6 +25,7 @@ namespace WixToolset.Core | |||
25 | { | 25 | { |
26 | this.locVariables = new Dictionary<string, BindVariable>(); | 26 | this.locVariables = new Dictionary<string, BindVariable>(); |
27 | this.wixVariables = new Dictionary<string, BindVariable>(); | 27 | this.wixVariables = new Dictionary<string, BindVariable>(); |
28 | this.localizedControls = new Dictionary<string, LocalizedControl>(); | ||
28 | this.Codepage = -1; | 29 | this.Codepage = -1; |
29 | this.Messaging = messaging; | 30 | this.Messaging = messaging; |
30 | } | 31 | } |