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/TargetImagesTuple.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/TargetImagesTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/TargetImagesTuple.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/WixToolset.Data/Tuples/TargetImagesTuple.cs b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs index 0cb74ec9..0dc1d4de 100644 --- a/src/WixToolset.Data/Tuples/TargetImagesTuple.cs +++ b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs | |||
| @@ -49,43 +49,43 @@ namespace WixToolset.Data.Tuples | |||
| 49 | 49 | ||
| 50 | public string Target | 50 | public string Target |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)TargetImagesTupleFields.Target]?.Value; | 52 | get => (string)this.Fields[(int)TargetImagesTupleFields.Target]; |
| 53 | set => this.Set((int)TargetImagesTupleFields.Target, value); | 53 | set => this.Set((int)TargetImagesTupleFields.Target, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string MsiPath | 56 | public string MsiPath |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)TargetImagesTupleFields.MsiPath]?.Value; | 58 | get => (string)this.Fields[(int)TargetImagesTupleFields.MsiPath]; |
| 59 | set => this.Set((int)TargetImagesTupleFields.MsiPath, value); | 59 | set => this.Set((int)TargetImagesTupleFields.MsiPath, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string SymbolPaths | 62 | public string SymbolPaths |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)TargetImagesTupleFields.SymbolPaths]?.Value; | 64 | get => (string)this.Fields[(int)TargetImagesTupleFields.SymbolPaths]; |
| 65 | set => this.Set((int)TargetImagesTupleFields.SymbolPaths, value); | 65 | set => this.Set((int)TargetImagesTupleFields.SymbolPaths, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Upgraded | 68 | public string Upgraded |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)TargetImagesTupleFields.Upgraded]?.Value; | 70 | get => (string)this.Fields[(int)TargetImagesTupleFields.Upgraded]; |
| 71 | set => this.Set((int)TargetImagesTupleFields.Upgraded, value); | 71 | set => this.Set((int)TargetImagesTupleFields.Upgraded, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public int Order | 74 | public int Order |
| 75 | { | 75 | { |
| 76 | get => (int)this.Fields[(int)TargetImagesTupleFields.Order]?.Value; | 76 | get => (int)this.Fields[(int)TargetImagesTupleFields.Order]; |
| 77 | set => this.Set((int)TargetImagesTupleFields.Order, value); | 77 | set => this.Set((int)TargetImagesTupleFields.Order, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string ProductValidateFlags | 80 | public string ProductValidateFlags |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)TargetImagesTupleFields.ProductValidateFlags]?.Value; | 82 | get => (string)this.Fields[(int)TargetImagesTupleFields.ProductValidateFlags]; |
| 83 | set => this.Set((int)TargetImagesTupleFields.ProductValidateFlags, value); | 83 | set => this.Set((int)TargetImagesTupleFields.ProductValidateFlags, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public int IgnoreMissingSrcFiles | 86 | public int IgnoreMissingSrcFiles |
| 87 | { | 87 | { |
| 88 | get => (int)this.Fields[(int)TargetImagesTupleFields.IgnoreMissingSrcFiles]?.Value; | 88 | get => (int)this.Fields[(int)TargetImagesTupleFields.IgnoreMissingSrcFiles]; |
| 89 | set => this.Set((int)TargetImagesTupleFields.IgnoreMissingSrcFiles, value); | 89 | set => this.Set((int)TargetImagesTupleFields.IgnoreMissingSrcFiles, value); |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
