From 6823fa7340169e0cba56c20548b1bfb346121a17 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Thu, 14 Nov 2019 18:04:32 -0500 Subject: Fix EnvironmentTuple nullable fields. --- src/WixToolset.Data/Tuples/EnvironmentTuple.cs | 4 ++-- 1 file 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 public EnvironmentActionType? Action { get => (EnvironmentActionType?)this.Fields[(int)EnvironmentTupleFields.Action].AsNullableNumber(); - set => this.Set((int)EnvironmentTupleFields.Action, (int)value); + set => this.Set((int)EnvironmentTupleFields.Action, (int?)value); } public EnvironmentPartType? Part { get => (EnvironmentPartType?)this.Fields[(int)EnvironmentTupleFields.Part].AsNullableNumber(); - set => this.Set((int)EnvironmentTupleFields.Part, (int)value); + set => this.Set((int)EnvironmentTupleFields.Part, (int?)value); } public bool Permanent -- cgit v1.2.3-55-g6feb