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/CustomActionTuple.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/CustomActionTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/CustomActionTuple.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Data/Tuples/CustomActionTuple.cs b/src/WixToolset.Data/Tuples/CustomActionTuple.cs index 9c92593a..fbda67fa 100644 --- a/src/WixToolset.Data/Tuples/CustomActionTuple.cs +++ b/src/WixToolset.Data/Tuples/CustomActionTuple.cs | |||
| @@ -93,7 +93,7 @@ namespace WixToolset.Data.Tuples | |||
| 93 | 93 | ||
| 94 | public string Source | 94 | public string Source |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)CustomActionTupleFields.Source]?.Value; | 96 | get => (string)this.Fields[(int)CustomActionTupleFields.Source]; |
| 97 | set => this.Set((int)CustomActionTupleFields.Source, value); | 97 | set => this.Set((int)CustomActionTupleFields.Source, value); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| @@ -105,7 +105,7 @@ namespace WixToolset.Data.Tuples | |||
| 105 | 105 | ||
| 106 | public string Target | 106 | public string Target |
| 107 | { | 107 | { |
| 108 | get => (string)this.Fields[(int)CustomActionTupleFields.Target]?.Value; | 108 | get => (string)this.Fields[(int)CustomActionTupleFields.Target]; |
| 109 | set => this.Set((int)CustomActionTupleFields.Target, value); | 109 | set => this.Set((int)CustomActionTupleFields.Target, value); |
| 110 | } | 110 | } |
| 111 | 111 | ||
