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