diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-16 12:18:36 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
| commit | 505fe69d85c90184cd37290ccb0120fec6074c20 (patch) | |
| tree | 685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | |
| parent | ac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff) | |
| download | wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2 wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip | |
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs index 609670f0..76033560 100644 --- a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | |||
| @@ -43,25 +43,25 @@ namespace WixToolset.Data.Tuples | |||
| 43 | 43 | ||
| 44 | public string Table | 44 | public string Table |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Table]?.Value; | 46 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Table]; |
| 47 | set => this.Set((int)ModuleSubstitutionTupleFields.Table, value); | 47 | set => this.Set((int)ModuleSubstitutionTupleFields.Table, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Row | 50 | public string Row |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Row]?.Value; | 52 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Row]; |
| 53 | set => this.Set((int)ModuleSubstitutionTupleFields.Row, value); | 53 | set => this.Set((int)ModuleSubstitutionTupleFields.Row, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Column | 56 | public string Column |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Column]?.Value; | 58 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Column]; |
| 59 | set => this.Set((int)ModuleSubstitutionTupleFields.Column, value); | 59 | set => this.Set((int)ModuleSubstitutionTupleFields.Column, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Value | 62 | public string Value |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Value]?.Value; | 64 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Value]; |
| 65 | set => this.Set((int)ModuleSubstitutionTupleFields.Value, value); | 65 | set => this.Set((int)ModuleSubstitutionTupleFields.Value, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
