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/MsiServiceConfigTuple.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/MsiServiceConfigTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs index c0e8e459..b0a58d9f 100644 --- a/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs | |||
| @@ -59,7 +59,7 @@ namespace WixToolset.Data.Tuples | |||
| 59 | 59 | ||
| 60 | public string Name | 60 | public string Name |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Name]?.Value; | 62 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Name]; |
| 63 | set => this.Set((int)MsiServiceConfigTupleFields.Name, value); | 63 | set => this.Set((int)MsiServiceConfigTupleFields.Name, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| @@ -89,13 +89,13 @@ namespace WixToolset.Data.Tuples | |||
| 89 | 89 | ||
| 90 | public string Argument | 90 | public string Argument |
| 91 | { | 91 | { |
| 92 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Argument]?.Value; | 92 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Argument]; |
| 93 | set => this.Set((int)MsiServiceConfigTupleFields.Argument, value); | 93 | set => this.Set((int)MsiServiceConfigTupleFields.Argument, value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public string Component_ | 96 | public string Component_ |
| 97 | { | 97 | { |
| 98 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Component_]?.Value; | 98 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Component_]; |
| 99 | set => this.Set((int)MsiServiceConfigTupleFields.Component_, value); | 99 | set => this.Set((int)MsiServiceConfigTupleFields.Component_, value); |
| 100 | } | 100 | } |
| 101 | } | 101 | } |
