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