aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/RegLocatorTuple.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/RegLocatorTuple.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/RegLocatorTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/RegLocatorTuple.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs
index b098e687..f8edad95 100644
--- a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs
+++ b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs
@@ -45,31 +45,31 @@ namespace WixToolset.Data.Tuples
45 45
46 public string Signature_ 46 public string Signature_
47 { 47 {
48 get => (string)this.Fields[(int)RegLocatorTupleFields.Signature_]?.Value; 48 get => (string)this.Fields[(int)RegLocatorTupleFields.Signature_];
49 set => this.Set((int)RegLocatorTupleFields.Signature_, value); 49 set => this.Set((int)RegLocatorTupleFields.Signature_, value);
50 } 50 }
51 51
52 public int Root 52 public int Root
53 { 53 {
54 get => (int)this.Fields[(int)RegLocatorTupleFields.Root]?.Value; 54 get => (int)this.Fields[(int)RegLocatorTupleFields.Root];
55 set => this.Set((int)RegLocatorTupleFields.Root, value); 55 set => this.Set((int)RegLocatorTupleFields.Root, value);
56 } 56 }
57 57
58 public string Key 58 public string Key
59 { 59 {
60 get => (string)this.Fields[(int)RegLocatorTupleFields.Key]?.Value; 60 get => (string)this.Fields[(int)RegLocatorTupleFields.Key];
61 set => this.Set((int)RegLocatorTupleFields.Key, value); 61 set => this.Set((int)RegLocatorTupleFields.Key, value);
62 } 62 }
63 63
64 public string Name 64 public string Name
65 { 65 {
66 get => (string)this.Fields[(int)RegLocatorTupleFields.Name]?.Value; 66 get => (string)this.Fields[(int)RegLocatorTupleFields.Name];
67 set => this.Set((int)RegLocatorTupleFields.Name, value); 67 set => this.Set((int)RegLocatorTupleFields.Name, value);
68 } 68 }
69 69
70 public int Type 70 public int Type
71 { 71 {
72 get => (int)this.Fields[(int)RegLocatorTupleFields.Type]?.Value; 72 get => (int)this.Fields[(int)RegLocatorTupleFields.Type];
73 set => this.Set((int)RegLocatorTupleFields.Type, value); 73 set => this.Set((int)RegLocatorTupleFields.Type, value);
74 } 74 }
75 } 75 }