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/TypeLibTuple.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/WixToolset.Data/Tuples/TypeLibTuple.cs') diff --git a/src/WixToolset.Data/Tuples/TypeLibTuple.cs b/src/WixToolset.Data/Tuples/TypeLibTuple.cs index 14c69c1a..071fe593 100644 --- a/src/WixToolset.Data/Tuples/TypeLibTuple.cs +++ b/src/WixToolset.Data/Tuples/TypeLibTuple.cs @@ -67,9 +67,9 @@ namespace WixToolset.Data.Tuples set => this.Set((int)TypeLibTupleFields.ComponentRef, value); } - public int Version + public int? Version { - get => (int)this.Fields[(int)TypeLibTupleFields.Version]; + get => (int?)this.Fields[(int)TypeLibTupleFields.Version]; set => this.Set((int)TypeLibTupleFields.Version, value); } @@ -91,9 +91,9 @@ namespace WixToolset.Data.Tuples set => this.Set((int)TypeLibTupleFields.FeatureRef, value); } - public int Cost + public int? Cost { - get => (int)this.Fields[(int)TypeLibTupleFields.Cost]; + get => (int?)this.Fields[(int)TypeLibTupleFields.Cost]; set => this.Set((int)TypeLibTupleFields.Cost, value); } } -- cgit v1.2.3-55-g6feb