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/FeatureTuple.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/FeatureTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/FeatureTuple.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Data/Tuples/FeatureTuple.cs b/src/WixToolset.Data/Tuples/FeatureTuple.cs index c3b0e67a..14a1a9f5 100644 --- a/src/WixToolset.Data/Tuples/FeatureTuple.cs +++ b/src/WixToolset.Data/Tuples/FeatureTuple.cs | |||
| @@ -68,37 +68,37 @@ namespace WixToolset.Data.Tuples | |||
| 68 | 68 | ||
| 69 | public string Feature_Parent | 69 | public string Feature_Parent |
| 70 | { | 70 | { |
| 71 | get => (string)this.Fields[(int)FeatureTupleFields.Feature_Parent]?.Value; | 71 | get => (string)this.Fields[(int)FeatureTupleFields.Feature_Parent]; |
| 72 | set => this.Set((int)FeatureTupleFields.Feature_Parent, value); | 72 | set => this.Set((int)FeatureTupleFields.Feature_Parent, value); |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | public string Title | 75 | public string Title |
| 76 | { | 76 | { |
| 77 | get => (string)this.Fields[(int)FeatureTupleFields.Title]?.Value; | 77 | get => (string)this.Fields[(int)FeatureTupleFields.Title]; |
| 78 | set => this.Set((int)FeatureTupleFields.Title, value); | 78 | set => this.Set((int)FeatureTupleFields.Title, value); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | public string Description | 81 | public string Description |
| 82 | { | 82 | { |
| 83 | get => (string)this.Fields[(int)FeatureTupleFields.Description]?.Value; | 83 | get => (string)this.Fields[(int)FeatureTupleFields.Description]; |
| 84 | set => this.Set((int)FeatureTupleFields.Description, value); | 84 | set => this.Set((int)FeatureTupleFields.Description, value); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | public int Display | 87 | public int Display |
| 88 | { | 88 | { |
| 89 | get => (int)this.Fields[(int)FeatureTupleFields.Display]?.Value; | 89 | get => (int)this.Fields[(int)FeatureTupleFields.Display]; |
| 90 | set => this.Set((int)FeatureTupleFields.Display, value); | 90 | set => this.Set((int)FeatureTupleFields.Display, value); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | public int Level | 93 | public int Level |
| 94 | { | 94 | { |
| 95 | get => (int)this.Fields[(int)FeatureTupleFields.Level]?.Value; | 95 | get => (int)this.Fields[(int)FeatureTupleFields.Level]; |
| 96 | set => this.Set((int)FeatureTupleFields.Level, value); | 96 | set => this.Set((int)FeatureTupleFields.Level, value); |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | public string Directory_ | 99 | public string Directory_ |
| 100 | { | 100 | { |
| 101 | get => (string)this.Fields[(int)FeatureTupleFields.Directory_]?.Value; | 101 | get => (string)this.Fields[(int)FeatureTupleFields.Directory_]; |
| 102 | set => this.Set((int)FeatureTupleFields.Directory_, value); | 102 | set => this.Set((int)FeatureTupleFields.Directory_, value); |
| 103 | } | 103 | } |
| 104 | 104 | ||
