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/FeatureComponentsTuple.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/FeatureComponentsTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs index e9d54c37..33f17ee9 100644 --- a/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs +++ b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs | |||
| @@ -39,13 +39,13 @@ namespace WixToolset.Data.Tuples | |||
| 39 | 39 | ||
| 40 | public string Feature_ | 40 | public string Feature_ |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Feature_]?.Value; | 42 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Feature_]; |
| 43 | set => this.Set((int)FeatureComponentsTupleFields.Feature_, value); | 43 | set => this.Set((int)FeatureComponentsTupleFields.Feature_, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Component_ | 46 | public string Component_ |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Component_]?.Value; | 48 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Component_]; |
| 49 | set => this.Set((int)FeatureComponentsTupleFields.Component_, value); | 49 | set => this.Set((int)FeatureComponentsTupleFields.Component_, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
