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/WixFileSearchTuple.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/WixFileSearchTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixFileSearchTuple.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs index 62d19ec8..a5da5f2b 100644 --- a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs | |||
| @@ -55,61 +55,61 @@ namespace WixToolset.Data.Tuples | |||
| 55 | 55 | ||
| 56 | public string WixSearch_ | 56 | public string WixSearch_ |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixFileSearchTupleFields.WixSearch_]?.Value; | 58 | get => (string)this.Fields[(int)WixFileSearchTupleFields.WixSearch_]; |
| 59 | set => this.Set((int)WixFileSearchTupleFields.WixSearch_, value); | 59 | set => this.Set((int)WixFileSearchTupleFields.WixSearch_, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Path | 62 | public string Path |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Path]?.Value; | 64 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Path]; |
| 65 | set => this.Set((int)WixFileSearchTupleFields.Path, value); | 65 | set => this.Set((int)WixFileSearchTupleFields.Path, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string MinVersion | 68 | public string MinVersion |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MinVersion]?.Value; | 70 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MinVersion]; |
| 71 | set => this.Set((int)WixFileSearchTupleFields.MinVersion, value); | 71 | set => this.Set((int)WixFileSearchTupleFields.MinVersion, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string MaxVersion | 74 | public string MaxVersion |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MaxVersion]?.Value; | 76 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MaxVersion]; |
| 77 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); | 77 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public int MinSize | 80 | public int MinSize |
| 81 | { | 81 | { |
| 82 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinSize]?.Value; | 82 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinSize]; |
| 83 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); | 83 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public int MaxSize | 86 | public int MaxSize |
| 87 | { | 87 | { |
| 88 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxSize]?.Value; | 88 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxSize]; |
| 89 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); | 89 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public int MinDate | 92 | public int MinDate |
| 93 | { | 93 | { |
| 94 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinDate]?.Value; | 94 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinDate]; |
| 95 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); | 95 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public int MaxDate | 98 | public int MaxDate |
| 99 | { | 99 | { |
| 100 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxDate]?.Value; | 100 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxDate]; |
| 101 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); | 101 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string Languages | 104 | public string Languages |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Languages]?.Value; | 106 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Languages]; |
| 107 | set => this.Set((int)WixFileSearchTupleFields.Languages, value); | 107 | set => this.Set((int)WixFileSearchTupleFields.Languages, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public int Attributes | 110 | public int Attributes |
| 111 | { | 111 | { |
| 112 | get => (int)this.Fields[(int)WixFileSearchTupleFields.Attributes]?.Value; | 112 | get => (int)this.Fields[(int)WixFileSearchTupleFields.Attributes]; |
| 113 | set => this.Set((int)WixFileSearchTupleFields.Attributes, value); | 113 | set => this.Set((int)WixFileSearchTupleFields.Attributes, value); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
