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