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/ListBoxTuple.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/ListBoxTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ListBoxTuple.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Data/Tuples/ListBoxTuple.cs b/src/WixToolset.Data/Tuples/ListBoxTuple.cs index 71702c07..c25f1728 100644 --- a/src/WixToolset.Data/Tuples/ListBoxTuple.cs +++ b/src/WixToolset.Data/Tuples/ListBoxTuple.cs | |||
| @@ -43,25 +43,25 @@ namespace WixToolset.Data.Tuples | |||
| 43 | 43 | ||
| 44 | public string Property | 44 | public string Property |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ListBoxTupleFields.Property]?.Value; | 46 | get => (string)this.Fields[(int)ListBoxTupleFields.Property]; |
| 47 | set => this.Set((int)ListBoxTupleFields.Property, value); | 47 | set => this.Set((int)ListBoxTupleFields.Property, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public int Order | 50 | public int Order |
| 51 | { | 51 | { |
| 52 | get => (int)this.Fields[(int)ListBoxTupleFields.Order]?.Value; | 52 | get => (int)this.Fields[(int)ListBoxTupleFields.Order]; |
| 53 | set => this.Set((int)ListBoxTupleFields.Order, value); | 53 | set => this.Set((int)ListBoxTupleFields.Order, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Value | 56 | public string Value |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ListBoxTupleFields.Value]?.Value; | 58 | get => (string)this.Fields[(int)ListBoxTupleFields.Value]; |
| 59 | set => this.Set((int)ListBoxTupleFields.Value, value); | 59 | set => this.Set((int)ListBoxTupleFields.Value, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Text | 62 | public string Text |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ListBoxTupleFields.Text]?.Value; | 64 | get => (string)this.Fields[(int)ListBoxTupleFields.Text]; |
| 65 | set => this.Set((int)ListBoxTupleFields.Text, value); | 65 | set => this.Set((int)ListBoxTupleFields.Text, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
