diff options
author | Bob Arnson <bob@firegiant.com> | 2019-11-14 18:04:32 -0500 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2019-11-14 18:07:57 -0500 |
commit | 6823fa7340169e0cba56c20548b1bfb346121a17 (patch) | |
tree | 014f83e98ba8b7624d3e2bf9d5cab565af424909 | |
parent | 94da334adaafa4444fb278991aa01cce58d9f758 (diff) | |
download | wix-6823fa7340169e0cba56c20548b1bfb346121a17.tar.gz wix-6823fa7340169e0cba56c20548b1bfb346121a17.tar.bz2 wix-6823fa7340169e0cba56c20548b1bfb346121a17.zip |
Fix EnvironmentTuple nullable fields.
-rw-r--r-- | src/WixToolset.Data/Tuples/EnvironmentTuple.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Data/Tuples/EnvironmentTuple.cs b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs index a6a10ac5..98c51f4d 100644 --- a/src/WixToolset.Data/Tuples/EnvironmentTuple.cs +++ b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs | |||
@@ -84,13 +84,13 @@ namespace WixToolset.Data.Tuples | |||
84 | public EnvironmentActionType? Action | 84 | public EnvironmentActionType? Action |
85 | { | 85 | { |
86 | get => (EnvironmentActionType?)this.Fields[(int)EnvironmentTupleFields.Action].AsNullableNumber(); | 86 | get => (EnvironmentActionType?)this.Fields[(int)EnvironmentTupleFields.Action].AsNullableNumber(); |
87 | set => this.Set((int)EnvironmentTupleFields.Action, (int)value); | 87 | set => this.Set((int)EnvironmentTupleFields.Action, (int?)value); |
88 | } | 88 | } |
89 | 89 | ||
90 | public EnvironmentPartType? Part | 90 | public EnvironmentPartType? Part |
91 | { | 91 | { |
92 | get => (EnvironmentPartType?)this.Fields[(int)EnvironmentTupleFields.Part].AsNullableNumber(); | 92 | get => (EnvironmentPartType?)this.Fields[(int)EnvironmentTupleFields.Part].AsNullableNumber(); |
93 | set => this.Set((int)EnvironmentTupleFields.Part, (int)value); | 93 | set => this.Set((int)EnvironmentTupleFields.Part, (int?)value); |
94 | } | 94 | } |
95 | 95 | ||
96 | public bool Permanent | 96 | public bool Permanent |