aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/TypeLibTuple.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-13 16:39:11 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-13 20:28:02 +1000
commitddb4161e3d9d13703b0df2915e68b5b4ef47e71b (patch)
treeb2a6033b3875662f6dee47295b15ceb4463d23a9 /src/WixToolset.Data/Tuples/TypeLibTuple.cs
parentd0d447ad64afdd5956856c4c6b6599f69a522d6b (diff)
downloadwix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.gz
wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.bz2
wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.zip
Try to be more accurate in the tuples with nullable fields.
Diffstat (limited to 'src/WixToolset.Data/Tuples/TypeLibTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/TypeLibTuple.cs8
1 files changed, 4 insertions, 4 deletions
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
67 set => this.Set((int)TypeLibTupleFields.ComponentRef, value); 67 set => this.Set((int)TypeLibTupleFields.ComponentRef, value);
68 } 68 }
69 69
70 public int Version 70 public int? Version
71 { 71 {
72 get => (int)this.Fields[(int)TypeLibTupleFields.Version]; 72 get => (int?)this.Fields[(int)TypeLibTupleFields.Version];
73 set => this.Set((int)TypeLibTupleFields.Version, value); 73 set => this.Set((int)TypeLibTupleFields.Version, value);
74 } 74 }
75 75
@@ -91,9 +91,9 @@ namespace WixToolset.Data.Tuples
91 set => this.Set((int)TypeLibTupleFields.FeatureRef, value); 91 set => this.Set((int)TypeLibTupleFields.FeatureRef, value);
92 } 92 }
93 93
94 public int Cost 94 public int? Cost
95 { 95 {
96 get => (int)this.Fields[(int)TypeLibTupleFields.Cost]; 96 get => (int?)this.Fields[(int)TypeLibTupleFields.Cost];
97 set => this.Set((int)TypeLibTupleFields.Cost, value); 97 set => this.Set((int)TypeLibTupleFields.Cost, value);
98 } 98 }
99 } 99 }