aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/IniLocatorTuple.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/IniLocatorTuple.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/IniLocatorTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/IniLocatorTuple.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs
index f956ee5f..84097f9c 100644
--- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs
+++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs
@@ -47,37 +47,37 @@ namespace WixToolset.Data.Tuples
47 47
48 public string Signature_ 48 public string Signature_
49 { 49 {
50 get => (string)this.Fields[(int)IniLocatorTupleFields.Signature_]?.Value; 50 get => (string)this.Fields[(int)IniLocatorTupleFields.Signature_];
51 set => this.Set((int)IniLocatorTupleFields.Signature_, value); 51 set => this.Set((int)IniLocatorTupleFields.Signature_, value);
52 } 52 }
53 53
54 public string FileName 54 public string FileName
55 { 55 {
56 get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]?.Value; 56 get => (string)this.Fields[(int)IniLocatorTupleFields.FileName];
57 set => this.Set((int)IniLocatorTupleFields.FileName, value); 57 set => this.Set((int)IniLocatorTupleFields.FileName, value);
58 } 58 }
59 59
60 public string Section 60 public string Section
61 { 61 {
62 get => (string)this.Fields[(int)IniLocatorTupleFields.Section]?.Value; 62 get => (string)this.Fields[(int)IniLocatorTupleFields.Section];
63 set => this.Set((int)IniLocatorTupleFields.Section, value); 63 set => this.Set((int)IniLocatorTupleFields.Section, value);
64 } 64 }
65 65
66 public string Key 66 public string Key
67 { 67 {
68 get => (string)this.Fields[(int)IniLocatorTupleFields.Key]?.Value; 68 get => (string)this.Fields[(int)IniLocatorTupleFields.Key];
69 set => this.Set((int)IniLocatorTupleFields.Key, value); 69 set => this.Set((int)IniLocatorTupleFields.Key, value);
70 } 70 }
71 71
72 public int Field 72 public int Field
73 { 73 {
74 get => (int)this.Fields[(int)IniLocatorTupleFields.Field]?.Value; 74 get => (int)this.Fields[(int)IniLocatorTupleFields.Field];
75 set => this.Set((int)IniLocatorTupleFields.Field, value); 75 set => this.Set((int)IniLocatorTupleFields.Field, value);
76 } 76 }
77 77
78 public int Type 78 public int Type
79 { 79 {
80 get => (int)this.Fields[(int)IniLocatorTupleFields.Type]?.Value; 80 get => (int)this.Fields[(int)IniLocatorTupleFields.Type];
81 set => this.Set((int)IniLocatorTupleFields.Type, value); 81 set => this.Set((int)IniLocatorTupleFields.Type, value);
82 } 82 }
83 } 83 }