From ddb4161e3d9d13703b0df2915e68b5b4ef47e71b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 13 Apr 2020 16:39:11 +1000 Subject: Try to be more accurate in the tuples with nullable fields. --- src/WixToolset.Data/Tuples/ControlTuple.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Data/Tuples/ControlTuple.cs') diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs index f0fd92c1..ed61392e 100644 --- a/src/WixToolset.Data/Tuples/ControlTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlTuple.cs @@ -119,9 +119,9 @@ namespace WixToolset.Data.Tuples set => this.Set((int)ControlTupleFields.Height, value); } - public int Attributes + public int? Attributes { - get => this.Fields[(int)ControlTupleFields.Attributes].AsNumber(); + get => (int?)this.Fields[(int)ControlTupleFields.Attributes]; set => this.Set((int)ControlTupleFields.Attributes, value); } -- cgit v1.2.3-55-g6feb