aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixFileSearchTuple.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/WixFileSearchTuple.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/WixFileSearchTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixFileSearchTuple.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs
index 4c0cedf3..033aca21 100644
--- a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs
@@ -86,27 +86,27 @@ namespace WixToolset.Data.Tuples
86 set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); 86 set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value);
87 } 87 }
88 88
89 public int MinSize 89 public int? MinSize
90 { 90 {
91 get => (int)this.Fields[(int)WixFileSearchTupleFields.MinSize]; 91 get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinSize];
92 set => this.Set((int)WixFileSearchTupleFields.MinSize, value); 92 set => this.Set((int)WixFileSearchTupleFields.MinSize, value);
93 } 93 }
94 94
95 public int MaxSize 95 public int? MaxSize
96 { 96 {
97 get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxSize]; 97 get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxSize];
98 set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); 98 set => this.Set((int)WixFileSearchTupleFields.MaxSize, value);
99 } 99 }
100 100
101 public int MinDate 101 public int? MinDate
102 { 102 {
103 get => (int)this.Fields[(int)WixFileSearchTupleFields.MinDate]; 103 get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinDate];
104 set => this.Set((int)WixFileSearchTupleFields.MinDate, value); 104 set => this.Set((int)WixFileSearchTupleFields.MinDate, value);
105 } 105 }
106 106
107 public int MaxDate 107 public int? MaxDate
108 { 108 {
109 get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxDate]; 109 get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxDate];
110 set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); 110 set => this.Set((int)WixFileSearchTupleFields.MaxDate, value);
111 } 111 }
112 112