aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/UpgradeTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-16 12:18:36 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit505fe69d85c90184cd37290ccb0120fec6074c20 (patch)
tree685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/UpgradeTuple.cs
parentac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff)
downloadwix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz
wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2
wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/UpgradeTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/UpgradeTuple.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Data/Tuples/UpgradeTuple.cs b/src/WixToolset.Data/Tuples/UpgradeTuple.cs
index efb34733..03e5edd2 100644
--- a/src/WixToolset.Data/Tuples/UpgradeTuple.cs
+++ b/src/WixToolset.Data/Tuples/UpgradeTuple.cs
@@ -59,25 +59,25 @@ namespace WixToolset.Data.Tuples
59 59
60 public string UpgradeCode 60 public string UpgradeCode
61 { 61 {
62 get => (string)this.Fields[(int)UpgradeTupleFields.UpgradeCode]?.Value; 62 get => (string)this.Fields[(int)UpgradeTupleFields.UpgradeCode];
63 set => this.Set((int)UpgradeTupleFields.UpgradeCode, value); 63 set => this.Set((int)UpgradeTupleFields.UpgradeCode, value);
64 } 64 }
65 65
66 public string VersionMin 66 public string VersionMin
67 { 67 {
68 get => (string)this.Fields[(int)UpgradeTupleFields.VersionMin]?.Value; 68 get => (string)this.Fields[(int)UpgradeTupleFields.VersionMin];
69 set => this.Set((int)UpgradeTupleFields.VersionMin, value); 69 set => this.Set((int)UpgradeTupleFields.VersionMin, value);
70 } 70 }
71 71
72 public string VersionMax 72 public string VersionMax
73 { 73 {
74 get => (string)this.Fields[(int)UpgradeTupleFields.VersionMax]?.Value; 74 get => (string)this.Fields[(int)UpgradeTupleFields.VersionMax];
75 set => this.Set((int)UpgradeTupleFields.VersionMax, value); 75 set => this.Set((int)UpgradeTupleFields.VersionMax, value);
76 } 76 }
77 77
78 public string Language 78 public string Language
79 { 79 {
80 get => (string)this.Fields[(int)UpgradeTupleFields.Language]?.Value; 80 get => (string)this.Fields[(int)UpgradeTupleFields.Language];
81 set => this.Set((int)UpgradeTupleFields.Language, value); 81 set => this.Set((int)UpgradeTupleFields.Language, value);
82 } 82 }
83 83
@@ -119,13 +119,13 @@ namespace WixToolset.Data.Tuples
119 119
120 public string Remove 120 public string Remove
121 { 121 {
122 get => (string)this.Fields[(int)UpgradeTupleFields.Remove]?.Value; 122 get => (string)this.Fields[(int)UpgradeTupleFields.Remove];
123 set => this.Set((int)UpgradeTupleFields.Remove, value); 123 set => this.Set((int)UpgradeTupleFields.Remove, value);
124 } 124 }
125 125
126 public string ActionProperty 126 public string ActionProperty
127 { 127 {
128 get => (string)this.Fields[(int)UpgradeTupleFields.ActionProperty]?.Value; 128 get => (string)this.Fields[(int)UpgradeTupleFields.ActionProperty];
129 set => this.Set((int)UpgradeTupleFields.ActionProperty, value); 129 set => this.Set((int)UpgradeTupleFields.ActionProperty, value);
130 } 130 }
131 } 131 }