aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/PatchTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-16 12:18:36 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit505fe69d85c90184cd37290ccb0120fec6074c20 (patch)
tree685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/PatchTuple.cs
parentac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff)
downloadwix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz
wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2
wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/PatchTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/PatchTuple.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Data/Tuples/PatchTuple.cs b/src/WixToolset.Data/Tuples/PatchTuple.cs
index 268307c7..ca313410 100644
--- a/src/WixToolset.Data/Tuples/PatchTuple.cs
+++ b/src/WixToolset.Data/Tuples/PatchTuple.cs
@@ -47,37 +47,37 @@ namespace WixToolset.Data.Tuples
47 47
48 public string File_ 48 public string File_
49 { 49 {
50 get => (string)this.Fields[(int)PatchTupleFields.File_]?.Value; 50 get => (string)this.Fields[(int)PatchTupleFields.File_];
51 set => this.Set((int)PatchTupleFields.File_, value); 51 set => this.Set((int)PatchTupleFields.File_, value);
52 } 52 }
53 53
54 public int Sequence 54 public int Sequence
55 { 55 {
56 get => (int)this.Fields[(int)PatchTupleFields.Sequence]?.Value; 56 get => (int)this.Fields[(int)PatchTupleFields.Sequence];
57 set => this.Set((int)PatchTupleFields.Sequence, value); 57 set => this.Set((int)PatchTupleFields.Sequence, value);
58 } 58 }
59 59
60 public int PatchSize 60 public int PatchSize
61 { 61 {
62 get => (int)this.Fields[(int)PatchTupleFields.PatchSize]?.Value; 62 get => (int)this.Fields[(int)PatchTupleFields.PatchSize];
63 set => this.Set((int)PatchTupleFields.PatchSize, value); 63 set => this.Set((int)PatchTupleFields.PatchSize, value);
64 } 64 }
65 65
66 public int Attributes 66 public int Attributes
67 { 67 {
68 get => (int)this.Fields[(int)PatchTupleFields.Attributes]?.Value; 68 get => (int)this.Fields[(int)PatchTupleFields.Attributes];
69 set => this.Set((int)PatchTupleFields.Attributes, value); 69 set => this.Set((int)PatchTupleFields.Attributes, value);
70 } 70 }
71 71
72 public string Header 72 public string Header
73 { 73 {
74 get => (string)this.Fields[(int)PatchTupleFields.Header]?.Value; 74 get => (string)this.Fields[(int)PatchTupleFields.Header];
75 set => this.Set((int)PatchTupleFields.Header, value); 75 set => this.Set((int)PatchTupleFields.Header, value);
76 } 76 }
77 77
78 public string StreamRef_ 78 public string StreamRef_
79 { 79 {
80 get => (string)this.Fields[(int)PatchTupleFields.StreamRef_]?.Value; 80 get => (string)this.Fields[(int)PatchTupleFields.StreamRef_];
81 set => this.Set((int)PatchTupleFields.StreamRef_, value); 81 set => this.Set((int)PatchTupleFields.StreamRef_, value);
82 } 82 }
83 } 83 }