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/RemoveIniFileTuple.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/RemoveIniFileTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs b/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs index e2e79560..69990a31 100644 --- a/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs +++ b/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs | |||
| @@ -51,49 +51,49 @@ namespace WixToolset.Data.Tuples | |||
| 51 | 51 | ||
| 52 | public string RemoveIniFile | 52 | public string RemoveIniFile |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.RemoveIniFile]?.Value; | 54 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.RemoveIniFile]; |
| 55 | set => this.Set((int)RemoveIniFileTupleFields.RemoveIniFile, value); | 55 | set => this.Set((int)RemoveIniFileTupleFields.RemoveIniFile, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string FileName | 58 | public string FileName |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.FileName]?.Value; | 60 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.FileName]; |
| 61 | set => this.Set((int)RemoveIniFileTupleFields.FileName, value); | 61 | set => this.Set((int)RemoveIniFileTupleFields.FileName, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string DirProperty | 64 | public string DirProperty |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.DirProperty]?.Value; | 66 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.DirProperty]; |
| 67 | set => this.Set((int)RemoveIniFileTupleFields.DirProperty, value); | 67 | set => this.Set((int)RemoveIniFileTupleFields.DirProperty, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Section | 70 | public string Section |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Section]?.Value; | 72 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Section]; |
| 73 | set => this.Set((int)RemoveIniFileTupleFields.Section, value); | 73 | set => this.Set((int)RemoveIniFileTupleFields.Section, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string Key | 76 | public string Key |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Key]?.Value; | 78 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Key]; |
| 79 | set => this.Set((int)RemoveIniFileTupleFields.Key, value); | 79 | set => this.Set((int)RemoveIniFileTupleFields.Key, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public string Value | 82 | public string Value |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Value]?.Value; | 84 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Value]; |
| 85 | set => this.Set((int)RemoveIniFileTupleFields.Value, value); | 85 | set => this.Set((int)RemoveIniFileTupleFields.Value, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public int Action | 88 | public int Action |
| 89 | { | 89 | { |
| 90 | get => (int)this.Fields[(int)RemoveIniFileTupleFields.Action]?.Value; | 90 | get => (int)this.Fields[(int)RemoveIniFileTupleFields.Action]; |
| 91 | set => this.Set((int)RemoveIniFileTupleFields.Action, value); | 91 | set => this.Set((int)RemoveIniFileTupleFields.Action, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public string Component_ | 94 | public string Component_ |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Component_]?.Value; | 96 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Component_]; |
| 97 | set => this.Set((int)RemoveIniFileTupleFields.Component_, value); | 97 | set => this.Set((int)RemoveIniFileTupleFields.Component_, value); |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
